1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-11 13:19:01 +09:00
YuruToot/app/views/well_known/host_meta/show.xml.ruby

6 lines
204 B
Plaintext
Raw Normal View History

2016-02-23 00:00:20 +09:00
Nokogiri::XML::Builder.new do |xml|
xml.XRD(xmlns: 'http://docs.oasis-open.org/ns/xri/xrd-1.0') do
xml.Link(rel: 'lrdd', type: 'application/xrd+xml', template: @webfinger_template)
end
end.to_xml