aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_longitude/SPtests/rss/1.0/geo/long.php
blob: e7e6f302d019a7fbd6e75670b51e14b5dc49e857 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

class SimplePie_First_Item_Longitude_Test_RSS_10_Geo_Long extends SimplePie_First_Item_Longitude_Test
{
	function data()
	{
		$this->data = 
'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
	<item>
		<geo:lat>55.701</geo:lat>
		<geo:long>12.552</geo:long>
	</item>
</rdf:RDF>';
	}
	
	function expected()
	{
		$this->expected = 12.552;
	}
}

?>