summaryrefslogtreecommitdiffstats
path: root/templates/feed_entry.xml
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-26 09:39:23 +0200
committerVolpeon <git@volpeon.ink>2021-05-26 09:39:23 +0200
commit011e38d0175f69c8f902bfbc5676384f8b756eaf (patch)
tree09af9e014decf4e3cb487dcde226056fa8f4be14 /templates/feed_entry.xml
parentFeed: Skip entries without last_update (diff)
downloadvolpeon.ink-011e38d0175f69c8f902bfbc5676384f8b756eaf.tar.gz
volpeon.ink-011e38d0175f69c8f902bfbc5676384f8b756eaf.tar.bz2
volpeon.ink-011e38d0175f69c8f902bfbc5676384f8b756eaf.zip
Include content in ATOM feeds
Diffstat (limited to 'templates/feed_entry.xml')
-rw-r--r--templates/feed_entry.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml
index c9d8af5..1c0302c 100644
--- a/templates/feed_entry.xml
+++ b/templates/feed_entry.xml
@@ -1,9 +1,10 @@
1$if(it.last_update)$ 1$if(it.last_update)$
2 <entry> 2 <entry>
3 <id>$it.url.full$</id> 3 <id>$it.url.full$</id>
4 <title>$it.title$</title> 4 <title><![CDATA[$it.title$]]></title>
5 <link rel="alternate" href="$it.url.abs$"/> 5 <link href="$it.url.abs$"/>
6 <updated>$it.last_update.rfc3339$</updated> 6 <updated>$it.last_update.rfc3339$</updated>
7 <content type="html"><![CDATA[$it.content$]]></content>
7 $if(it.author)$ 8 $if(it.author)$
8 $for(it.author)$ 9 $for(it.author)$
9 <author> 10 <author>