aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_longitude/SPtests/rss/0.91-userland/geo/long.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_longitude/SPtests/rss/0.91-userland/geo/long.php')
-rw-r--r--simplepie/test/first_item_longitude/SPtests/rss/0.91-userland/geo/long.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/simplepie/test/first_item_longitude/SPtests/rss/0.91-userland/geo/long.php b/simplepie/test/first_item_longitude/SPtests/rss/0.91-userland/geo/long.php
new file mode 100644
index 000000000..19f92d20b
--- /dev/null
+++ b/simplepie/test/first_item_longitude/SPtests/rss/0.91-userland/geo/long.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Longitude_Test_RSS_091_Userland_Geo_Long extends SimplePie_First_Item_Longitude_Test
+{
+ function data()
+ {
+ $this->data =
+'<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 = 12.552;
+ }
+}
+
+?> \ No newline at end of file