1 |
41cc1b08
|
Assos Assos
|
<?php
|
2 |
|
|
|
3 |
|
|
class SimplePie_First_Item_Latitude_Test_RSS_091_Netscape_Geo_Lat extends SimplePie_First_Item_Latitude_Test
|
4 |
|
|
{
|
5 |
|
|
function data()
|
6 |
|
|
{
|
7 |
|
|
$this->data =
|
8 |
|
|
'<!DOCTYPE rss SYSTEM "http://my.netscape.com/publish/formats/rss-0.91.dtd">
|
9 |
|
|
<rss version="0.91" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#">
|
10 |
|
|
<channel>
|
11 |
|
|
<item>
|
12 |
|
|
<geo:lat>55.701</geo:lat>
|
13 |
|
|
<geo:long>12.552</geo:long>
|
14 |
|
|
</item>
|
15 |
|
|
</channel>
|
16 |
|
|
</rss>';
|
17 |
|
|
}
|
18 |
|
|
|
19 |
|
|
function expected()
|
20 |
|
|
{
|
21 |
|
|
$this->expected = 55.701;
|
22 |
|
|
}
|
23 |
|
|
}
|
24 |
|
|
|
25 |
|
|
?> |