diff options
author | Volpeon <git@volpeon.ink> | 2021-11-21 11:09:53 +0100 |
---|---|---|
committer | Volpeon <git@volpeon.ink> | 2021-11-21 11:09:53 +0100 |
commit | 09a389abc83f06c52301108307b1bb566523c276 (patch) | |
tree | b1831b0e4150fe3a02725a4a7f9f28a7026a4bf4 /templates/feed_entry.xml | |
parent | Add arrow to list category title (diff) | |
download | volpeon.ink-09a389abc83f06c52301108307b1bb566523c276.tar.gz volpeon.ink-09a389abc83f06c52301108307b1bb566523c276.tar.bz2 volpeon.ink-09a389abc83f06c52301108307b1bb566523c276.zip |
Add category info to ATOM feeds
Diffstat (limited to 'templates/feed_entry.xml')
-rw-r--r-- | templates/feed_entry.xml | 52 |
1 files changed, 25 insertions, 27 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index f8108f6..03d6569 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml | |||
@@ -1,27 +1,25 @@ | |||
1 | <entry> | 1 | <id>$it.url.full$</id> |
2 | <id>$it.url.full$</id> | 2 | <title><![CDATA[$it.title$]]></title> |
3 | <title><![CDATA[$it.title$]]></title> | 3 | <link href="$it.url.full$"/> |
4 | <link href="$it.url.full$"/> | 4 | <published>$it.date.rfc3339$</published> |
5 | <published>$it.date.rfc3339$</published> | 5 | <updated>$it.last_update.rfc3339$</updated> |
6 | <updated>$it.last_update.rfc3339$</updated> | 6 | $if(it.author)$ |
7 | $if(it.author)$ | 7 | $for(it.author)$ |
8 | $for(it.author)$ | 8 | <author> |
9 | <author> | 9 | <name>$it.name$</name> |
10 | <name>$it.name$</name> | 10 | $if(it.email)$ |
11 | $if(it.email)$ | 11 | <email>$it.email$</email> |
12 | <email>$it.email$</email> | 12 | $endif$ |
13 | $endif$ | 13 | </author> |
14 | </author> | 14 | $endfor$ |
15 | $endfor$ | 15 | $else$ |
16 | $else$ | 16 | $for(author)$ |
17 | $for(author)$ | 17 | <author> |
18 | <author> | 18 | <name>$author.name$</name> |
19 | <name>$author.name$</name> | 19 | $if(author.email)$ |
20 | $if(author.email)$ | 20 | <email>$author.email$</email> |
21 | <email>$author.email$</email> | 21 | $endif$ |
22 | $endif$ | 22 | </author> |
23 | </author> | 23 | $endfor$ |
24 | $endfor$ | 24 | $endif$ |
25 | $endif$ | 25 | <content type="html"><![CDATA[$it.content$]]></content> |
26 | <content type="html"><![CDATA[$it.content$]]></content> | ||
27 | </entry> | ||