aboutsummaryrefslogtreecommitdiffstats
path: root/view/xrd_host.tpl
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-23 16:33:34 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-23 16:33:34 -0700
commit89c15cc092048af2180452cbba24df273620aaba (patch)
tree4d54d86c6b28918463f10dcf609f211b892b9ec3 /view/xrd_host.tpl
parent938247427da4f6df421eadb3fe6d1718803bb201 (diff)
downloadvolse-hubzilla-89c15cc092048af2180452cbba24df273620aaba.tar.gz
volse-hubzilla-89c15cc092048af2180452cbba24df273620aaba.tar.bz2
volse-hubzilla-89c15cc092048af2180452cbba24df273620aaba.zip
added webfinger support
Diffstat (limited to 'view/xrd_host.tpl')
-rw-r--r--view/xrd_host.tpl11
1 files changed, 11 insertions, 0 deletions
diff --git a/view/xrd_host.tpl b/view/xrd_host.tpl
new file mode 100644
index 000000000..091c1541b
--- /dev/null
+++ b/view/xrd_host.tpl
@@ -0,0 +1,11 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'
+ xmlns:hm='http://host-meta.net/xrd/1.0'>
+
+ <hm:Host>$domain</hm:Host>
+
+ <Link rel='lrdd'
+ template='http://$domain/xrd/?uri={uri}'>
+ <Title>Resource Descriptor</Title>
+ </Link>
+</XRD>