mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
b51fd9467c
As described in mantis 725 (http://mantis.tokeek.de/view.php?id=725) the HostBrowser.xml api directory entries had incorrect count attribute value. This was because the HostBrowser html page and backing template servlet evolved, but modifications were not reported on the xml api.
32 lines
735 B
XML
32 lines
735 B
XML
<?xml version="1.0"?>
|
|
<hostbrowser>
|
|
#(hosts)#::
|
|
<hosts>
|
|
#{list}#
|
|
<host name="#[host]#" count="#[count]#" />
|
|
#{/list}#
|
|
</hosts>
|
|
#(/hosts)#
|
|
#(files)#::
|
|
<files>
|
|
#(root)#<up>#[path]#</up>::<root />#(/root)#
|
|
#{list}#
|
|
#(type)#<file path="#[url]#" stored="#(stored)#false::true#(/stored)#" />::<dir path="#[url]#" stored="#[stored]#" linked="#[linked]#" pending="#[pending]#" excluded="#[excluded]#" failed="#[failed]#" />#(/type)#
|
|
#{/list}#
|
|
</files>
|
|
#(/files)#
|
|
#(outbound)#::
|
|
<outbound>
|
|
#{list}#
|
|
<host name="#[host]#" count="#[count]#" />
|
|
#{/list}#
|
|
</outbound>
|
|
#(/outbound)#
|
|
#(inbound)#::
|
|
<inbound>
|
|
#{list}#
|
|
<host name="#[host]#" count="#[count]#" />
|
|
#{/list}#
|
|
</inbound>
|
|
#(/inbound)#
|
|
</hostbrowser> |