mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
789c6b26ce
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
20 lines
642 B
XML
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)# |