aboutsummaryrefslogtreecommitdiffstats
path: root/view/xrd_host.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/xrd_host.tpl')
-rw-r--r--view/xrd_host.tpl21
1 files changed, 19 insertions, 2 deletions
diff --git a/view/xrd_host.tpl b/view/xrd_host.tpl
index f1d9707d5..dbb20256f 100644
--- a/view/xrd_host.tpl
+++ b/view/xrd_host.tpl
@@ -2,11 +2,28 @@
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'
xmlns:hm='http://host-meta.net/xrd/1.0'>
- <hm:Host>$zroot</hm:Host>
+ <hm:Host>$zhost</hm:Host>
<Link rel='lrdd' template='$domain/xrd/?uri={uri}' />
<Link rel='acct-mgmt' href='$domain/amcd' />
<Link rel='http://services.mozilla.com/amcd/0.1' href='$domain/amcd' />
<Link rel="http://oexchange.org/spec/0.8/rel/resident-target" type="application/xrd+xml"
- href="$domain/oexchange/xrd" />
+ href="$domain/oexchange/xrd" />
+
+ <Link rel="http://purl.org/zot/1.0/post"
+ href="$zot_post" />
+
+ <Property xmlns:zot="http://purl.og/zot/1.0"
+ type="http://purl.org/zot/1.0/version"
+ zot:version="1" />
+
+ <Property xmlns:zot="http://purl.og/zot/1.0"
+ type="http://purl.org/zot/1.0/accept"
+ zot:accept="application/atom+xml" />
+
+ <Property xmlns:mk="http://salmon-protocol.org/ns/magic-key"
+ type="http://salmon-protocol.org/ns/magic-key"
+ mk:key_id="1">$bigkey</Property>
+
+
</XRD>