Let html photo view render for phones, get rid of duplicate host-meta view

This commit is contained in:
Raphael Sofaer 2011-08-09 15:36:59 -07:00
parent 58384f82c8
commit 09ac50aaac
3 changed files with 1 additions and 10 deletions

View file

@ -3,7 +3,7 @@
xmlns:hm='http://host-meta.net/xrd/1.0'> xmlns:hm='http://host-meta.net/xrd/1.0'>
<hm:Host><%= AppConfig[:pod_uri].authority %></hm:Host> <hm:Host><%= AppConfig[:pod_uri].authority %></hm:Host>
<Link rel='lrdd' <Link rel='lrdd'
template='<%= AppConfig[:pod_url].chomp("/") %>/webfinger?q={uri}'> template='<%= AppConfig[:pod_url] %>webfinger?q={uri}'>
<Title>Resource Descriptor</Title> <Title>Resource Descriptor</Title>
</Link> </Link>
</XRD> </XRD>

View file

@ -1,9 +0,0 @@
<?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_uri].authority %></hm:Host>
<Link rel='lrdd'
template='<%= AppConfig[:pod_url] %>webfinger?q={uri}'>
<Title>Resource Descriptor</Title>
</Link>
</XRD>