diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-05 03:34:42 -0700 |
commit | 9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch) | |
tree | 0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/first_item_longitude/SPtests/rss/1.0 | |
parent | f5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff) | |
download | volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2 volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip |
Add simplepie
Diffstat (limited to 'simplepie/test/first_item_longitude/SPtests/rss/1.0')
-rw-r--r-- | simplepie/test/first_item_longitude/SPtests/rss/1.0/geo/long.php | 22 | ||||
-rw-r--r-- | simplepie/test/first_item_longitude/SPtests/rss/1.0/georss/point.php | 21 |
2 files changed, 43 insertions, 0 deletions
diff --git a/simplepie/test/first_item_longitude/SPtests/rss/1.0/geo/long.php b/simplepie/test/first_item_longitude/SPtests/rss/1.0/geo/long.php new file mode 100644 index 000000000..e7e6f302d --- /dev/null +++ b/simplepie/test/first_item_longitude/SPtests/rss/1.0/geo/long.php @@ -0,0 +1,22 @@ +<?php + +class SimplePie_First_Item_Longitude_Test_RSS_10_Geo_Long extends SimplePie_First_Item_Longitude_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" 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 = 12.552; + } +} + +?>
\ No newline at end of file diff --git a/simplepie/test/first_item_longitude/SPtests/rss/1.0/georss/point.php b/simplepie/test/first_item_longitude/SPtests/rss/1.0/georss/point.php new file mode 100644 index 000000000..536381ece --- /dev/null +++ b/simplepie/test/first_item_longitude/SPtests/rss/1.0/georss/point.php @@ -0,0 +1,21 @@ +<?php + +class SimplePie_First_Item_Longitude_Test_RSS_10_Georss_Point extends SimplePie_First_Item_Longitude_Test +{ + function data() + { + $this->data = +'<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:georss="http://www.georss.org/georss"> + <item> + <georss:point>55.701 12.552</georss:point> + </item> +</rdf:RDF>'; + } + + function expected() + { + $this->expected = 12.552; + } +} + +?>
\ No newline at end of file |