<?xml version="1.0"?>
<peers>
#(table)#::
#{list}#
  <peer>
    <hash>#[hash]#</hash>
    <fullname>#[fullname]#</fullname>
    <version>#[version]#</version>
    <ppm>#[ppm]#</ppm>
	<qph>#[qph]#</qph>
    <uptime>#[uptime]#</uptime>
    <links>#[LCount]#</links>
    <words>#[ICount]#</words>
    <rurls>#[RCount]#</rurls>
    <lastseen>#[lastSeen]#</lastseen>
    <sendWords>#[sI]#</sendWords>
    <receivedWords>#[rI]#</receivedWords>
    <sendURLs>#[sU]#</sendURLs>
    <receivedURLs>#[rU]#</receivedURLs>
    <type>#(type)#junior::senior::principal#(/type)#</type> 
    <direct>#(type_direct)#direct::passive#(/type_direct)#</direct> 
    <acceptcrawl>#[acceptcrawl]#</acceptcrawl>
    <dhtreceive>#[dhtreceive]#</dhtreceive>
    <nodestate>#(nodestate)#false::true#(/nodestate)#</nodestate>
    <location>#[location]#</location>
    <seedurl>#[type_url]#</seedurl>
    <age>#[age]#</age>
    <seeds>#[seeds]#</seeds>
    <connects>#[connects]#</connects>
    #{ips}#<ip>#(c)##[ip]#::#[ip]##(/c)#</ip>#{/ips}#
    #{ips}#<address>#(c)##(ipv6)#::[#(/ipv6)##[ip]##(ipv6)#::]#(/ipv6)#:#[port]#::#(/c)#</address>#{/ips}#
    <port>#[port]#</port>
    #(c)#::<useragent>#[userAgent]#</useragent>#(/c)#    
  </peer>
#{/list}#
::
  <history>
  #(active-switch)#::
    <month>0</month><week>0</week><day>#[last-day]#</day>::
    <month>0</month><week>#[last-week]#</week><day>#[last-day]#</day>::
    <month>#[last-month]#</month><week>#[last-week]#</week><day>#[last-day]#</day>
  #(/active-switch)#
  </history>
  <active>
    <count>#[active-count]#</count>
    <links>#[active-links]#</links>
    <words>#[active-words]#</words>
  </active>
  <passive>
    <count>#[passive-count]#</count>
    <links>#[passive-links]#</links>
    <words>#[passive-words]#</words>
  </passive>
  <potential>
    <count>#[potential-count]#</count>
    <links>#[potential-links]#</links>
    <words>#[potential-words]#</words>
  </potential>
  <all>
    <count>#[all-count]#</count>
    <links>#[all-links]#</links>
    <words>#[all-words]#</words>
  </all>
  <your>
    <name>#[my-name]#</name>
    <hash>#[my-hash]#</hash>
    <type>#(my-info)#virgin::junior::senior::principal#(/my-info)#</type>
    <version>#[my-version]#</version>
    <utc>#[my-utc]#</utc>
    <uptime>#[my-uptime]#</uptime>
    <links>#[my-LCount]#</links>
    <words>#[my-ICount]#</words> 
    <rurls>#[my-RCount]#</rurls> 
    <acceptcrawl>#[my-acceptcrawl]#</acceptcrawl>
    <acceptindex>#[my-dhtreceive]#</acceptindex>
    <nodestate>#[my-nodestate]#</nodestate>
    <sentwords>#[my-sI]#</sentwords>
    <senturls>#[my-sU]#</senturls>
    <receivedwords>#[my-rI]#</receivedwords>
    <receivedurls>#[my-rU]#</receivedurls>
    <ppm>#[my-ppm]#</ppm>
    <qph>#[my-qph]#</qph>
    <qph-publocal>#[my-qph-publocal]#</qph-publocal>
    <qph-pubremote>#[my-qph-pubremote]#</qph-pubremote>
    <seeds>#[my-seeds]#</seeds>
    <connects>#[my-connects]#</connects>
    <location>#[my-location]#</location>
    <seedurl>#[my-url]#</seedurl>
  </your>
  <cluster>
    <ppm>#[gppm]#</ppm>
    <qph>#[gqph]#</qph>
  </cluster>
#(/table)#
</peers>