summaryrefslogtreecommitdiff
path: root/templates/rssitem.tmpl
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2021-05-22 09:58:11 +0300
committerLars Wirzenius <liw@liw.fi>2021-05-22 09:58:11 +0300
commit14f1a7b51beaf8ce8d0cc2d9f84b30c43a2a588c (patch)
treec424c6459eb335c1f7beddb0e46adbdb5ebf6b9c /templates/rssitem.tmpl
parent579c664e0dfd59de1a909fee1abc84cb9b237b46 (diff)
downloadvmadm.liw.fi-14f1a7b51beaf8ce8d0cc2d9f84b30c43a2a588c.tar.gz
chore: add ikiwiki styling
Diffstat (limited to 'templates/rssitem.tmpl')
-rw-r--r--templates/rssitem.tmpl28
1 files changed, 28 insertions, 0 deletions
diff --git a/templates/rssitem.tmpl b/templates/rssitem.tmpl
new file mode 100644
index 0000000..bb03ca5
--- /dev/null
+++ b/templates/rssitem.tmpl
@@ -0,0 +1,28 @@
+<item>
+ <title><TMPL_VAR TITLE></title>
+<TMPL_IF GUID>
+ <guid isPermaLink="false"><TMPL_VAR GUID></guid>
+<TMPL_ELSE>
+ <guid isPermaLink="false"><TMPL_VAR URL></guid>
+</TMPL_IF>
+ <link><TMPL_VAR PERMALINK></link>
+<TMPL_IF AUTHOR>
+ <dc:creator><TMPL_VAR AUTHOR ESCAPE=HTML></dc:creator>
+</TMPL_IF>
+<TMPL_IF CATEGORIES>
+<TMPL_LOOP CATEGORIES>
+ <category><TMPL_VAR CATEGORY></category>
+</TMPL_LOOP>
+</TMPL_IF>
+ <pubDate><TMPL_VAR CDATE_822></pubDate>
+ <dcterms:modified><TMPL_VAR MDATE_3339></dcterms:modified>
+<TMPL_IF ENCLOSURE>
+ <enclosure url="<TMPL_VAR ENCLOSURE>" type="<TMPL_VAR TYPE>" length="<TMPL_VAR LENGTH>" />
+</TMPL_IF>
+<TMPL_UNLESS SIMPLEPODCAST>
+ <description><TMPL_VAR CONTENT ESCAPE=HTML></description>
+</TMPL_UNLESS>
+<TMPL_IF COMMENTSURL>
+ <comments><TMPL_VAR COMMENTSURL></comments>
+</TMPL_IF>
+</item>