diff options
Diffstat (limited to 'templates/feed_entry.xml')
-rw-r--r-- | templates/feed_entry.xml | 58 |
1 files changed, 27 insertions, 31 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml index 410a257..f8108f6 100644 --- a/templates/feed_entry.xml +++ b/templates/feed_entry.xml | |||
@@ -1,31 +1,27 @@ | |||
1 | $if(it.last_update)$ | 1 | <entry> |
2 | <entry> | 2 | <id>$it.url.full$</id> |
3 | <id>$it.url.full$</id> | 3 | <title><![CDATA[$it.title$]]></title> |
4 | <title><![CDATA[$it.title$]]></title> | 4 | <link href="$it.url.full$"/> |
5 | <link href="$it.url.full$"/> | 5 | <published>$it.date.rfc3339$</published> |
6 | $if(it.date)$ | 6 | <updated>$it.last_update.rfc3339$</updated> |
7 | <published>$it.date.rfc3339$</published> | 7 | $if(it.author)$ |
8 | $endif$ | 8 | $for(it.author)$ |
9 | <updated>$it.last_update.rfc3339$</updated> | 9 | <author> |
10 | $if(it.author)$ | 10 | <name>$it.name$</name> |
11 | $for(it.author)$ | 11 | $if(it.email)$ |
12 | <author> | 12 | <email>$it.email$</email> |
13 | <name>$it.name$</name> | 13 | $endif$ |
14 | $if(it.email)$ | 14 | </author> |
15 | <email>$it.email$</email> | 15 | $endfor$ |
16 | $endif$ | 16 | $else$ |
17 | </author> | 17 | $for(author)$ |
18 | $endfor$ | 18 | <author> |
19 | $else$ | 19 | <name>$author.name$</name> |
20 | $for(author)$ | 20 | $if(author.email)$ |
21 | <author> | 21 | <email>$author.email$</email> |
22 | <name>$author.name$</name> | 22 | $endif$ |
23 | $if(author.email)$ | 23 | </author> |
24 | <email>$author.email$</email> | 24 | $endfor$ |
25 | $endif$ | 25 | $endif$ |
26 | </author> | 26 | <content type="html"><![CDATA[$it.content$]]></content> |
27 | $endfor$ | 27 | </entry> |
28 | $endif$ | ||
29 | <content type="html"><![CDATA[$it.content$]]></content> | ||
30 | </entry> | ||
31 | $endif$ | ||