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>
|
|
|
|
<link><%= Routes.api_rss_watched_url(@conn, :index) %></link>
|
|
|
|
<lastBuildDate><%= last_build_date() %></lastBuildDate>
|
|
|
|
|
|
|
|
<%= for image <- @images do %>
|
|
|
|
<item>
|
2020-01-10 18:43:56 +01:00
|
|
|
<title>#<%= image.id %> - <%= image.tag_list_cache %></title>
|
2019-12-01 00:11:24 +01:00
|
|
|
<description>
|
|
|
|
<![CDATA[
|
|
|
|
<% mouseovertext = "Size: #{image.image_width}x#{image.image_height} | Tagged: #{image.tag_list_cache}" %>
|
|
|
|
<a href="<%= Routes.image_url(@conn, :show, 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>
|
|
|
|
<pubDate><%= NaiveDateTime.to_iso8601(image.created_at) %></pubDate>
|
|
|
|
<link><%= Routes.image_url(@conn, :show, image) %></link>
|
|
|
|
<guid><%= Routes.image_url(@conn, :show, image) %></guid>
|
|
|
|
</item>
|
|
|
|
<% end %>
|
|
|
|
</channel>
|
|
|
|
</rss>
|