summaryrefslogtreecommitdiff
path: root/users/app/views/webfinger/search.xml.erb
blob: 27f26d1a505811f375be55d6b4acd3573ccbc354 (plain)
1
2
3
4
5
6
7
8
9
10
<?xml version="1.0" encoding="UTF-8"?>
<XRD xmlns="http://docs.oasis-open.org/ns/xri/xrd-1.0">
  <Subject><%= @presenter.subject %></Subject>
  <%- @presenter.aliases.each do |user_alias| %>
    <Alias>"<%= user_alias %>"</Alias>
  <% end %>
  <%- @presenter.links.each do |rel, link| %>
    <Link rel=<%=rel%> type=<%=link[:type]%> href="<%= link[:key] %>"/>
  <% end %>
</XRD>