aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_latitude/SPtests/rss/0.90/geo/lat.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_latitude/SPtests/rss/0.90/geo/lat.php')
-rw-r--r--simplepie/test/first_item_latitude/SPtests/rss/0.90/geo/lat.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/simplepie/test/first_item_latitude/SPtests/rss/0.90/geo/lat.php b/simplepie/test/first_item_latitude/SPtests/rss/0.90/geo/lat.php
new file mode 100644
index 000000000..2881be89e
--- /dev/null
+++ b/simplepie/test/first_item_latitude/SPtests/rss/0.90/geo/lat.php
@@ -0,0 +1,22 @@
+<?php
+
+class SimplePie_First_Item_Latitude_Test_RSS_090_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://my.netscape.com/rdf/simple/0.9/" 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