forked from AkkomaGang/akkoma
FloatingGhost
6cb40bee26
Closes #612 Co-authored-by: tusooa <tusooa@kazv.moe> Reviewed-on: AkkomaGang/akkoma#626 Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk> Co-committed-by: FloatingGhost <hannah@coffee-and-dreams.uk>
23 lines
1.2 KiB
Elixir
23 lines
1.2 KiB
Elixir
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<feed xml:lang="<%= Gettext.language_tag() %>" xmlns="http://www.w3.org/2005/Atom"
|
|
xmlns:thr="http://purl.org/syndication/thread/1.0"
|
|
xmlns:georss="http://www.georss.org/georss"
|
|
xmlns:activity="http://activitystrea.ms/spec/1.0/"
|
|
xmlns:media="http://purl.org/syndication/atommedia"
|
|
xmlns:poco="http://portablecontacts.net/spec/1.0"
|
|
xmlns:ostatus="http://ostatus.org/schema/1.0"
|
|
xmlns:statusnet="http://status.net/schema/api/1/">
|
|
|
|
<id><%= '#{url(~p"/tags/#{@tag}")}.rss' %></id>
|
|
<title>#<%= @tag %></title>
|
|
|
|
<subtitle><%= 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) %></subtitle>
|
|
<logo><%= feed_logo() %></logo>
|
|
<updated><%= most_recent_update(@activities) %></updated>
|
|
<link rel="self" href="<%= '#{url(~p"/tags/#{@tag}")}.atom' %>" type="application/atom+xml"/>
|
|
<%= for activity <- @activities do %>
|
|
<%= render @view_module, "_tag_activity.atom", Map.merge(assigns, prepare_activity(activity, actor: true)) %>
|
|
<% end %>
|
|
</feed>
|