summaryrefslogtreecommitdiff
path: root/htroot/api/webstructure.xml
blob: 99a8f0b32689e87c0a4f2dfd17731d4d4c994985 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<?xml version="1.0"?>
<webstructure maxhosts="#[maxhosts]#">

#(out)#::
<!-- accumulated list of outgoing links to other domains (per host accumulated anchors)-->
<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)#::
<!-- accumulated list of incoming links from other domains (per host accumulated references)-->
<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)#

#(references)#::
<!-- detailed list of outgoing links (anchors) from documents to references -->
<anchors direction="out" count="#[count]#">
#{documents}#
<document id="#[hash]#" date="#[date]#" count="#[count]#">
  #(urle)#::<url>#[url]#</url>#(/urle)#
#{anchors}#
  <anchor id="#[hash]#" type="#(outbound)#inbound::outbound#(/outbound)#">#[url]#</anchor>
#{/anchors}#
</document>
#{/documents}#
</anchors>
#(/references)#

#(citations)#::
<!-- detailed list of incoming links (citations) from other documents (their references) - reverse link structure -->
<anchors direction="in" count="#[count]#">
#{documents}#
<document id="#[hash]#" date="#[date]#" count="#[count]#">
  #(urle)#::<url>#[url]#</url>#(/urle)#
#{anchors}#
  #(urle)#<anchor id="#[hash]#" date="#[date]#"/>::<anchor id="#[hash]#" date="#[date]#">#[url]#</anchor>#(/urle)#
#{/anchors}#
</document>
#{/documents}#
</anchors>
#(/citations)#

</webstructure>