2019-12-01 00:11:24 +01:00
|
|
|
<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
|
|
|
|
<rss version="2.0">
|
|
|
|
<channel>
|
|
|
|
<title>Derpibooru Watchlist</title>
|
|
|
|
<description>Your watched tags feed from Derpibooru</description>
|
2024-04-29 02:55:27 +02:00
|
|
|
<link><%= url(~p"/api/v1/rss/watched") %></link>
|
2019-12-01 00:11:24 +01:00
|
|
|
<lastBuildDate><%= last_build_date() %></lastBuildDate>
|
|
|
|
|
|
|
|
<%= for image <- @images do %>
|
|
|
|
<item>
|
2021-07-16 02:14:41 +02:00
|
|
|
<title>#<%= image.id %> - <%= tag_list(image) %></title>
|
2019-12-01 00:11:24 +01:00
|
|
|
<description>
|
|
|
|
<![CDATA[
|
2021-07-16 02:14:41 +02:00
|
|
|
<% mouseovertext = "Size: #{image.image_width}x#{image.image_height} | Tagged: #{tag_list(image)}" %>
|
2024-04-29 02:55:27 +02:00
|
|
|
<a href="<%= url(~p"/images/#{image}") %>">
|
2019-12-21 15:55:23 +01:00
|
|
|
<img src="<%= medium_url(image) %>" alt="<%= mouseovertext %>" title="<%= mouseovertext %>"/>
|
2019-12-01 00:11:24 +01:00
|
|
|
</a>
|
|
|
|
]]>
|
|
|
|
</description>
|
2021-01-18 19:01:03 +01:00
|
|
|
<pubDate><%= DateTime.to_iso8601(image.created_at) %></pubDate>
|
2024-04-29 02:55:27 +02:00
|
|
|
<link><%= url(~p"/images/#{image}") %></link>
|
|
|
|
<guid><%= url(~p"/images/#{image}") %></guid>
|
2019-12-01 00:11:24 +01:00
|
|
|
</item>
|
|
|
|
<% end %>
|
|
|
|
</channel>
|
|
|
|
</rss>
|