summaryrefslogtreecommitdiffstats
path: root/templates/feed_entry.xml
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-26 08:54:19 +0200
committerVolpeon <git@volpeon.ink>2021-05-26 08:54:19 +0200
commite3240a57eef6bf0afa193ae83ecd8c5cf627c72f (patch)
treef25393ecfb6f06de92715dc95aa1d0aeb74c4d30 /templates/feed_entry.xml
parentHide some profiles from home page (diff)
downloadvolpeon.ink-e3240a57eef6bf0afa193ae83ecd8c5cf627c72f.tar.gz
volpeon.ink-e3240a57eef6bf0afa193ae83ecd8c5cf627c72f.tar.bz2
volpeon.ink-e3240a57eef6bf0afa193ae83ecd8c5cf627c72f.zip
Category list improvements, generate ATOM feeds
Diffstat (limited to 'templates/feed_entry.xml')
-rw-r--r--templates/feed_entry.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml
new file mode 100644
index 0000000..f4c5d47
--- /dev/null
+++ b/templates/feed_entry.xml
@@ -0,0 +1,30 @@
1<entry>
2 <id>$it.url.abs$</id>
3 <title>$it.title$</title>
4 <link rel="alternate" href="$it.url.abs$"/>
5 $if(it.author)$
6 $for(it.author)$
7 <author>
8 <name>$it.name$</name>
9 $if(it.email)$
10 <email>$it.email$</email>
11 $endif$
12 </author>
13 $endfor$
14 $else$
15 $for(author)$
16 <author>
17 <name>$author.name$</name>
18 $if(author.email)$
19 <email>$author.email$</email>
20 $endif$
21 </author>
22 $endfor$
23 $endif$
24 $if(it.date)$
25 <published>$it.date.rfc3339$</published>
26 $endif$
27 $if(it.last_update)$
28 <updated>$it.last_update.rfc3339$</updated>
29 $endif$
30</entry>