summaryrefslogtreecommitdiffstats
path: root/templates/feed_entry.xml
diff options
context:
space:
mode:
authorVolpeon <git@volpeon.ink>2021-05-28 17:25:42 +0200
committerVolpeon <git@volpeon.ink>2021-05-28 17:25:42 +0200
commita8dca52ab169e7baa18d1fba9ab1cff2b2e820fc (patch)
treefaeb4c42f84c01a05bd3a324113fe85f5c3f3477 /templates/feed_entry.xml
parentBetter post date color in dark mode (diff)
downloadvolpeon.ink-a8dca52ab169e7baa18d1fba9ab1cff2b2e820fc.tar.gz
volpeon.ink-a8dca52ab169e7baa18d1fba9ab1cff2b2e820fc.tar.bz2
volpeon.ink-a8dca52ab169e7baa18d1fba9ab1cff2b2e820fc.zip
Use full URLs everywhere in ATOM feed
Diffstat (limited to 'templates/feed_entry.xml')
-rw-r--r--templates/feed_entry.xml10
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml
index 1c0302c..410a257 100644
--- a/templates/feed_entry.xml
+++ b/templates/feed_entry.xml
@@ -2,9 +2,11 @@ $if(it.last_update)$
2 <entry> 2 <entry>
3 <id>$it.url.full$</id> 3 <id>$it.url.full$</id>
4 <title><![CDATA[$it.title$]]></title> 4 <title><![CDATA[$it.title$]]></title>
5 <link href="$it.url.abs$"/> 5 <link href="$it.url.full$"/>
6 $if(it.date)$
7 <published>$it.date.rfc3339$</published>
8 $endif$
6 <updated>$it.last_update.rfc3339$</updated> 9 <updated>$it.last_update.rfc3339$</updated>
7 <content type="html"><![CDATA[$it.content$]]></content>
8 $if(it.author)$ 10 $if(it.author)$
9 $for(it.author)$ 11 $for(it.author)$
10 <author> 12 <author>
@@ -24,8 +26,6 @@ $if(it.last_update)$
24 </author> 26 </author>
25 $endfor$ 27 $endfor$
26 $endif$ 28 $endif$
27 $if(it.date)$ 29 <content type="html"><![CDATA[$it.content$]]></content>
28 <published>$it.date.rfc3339$</published>
29 $endif$
30 </entry> 30 </entry>
31$endif$ 31$endif$