]> git.frykholm.com Git - friends.git/blobdiff - friends/templates/xrd.xml
webfinger mockup
[friends.git] / friends / templates / xrd.xml
diff --git a/friends/templates/xrd.xml b/friends/templates/xrd.xml
new file mode 100644 (file)
index 0000000..91da8de
--- /dev/null
@@ -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>{{hostname}}</hm:Host>
+    <Link rel='lrdd'
+          template='{{ url }}/user/{uri}'>
+        <Title>Resource Descriptor</Title>
+    </Link>
+</XRD>