diff options
Diffstat (limited to 'simplepie/test/first_item_latitude/SPtests/rss/0.91-netscape/geo')
-rw-r--r-- | simplepie/test/first_item_latitude/SPtests/rss/0.91-netscape/geo/lat.php | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/simplepie/test/first_item_latitude/SPtests/rss/0.91-netscape/geo/lat.php b/simplepie/test/first_item_latitude/SPtests/rss/0.91-netscape/geo/lat.php new file mode 100644 index 000000000..9dad031db --- /dev/null +++ b/simplepie/test/first_item_latitude/SPtests/rss/0.91-netscape/geo/lat.php @@ -0,0 +1,25 @@ +<?php + +class SimplePie_First_Item_Latitude_Test_RSS_091_Netscape_Geo_Lat extends SimplePie_First_Item_Latitude_Test +{ + function data() + { + $this->data = +'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd"> +<rss version="0.91" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#"> + <channel> + <item> + <geo:lat>55.701</geo:lat> + <geo:long>12.552</geo:long> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 55.701; + } +} + +?>
\ No newline at end of file |