diff options
Diffstat (limited to 'simplepie/test/first_item_latitude/SPtests/rss/0.92')
-rw-r--r-- | simplepie/test/first_item_latitude/SPtests/rss/0.92/geo/lat.php | 24 | ||||
-rw-r--r-- | simplepie/test/first_item_latitude/SPtests/rss/0.92/georss/point.php | 23 |
2 files changed, 47 insertions, 0 deletions
diff --git a/simplepie/test/first_item_latitude/SPtests/rss/0.92/geo/lat.php b/simplepie/test/first_item_latitude/SPtests/rss/0.92/geo/lat.php new file mode 100644 index 000000000..5c22e0278 --- /dev/null +++ b/simplepie/test/first_item_latitude/SPtests/rss/0.92/geo/lat.php @@ -0,0 +1,24 @@ +<?php + +class SimplePie_First_Item_Latitude_Test_RSS_092_Geo_Lat extends SimplePie_First_Item_Latitude_Test +{ + function data() + { + $this->data = +'<rss version="0.92" 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 diff --git a/simplepie/test/first_item_latitude/SPtests/rss/0.92/georss/point.php b/simplepie/test/first_item_latitude/SPtests/rss/0.92/georss/point.php new file mode 100644 index 000000000..70845a61c --- /dev/null +++ b/simplepie/test/first_item_latitude/SPtests/rss/0.92/georss/point.php @@ -0,0 +1,23 @@ +<?php + +class SimplePie_First_Item_Latitude_Test_RSS_092_Georss_Point extends SimplePie_First_Item_Latitude_Test +{ + function data() + { + $this->data = +'<rss version="0.92" xmlns:georss="http://www.georss.org/georss"> + <channel> + <item> + <georss:point>55.701 12.552</georss:point> + </item> + </channel> +</rss>'; + } + + function expected() + { + $this->expected = 55.701; + } +} + +?>
\ No newline at end of file |