diff options
author | Mike Macgirvin <mike@macgirvin.com> | 2010-07-23 16:33:34 -0700 |
---|---|---|
committer | Mike Macgirvin <mike@macgirvin.com> | 2010-07-23 16:33:34 -0700 |
commit | 89c15cc092048af2180452cbba24df273620aaba (patch) | |
tree | 4d54d86c6b28918463f10dcf609f211b892b9ec3 /view/xrd_person.tpl | |
parent | 938247427da4f6df421eadb3fe6d1718803bb201 (diff) | |
download | volse-hubzilla-89c15cc092048af2180452cbba24df273620aaba.tar.gz volse-hubzilla-89c15cc092048af2180452cbba24df273620aaba.tar.bz2 volse-hubzilla-89c15cc092048af2180452cbba24df273620aaba.zip |
added webfinger support
Diffstat (limited to 'view/xrd_person.tpl')
-rw-r--r-- | view/xrd_person.tpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/view/xrd_person.tpl b/view/xrd_person.tpl new file mode 100644 index 000000000..acf3c4cf4 --- /dev/null +++ b/view/xrd_person.tpl @@ -0,0 +1,17 @@ +<?xml version='1.0' encoding='UTF-8'?> +<XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> + + <Subject>$accturi</Subject> + <Alias>$profile_url</Alias> + + <Link rel='http://portablecontacts.net/spec/1.0' + href='http://example.com/api/people/' /> + <Link rel='http://webfinger.net/rel/profile-page' + type='text/html' + href='$profile_url' /> + <Link rel='http://microformats.org/profile/hcard' + type='text/html' + href='$profile_url' /> + <Link rel='http://webfinger.net/rel/avatar' + href='$photo' /> +</XRD> |