aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/first_item_longitude/SPtests/rss/0.91-netscape/georss/point.php
diff options
context:
space:
mode:
Diffstat (limited to 'simplepie/test/first_item_longitude/SPtests/rss/0.91-netscape/georss/point.php')
-rw-r--r--simplepie/test/first_item_longitude/SPtests/rss/0.91-netscape/georss/point.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/simplepie/test/first_item_longitude/SPtests/rss/0.91-netscape/georss/point.php b/simplepie/test/first_item_longitude/SPtests/rss/0.91-netscape/georss/point.php
new file mode 100644
index 000000000..343651ec2
--- /dev/null
+++ b/simplepie/test/first_item_longitude/SPtests/rss/0.91-netscape/georss/point.php
@@ -0,0 +1,24 @@
+<?php
+
+class SimplePie_First_Item_Longitude_Test_RSS_091_Netscape_Georss_Point extends SimplePie_First_Item_Longitude_Test
+{
+ function data()
+ {
+ $this->data =
+'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
+<rss version="0.91" xmlns:georss="http://www.georss.org/georss">
+ <channel>
+ <item>
+ <georss:point>55.701 12.552</georss:point>
+ </item>
+ </channel>
+</rss>';
+ }
+
+ function expected()
+ {
+ $this->expected = 12.552;
+ }
+}
+
+?> \ No newline at end of file