mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-21 00:00:13 +02:00
71649a1296
webstructure.xml api. This api will respond with details about a single URL if requested with 'webstructure.xml?about=[url|urlhash|host]'.
37 lines
1.0 KiB
XML
37 lines
1.0 KiB
XML
<?xml version="1.0"?>
|
|
<webstructure maxhosts="#[maxhosts]#">
|
|
#(out)#::
|
|
<references direction="out" count="#[domains]#" maxref="#[maxref]#">
|
|
#{domains}#
|
|
<domain host="#[domain]#" id="#[hash]#" date="#[date]#">
|
|
#{citations}#
|
|
<reference id="#[refhash]#" count="#[refcount]#">#[refdom]#</reference>
|
|
#{/citations}#
|
|
</domain>
|
|
#{/domains}#
|
|
</references>
|
|
#(/out)#
|
|
#(in)#::
|
|
<references direction="in" count="#[domains]#">
|
|
#{domains}#
|
|
<domain host="#[domain]#" id="#[hash]#" date="#[date]#">
|
|
#{citations}#
|
|
<reference id="#[refhash]#" count="#[refcount]#">#[refdom]#</reference>
|
|
#{/citations}#
|
|
</domain>
|
|
#{/domains}#
|
|
</references>
|
|
#(/in)#
|
|
#(citations)#::
|
|
<citations count="#[anchors]#">
|
|
#{anchors}#
|
|
<anchor id="#[hash]#" date="#[date]#" count="#[citationscount]#">
|
|
#(urle)#::<url>#[url]#</url>#(/urle)#
|
|
#{citations}#
|
|
#(refurle)#<citation id="#[refhash]#" date="#[refdate]#"/>::<citation id="#[refhash]#" date="#[refdate]#">#[refurl]#</citation>#(/refurle)#
|
|
#{/citations}#
|
|
</anchor>
|
|
#{/anchors}#
|
|
</citations>
|
|
#(/citations)#
|
|
</webstructure> |