yacy_search_server/htroot/yacysearchitem.xml
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

53 lines
1.4 KiB
XML

#(content)#::<item>
<title>#[title-xml]#</title>
<link>#[link]#</link>
<description>#[description-xml]#</description>
<pubDate>#[date822]#</pubDate>
<dc:publisher><![CDATA[#[publisher]#]]></dc:publisher>
<dc:creator><![CDATA[#[creator]#]]></dc:creator>
<dc:subject><![CDATA[#[subject]#]]></dc:subject>
<yacy:size>#[size]#</yacy:size>
<yacy:sizename>#[sizename]#</yacy:sizename>
<yacy:host>#[host]#</yacy:host>
<yacy:path>#[path]#</yacy:path>
<yacy:file>#[file]#</yacy:file>
<guid isPermaLink="false">#[urlhash]#</guid>
</item>::
#(item)#::<item>
<title>#[name]#</title>
<link>#[source-xml]#</link>
<description></description>
<pubDate></pubDate>
<guid isPermaLink="false">#[urlhash]#</guid>
<yacy:host>#[sourcedom]#</yacy:host>
<media:group>
<media:content
url="#[href]#"
fileSize="#[fileSize]#"
type="#[mimetype]#"
medium="image"
isDefault="true"
expression="full"
height="#[width]#"
width="#[height]#" />
<media:content
url="#[hrefCache]#"
fileSize="#[fileSize]#"
type="#[mimetype]#"
medium="image"
isDefault="false"
expression="full"
height="#[width]#"
width="#[height]#" />
<media:content
url="/ViewImage.png?maxwidth=96&amp;maxheight=96&amp;code=#[code]#"
fileSize="#[fileSize]#"
type="#[mimetype]#"
medium="image"
isDefault="false"
expression="sample"
height="96"
width="96" />
</media:group>
</item>#(/item)#::
#(/content)#