diff options
Diffstat (limited to 'view')
-rw-r--r-- | view/oexchange_xrd.tpl | 33 | ||||
-rw-r--r-- | view/xrd_host.tpl | 3 |
2 files changed, 35 insertions, 1 deletions
diff --git a/view/oexchange_xrd.tpl b/view/oexchange_xrd.tpl new file mode 100644 index 000000000..c7e6df498 --- /dev/null +++ b/view/oexchange_xrd.tpl @@ -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> + diff --git a/view/xrd_host.tpl b/view/xrd_host.tpl index fae70dec9..f843df31e 100644 --- a/view/xrd_host.tpl +++ b/view/xrd_host.tpl @@ -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> |