mirror of
https://github.com/friendica/friendica
synced 2025-12-16 21:41:05 +01:00
added webfinger support
This commit is contained in:
parent
938247427d
commit
89c15cc092
5 changed files with 65 additions and 0 deletions
17
view/xrd_person.tpl
Normal file
17
view/xrd_person.tpl
Normal file
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue