diff options
author | Azul <azul@leap.se> | 2013-01-22 15:46:47 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-01-22 15:46:47 +0100 |
commit | 31d18779fe1af0c55b72be7bc554302322025ee5 (patch) | |
tree | dcb22beb288851ea645e9e462711f61ce6a697e8 /users/app/views/webfinger/search.xml.erb | |
parent | 0d1da13914675790daaf8def26f27017bf2d2a44 (diff) |
adding json jrd responses to webfinger
Diffstat (limited to 'users/app/views/webfinger/search.xml.erb')
-rw-r--r-- | users/app/views/webfinger/search.xml.erb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/users/app/views/webfinger/search.xml.erb b/users/app/views/webfinger/search.xml.erb new file mode 100644 index 0000000..0bcb7e5 --- /dev/null +++ b/users/app/views/webfinger/search.xml.erb @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0"> + <Subject>acct:<%= @subject.email_identifier %></Subject> + <Alias>"<%= user_url(@subject.subject) %>"</Alias> + <Link rel="public-key" type = 'PGP' href="<%= @subject.key %>"/> +</XRD> |