summaryrefslogtreecommitdiff
path: root/users/app/views/webfinger/host_meta.xml.erb
blob: cfcbcc0516bd186d26b40b04ddf6e87ccdfd7b41 (plain)
1
2
3
4
5
6
7
8
9
10
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>

  <%- @host_meta.links.each do |rel, link| %>
    <Link rel='<%= rel %>'
      type='<%= link[:type] %>'
      template='<%= link[:template] %>' />
  <%- end %>
  </XRD>