mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-06-01 00:18:07 +00:00
17 lines
825 B
Elixir
17 lines
825 B
Elixir
<?xml version="1.0" encoding="UTF-8"?>
|
|
<rss version="2.0"
|
|
xmlns:webfeeds="http://webfeeds.org/rss/1.0"
|
|
xmlns:thr="http://purl.org/syndication/thread/1.0">
|
|
<channel>
|
|
|
|
<title>#<%= @tag %></title>
|
|
<description><%= Gettext.dpgettext("static_pages", "tag feed description", "These are public toots tagged with #%{tag}. You can interact with them if you have an account anywhere in the fediverse.", tag: @tag) %></description>
|
|
<link><%= '#{Routes.tag_feed_url(@conn, :feed, @tag)}.rss' %></link>
|
|
<webfeeds:logo><%= feed_logo() %></webfeeds:logo>
|
|
<webfeeds:accentColor>2b90d9</webfeeds:accentColor>
|
|
<%= for activity <- @activities do %>
|
|
<%= render Phoenix.Controller.view_module(@conn), "_tag_activity.xml", Map.merge(assigns, prepare_activity(activity)) %>
|
|
<% end %>
|
|
</channel>
|
|
</rss>
|