diff options
Diffstat (limited to 'templates/feed.xml')
-rw-r--r-- | templates/feed.xml | 58 |
1 files changed, 27 insertions, 31 deletions
diff --git a/templates/feed.xml b/templates/feed.xml index 083049e..a968205 100644 --- a/templates/feed.xml +++ b/templates/feed.xml | |||
@@ -14,37 +14,33 @@ | |||
14 | </author> | 14 | </author> |
15 | $endfor$ | 15 | $endfor$ |
16 | 16 | ||
17 | $for(pages)$ | 17 | $for(pages.all_dated)$ |
18 | $for(it.all)$ | 18 | <entry> |
19 | $if(it.date)$ | 19 | <id>$it.url.full$</id> |
20 | <entry> | 20 | <title type="html"><![CDATA[$it.title$]]></title> |
21 | <id>$it.url.full$</id> | 21 | $if(it.author)$ |
22 | <title type="html"><![CDATA[$it.title$]]></title> | 22 | $for(it.author)$ |
23 | $if(it.author)$ | 23 | <author> |
24 | $for(it.author)$ | 24 | <name>$it.name$</name> |
25 | <author> | 25 | $if(it.email)$ |
26 | <name>$it.name$</name> | 26 | <email>$it.email$</email> |
27 | $if(it.email)$ | 27 | $endif$ |
28 | <email>$it.email$</email> | 28 | </author> |
29 | $endif$ | 29 | $endfor$ |
30 | </author> | 30 | $else$ |
31 | $endfor$ | 31 | $for(author)$ |
32 | $else$ | 32 | <author> |
33 | $for(author)$ | 33 | <name>$author.name$</name> |
34 | <author> | 34 | $if(author.email)$ |
35 | <name>$author.name$</name> | 35 | <email>$author.email$</email> |
36 | $if(author.email)$ | 36 | $endif$ |
37 | <email>$author.email$</email> | 37 | </author> |
38 | $endif$ | 38 | $endfor$ |
39 | </author> | ||
40 | $endfor$ | ||
41 | $endif$ | ||
42 | <link href="$it.url.full$"/> | ||
43 | <published>$it.date.rfc3339$</published> | ||
44 | <updated>$it.last_update.rfc3339$</updated> | ||
45 | <content type="html"><![CDATA[$it.content$]]></content> | ||
46 | </entry> | ||
47 | $endif$ | 39 | $endif$ |
48 | $endfor$ | 40 | <link href="$it.url.full$"/> |
41 | <published>$it.date.rfc3339$</published> | ||
42 | <updated>$it.last_update.rfc3339$</updated> | ||
43 | <content type="html"><![CDATA[$it.content$]]></content> | ||
44 | </entry> | ||
49 | $endfor$ | 45 | $endfor$ |
50 | </feed> | 46 | </feed> |