yacy_search_server/htroot/yacysearchitem.json
orbiter f0651e5f2f added image search to yacyinteractive.html
this causes that the search result view switches from list format to image preview format when a search is restricted to png, gif or jpg documents

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7358 6c8d7289-2bf4-0310-a012-ef5d649a1542
2010-12-01 18:48:21 +00:00

30 lines
802 B
JSON

#(content)#::#(nl)#:: ,#(/nl)#
{
"title": "#[title-json]#",
"link": "#[link]#",
"code": "#[code]#",
"description": "#[description-json]#",
"pubDate": "#[date822]#",
"size": "#[size]#",
"sizename": "#[sizename]#",
"guid": "#[urlhash]#",
"faviconCode": "#[faviconCode]#",
"host": "#[host]#",
"path": "#[path]#",
"file": "#[file]#"
}::#(item)#::#(nl)#:: ,#(/nl)#
{
"title": "#[name]#",
"icon": "/ViewImage.png?maxwidth=96&maxheight=96&code=#[code]#",
"image": "#[href]#",
"cache": "#[hrefCache]#",
"url": "#[source]#",
"urlhash": "#[urlhash]#",
"host": "#[sourcedom]#",
"width": "#[width]#",
"height": "#[height]#"
}#(/item)#::
::
::
::
#(/content)#