Switch to aliasing `Router.Helpers` instead of importing
[akkoma] / lib / pleroma / web / templates / feed / feed / tag.atom.eex
1 <?xml version="1.0" encoding="UTF-8"?>
2
3 <feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom"
4 xmlns:thr="http://purl.org/syndication/thread/1.0"
5 xmlns:georss="http://www.georss.org/georss"
6 xmlns:activity="http://activitystrea.ms/spec/1.0/"
7 xmlns:media="http://purl.org/syndication/atommedia"
8 xmlns:poco="http://portablecontacts.net/spec/1.0"
9 xmlns:ostatus="http://ostatus.org/schema/1.0"
10 xmlns:statusnet="http://status.net/schema/api/1/">
11
12 <id><%= '#{Routes.tag_feed_url(@conn, :feed, @tag)}.rss' %></id>
13 <title>#<%= @tag %></title>
14
15 <subtitle>These are public toots tagged with #<%= @tag %>. You can interact with them if you have an account anywhere in the fediverse.</subtitle>
16 <logo><%= feed_logo() %></logo>
17 <updated><%= most_recent_update(@activities) %></updated>
18 <link rel="self" href="<%= '#{Routes.tag_feed_url(@conn, :feed, @tag)}.atom' %>" type="application/atom+xml"/>
19 <%= for activity <- @activities do %>
20 <%= render @view_module, "_tag_activity.atom", Map.merge(assigns, prepare_activity(activity, actor: true)) %>
21 <% end %>
22 </feed>