diff options
Diffstat (limited to 'simplepie/test/first_item_latitude/SPtests/rss/1.0/geo/lat.php')
-rw-r--r-- | simplepie/test/first_item_latitude/SPtests/rss/1.0/geo/lat.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/simplepie/test/first_item_latitude/SPtests/rss/1.0/geo/lat.php b/simplepie/test/first_item_latitude/SPtests/rss/1.0/geo/lat.php new file mode 100644 index 000000000..bfe8aaedf --- /dev/null +++ b/simplepie/test/first_item_latitude/SPtests/rss/1.0/geo/lat.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_First_Item_Latitude_Test_RSS_10_Geo_Lat extends SimplePie_First_Item_Latitude_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 = 55.701; + } +} + +?>
\ No newline at end of file |