KML feeds xml updated (thumnnail URL)

4 views
Skip to first unread message

barryhunter

unread,
Dec 14, 2006, 12:10:38 PM12/14/06
to Geograph-API-Users
This is the sort of thing I created this group for, but forgot to send
a message!

Anyway, anybody using the KML feeds (in particular parsing the info out
of them), should note that we now create proper KML, the way we where
defining the Icon thumbnail was incorrect (but GE3 and GE4 coped fine).


Was:

<Style>
<icon>http://www.whatever.com/picture.jpg</icon>
</Style>

Now is:

<Style>
<IconStyle>
<Icon>
<href>http://www.whatever.com/picture.jpg</href>
</Icon>
</IconStyle>
</Style>

so some regular expressions might need updating.

It also means the Google Maps can correctly display our feeds:
http://maps.google.co.uk/maps?q=http://www.geograph.org.uk/feed/recent/KML

(thanks to Adam from gpsvisualizer.com for noticing this :)

Sorry for the inconvenience!

Barry
Geograph Bod

Reply all
Reply to author
Forward
0 new messages