]> git.mxchange.org Git - friendica.git/blob - simplepie/test/first_item_longitude/SPtests/rss/1.0/geo/long.php
Add simplepie
[friendica.git] / simplepie / test / first_item_longitude / SPtests / rss / 1.0 / geo / long.php
1 <?php
2
3 class SimplePie_First_Item_Longitude_Test_RSS_10_Geo_Long extends SimplePie_First_Item_Longitude_Test
4 {
5         function data()
6         {
7                 $this->data = 
8 '<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#">
9         <item>
10                 <geo:lat>55.701</geo:lat>
11                 <geo:long>12.552</geo:long>
12         </item>
13 </rdf:RDF>';
14         }
15         
16         function expected()
17         {
18                 $this->expected = 12.552;
19         }
20 }
21
22 ?>