2020-01-24 20:08:10 +01:00
< ?x ml version = " 1.0 " encoding = " UTF-8 " ?>
2022-02-28 07:28:23 +01:00
< feed xml :lang = " <%= Gettext.language_tag() %> " xmlns = " http://www.w3.org/2005/Atom "
2020-01-24 20:08:10 +01:00
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/ " >
2021-05-19 00:11:25 +02:00
< id > < % = ' #{ Routes . tag_feed_url ( @conn , :feed , @tag ) } .rss ' % > < / id >
2020-01-24 20:08:10 +01:00
< title > #<%= @tag %></title>
2022-02-28 07:13:39 +01:00
< 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 >
2020-01-24 20:08:10 +01:00
< logo > < % = feed_logo ( ) % > < / logo >
< updated > < % = most_recent_update ( @activities ) % > < / updated >
2021-05-19 00:11:25 +02:00
< link rel = " self " href = " <%= ' #{ Routes . tag_feed_url ( @conn , :feed , @tag ) } .atom' %> " type = " application/atom+xml " / >
2020-01-24 20:08:10 +01:00
< % = for activity <- @activities do % >
< % = render @view_module , " _tag_activity.atom " , Map . merge ( assigns , prepare_activity ( activity , actor : true ) ) % >
< % end % >
< / feed >