- changed json and rss response templates git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6019 6c8d7289-2bf4-0310-a012-ef5d649a1542pull/1/head
parent
15fad767c0
commit
1c77db670f
@ -1,13 +1,28 @@
|
||||
"topwords": [
|
||||
#{words}#
|
||||
{ "word": "#[word]#" }#(nl)#::,#(/nl)#
|
||||
#{/words}#
|
||||
],
|
||||
#(navigation)#
|
||||
::
|
||||
"domains": [
|
||||
#{domains}#
|
||||
{ "domain": "#[domain-json]#" }#(nl)#::,#(/nl)#
|
||||
#{/domains}#
|
||||
]
|
||||
#(/navigation)#
|
||||
"navigation": [#(nav-domains)#::
|
||||
{
|
||||
"facetname": "domains",
|
||||
"displayname": "Domains",
|
||||
"type": "String",
|
||||
"min": "0",
|
||||
"max": "0",
|
||||
"mean": "0",
|
||||
"elements": [
|
||||
#{element}#
|
||||
{"name": "#[name]#", "count": "#[count]#", "modifier": "#[modifier]#", "url": "#[url-json]#"}#(nl)#::,#(/nl)#
|
||||
#{/element}#
|
||||
]
|
||||
},#(/nav-domains)##(nav-topics)#::
|
||||
{
|
||||
"facetname": "topwords",
|
||||
"displayname": "Topics",
|
||||
"type": "String",
|
||||
"min": "0",
|
||||
"max": "0",
|
||||
"mean": "0",
|
||||
"elements": [
|
||||
#{element}#
|
||||
{"name": "#[name]#", "count": "#[count]#", "modifier": "#[modifier]#", "url": "#[url-json]#"}#(nl)#::,#(/nl)#
|
||||
#{/element}#
|
||||
]
|
||||
}#(/nav-topics)#
|
||||
]
|
@ -1,5 +1,17 @@
|
||||
<yacy:topwords>
|
||||
#{words}#
|
||||
<yacy:item>#[word]#</yacy:item>
|
||||
#{/words}#
|
||||
</yacy:topwords>
|
||||
<yacy:navigation>
|
||||
#(nav-domains)#::
|
||||
<yacy:facet name="domains" displayname="Domains" type="String" min="0" max="0" mean="0">
|
||||
#{element}#
|
||||
<yacy:element name="#[name]#" count="#[count]#" modifier="#[modifier]#" />
|
||||
#{/element}#
|
||||
</yacy:facet>
|
||||
#(/nav-domains)#
|
||||
#(nav-topics)#::
|
||||
<yacy:facet name="topwords" displayname="Topics" type="String" min="0" max="0" mean="0">
|
||||
#{element}#
|
||||
<yacy:element name="#[name]#" count="#[count]#" modifier="#[modifier]#" />
|
||||
#{/element}#
|
||||
</yacy:facet>
|
||||
#(/nav-topics)#
|
||||
</yacy:navigation>
|
||||
|
||||
|
Loading…
Reference in new issue