Merge pull request #2935 from Raven24/host-meta

adapt host-meta document to RFC 6415
This commit is contained in:
Maxwell Salzberg 2012-02-25 17:11:06 -08:00
commit c85e2a9b5d

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>