yacy_search_server/htroot/yacysearch_location.kml
orbiter 789c6b26ce added a location search service: using the following servlet/example:
http://localhost:8080/yacysearch_location.kml?query=berlin&maximumTime=2000&maximumRecords=100

This will open any application that can consume kml data (which will probably be google earth) on your computer and displays the search result as positions on a map


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6865 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-05-11 12:58:05 +00:00

20 lines
642 B
XML

#(kml)#::<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
<Document>
#{placemark}#
<Placemark>
<name>#[name]#</name>
<description><![CDATA[<p>Location: #[location]#</p><p>Author: #[author]#</p><p>Publisher: #[copyright]#</p><p>Subject: #[subject]#</p><p>Abstract: #[description]#</p><p>Source: <a href="#[url]#">#[url]#</a></p>]]></description>
#{point}#
<Point>
<name>#[name]#</name>
<coordinates>#[lon]#,#[lat]#</coordinates>
</Point>
#{/point}#
<TimeStamp>
<when>#[date]#</when>
</TimeStamp>
</Placemark>
#{/placemark}#
</Document>
</kml>#(/kml)#