adapt host-meta document to RFC 6415

This commit is contained in:
Florian Staudacher 2012-02-25 16:56:34 +01:00
parent 81141958a3
commit 6a9a0e61f9

View file

@ -1,9 +1,10 @@
<?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><%= AppConfig[:pod_bare_domain] %></hm:Host>
<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'>
<!-- Resource-specific Information -->
<Link rel='lrdd'
template='<%= AppConfig[:pod_url] %>webfinger?q={uri}'>
<Title>Resource Descriptor</Title>
</Link>
type='application/xrd+xml'
template='<%= AppConfig[:pod_url] %>webfinger?q={uri}' />
</XRD>