oexchange

This commit is contained in:
Friendika 2011-03-29 21:59:28 -07:00
parent 8357c064ae
commit 4aa60a7aaf
5 changed files with 95 additions and 4 deletions

33
view/oexchange_xrd.tpl Normal file
View file

@ -0,0 +1,33 @@
<?xml version='1.0' encoding='UTF-8'?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
<Subject>$base</Subject>
<Property
type="http://www.oexchange.org/spec/0.8/prop/vendor">Friendika</Property>
<Property
type="http://www.oexchange.org/spec/0.8/prop/title">Friendika Social Network</Property>
<Property
type="http://www.oexchange.org/spec/0.8/prop/name">Friendika</Property>
<Property
type="http://www.oexchange.org/spec/0.8/prop/prompt">Send to Friendika</Property>
<Link
rel="icon"
href="$base/images/friendika-16.png"
type="image/png"
/>
<Link
rel="icon32"
href="$base/images/friendika-32.png"
type="image/png"
/>
<Link
rel= "http://www.oexchange.org/spec/0.8/rel/offer"
href="$base/oexchange"
type="text/html"
/>
</XRD>

View file

@ -7,5 +7,6 @@
<Link rel='lrdd' template='http://$domain/xrd/?uri={uri}' />
<Link rel='acct-mgmt' href='http://$domain/amcd' />
<Link rel='http://services.mozilla.com/amcd/0.1' href='http://$domain/amcd' />
<Link rel="http://oexchange.org/spec/0.8/rel/resident-target" type="application/xrd+xml"
href="http://$domain/oexchange/xrd" />
</XRD>