diff options
Diffstat (limited to 'view/tpl/xrd_person.tpl')
-rwxr-xr-x | view/tpl/xrd_person.tpl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/view/tpl/xrd_person.tpl b/view/tpl/xrd_person.tpl new file mode 100755 index 000000000..93fdcb1df --- /dev/null +++ b/view/tpl/xrd_person.tpl @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="UTF-8"?> +<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> + + <Subject>{{$accturi}}</Subject> + {{if $aliases}}{{foreach $aliases as $a}} + <Alias>{{$a}}</Alias> + {{/foreach}}{{/if}} + + <Link rel="http://schemas.google.com/g/2010#updates-from" + type="application/atom+xml" + href="{{$atom}}" /> + <Link rel="http://webfinger.net/rel/profile-page" + type="text/html" + href="{{$profile_url}}" /> + <Link rel="http://portablecontacts.net/spec/1.0" + href="{{$poco_url}}" /> + <Link rel="http://webfinger.net/rel/avatar" + type="image/jpeg" + href="{{$photo}}" /> + <Link rel="http://microformats.org/profile/hcard" + type="text/html" + href="{{$hcard_url}}" /> + <Link rel="http://ostatus.org/schema/1.0/subscribe" + template="{{$subscribe}}" /> + + <Link rel="magic-public-key" + href="{{$modexp}}" /> + + {{$dspr}} + +</XRD> |