mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
7f395ef937
This should be a help to make a preview of search results. The image is computed from the list of embedded images, it is always the first image in that list. In rss-type results the image is presented like <media:content medium="image" url="https://abc.xyz/logo.png"/> as defined in http://www.rssboard.org/media-rss#media-content
34 lines
999 B
JSON
34 lines
999 B
JSON
#(content)#::#(nl)#:: ,#(/nl)#
|
|
{
|
|
"title": "#[title-json]#",
|
|
"link": "#[link]#",
|
|
"code": "#[code]#",
|
|
"description": "#[description-json]#",
|
|
"pubDate": "#[date822]#",
|
|
#(image)#::"image": "#[url]#",#(/image)#
|
|
#(showEvent)#::"eventDate": "#[date822]#",#(/showEvent)#
|
|
"size": "#[size]#",
|
|
"sizename": "#[sizename]#",
|
|
"guid": "#[urlhash]#",
|
|
#(favicon)#::"faviconUrl": "#[faviconUrl]#",#(/favicon)#
|
|
"host": "#[host]#",
|
|
"path": "#[path]#",
|
|
"file": "#[file]#",
|
|
"urlhash": "#[urlhash]#",
|
|
"ranking": "#[ranking]#"
|
|
}::#(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)# |