diff options
author | Azul <azul@leap.se> | 2013-01-22 16:45:01 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-01-22 16:45:01 +0100 |
commit | 40edf176142bd6092f13bd9f9fb72a2c69d4b052 (patch) | |
tree | 918ac6315214f980cc3672b19ac7e6c82cc2306d /users/app/views/webfinger/host_meta.xml.erb | |
parent | 493dea794285f0874a9235fe14e4350bd53c2a9f (diff) |
fixing xml and adding json representation for host_meta
Diffstat (limited to 'users/app/views/webfinger/host_meta.xml.erb')
-rw-r--r-- | users/app/views/webfinger/host_meta.xml.erb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/users/app/views/webfinger/host_meta.xml.erb b/users/app/views/webfinger/host_meta.xml.erb new file mode 100644 index 0000000..37c9d1e --- /dev/null +++ b/users/app/views/webfinger/host_meta.xml.erb @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> + <XRD xmlns='http://docs.oasis-open.org/ns/xri/xrd-1.0'> + + <Subject><%= @host_meta.subject %></Subject> + + + <Link rel='lrdd' + type='application/xrd+xml' + template='<%= @host_meta.webfinger_template %>' /> + + </XRD> |