summaryrefslogtreecommitdiff
path: root/comic/templates/comic_feed.xml.j2
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2025-12-23 17:39:29 +0100
committerBotond Hende <nettingman@gmail.com>2025-12-23 17:39:29 +0100
commita365cbec827ad44e196c62558272e723e3a3b564 (patch)
tree8655728428e2eaffd7c58b5c265c06a46c5d8560 /comic/templates/comic_feed.xml.j2
parent7308b658153e089456dd1b5ad691ff8db19088cd (diff)
comic page, other than buttons, finished
Diffstat (limited to 'comic/templates/comic_feed.xml.j2')
-rw-r--r--comic/templates/comic_feed.xml.j224
1 files changed, 24 insertions, 0 deletions
diff --git a/comic/templates/comic_feed.xml.j2 b/comic/templates/comic_feed.xml.j2
new file mode 100644
index 0000000..eeb177d
--- /dev/null
+++ b/comic/templates/comic_feed.xml.j2
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<rss version="2.0">
+<channel>
+ <title>{{ comic.comic_name }}</title>
+ <link>https://comic.wazul.moe/feed.xml</link>
+ <description>Silly comic ideas by Wazul</description>
+ <language>en</language>
+ <lastBuildDate>{{ build_date }}</lastBuildDate>
+ {% for issue in issues %}
+ <item>
+ <title>{{ issue.title() }}</title>
+ <link>{{ issue.get_link() }}</link>
+ <description>
+ &lt;img src="{{ issue.get_link() }}/comic.png"/&gt;
+ &lt;br&gt;
+ &lt;p&gt;{{ issue.description() }}&lt;/p&gt;
+ </description>
+ <guid>{{ issue.get_link() }}</guid>
+ <author>contact@wazul.moe</author>
+ <pubDate>{{ issue.get_publish_time_rfc2822() }}</pubDate>
+ </item>
+ {% endfor %}
+ </channel>
+</rss> \ No newline at end of file