summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--templates/feed_entry.xml58
1 files changed, 29 insertions, 29 deletions
diff --git a/templates/feed_entry.xml b/templates/feed_entry.xml
index df44661..c9d8af5 100644
--- a/templates/feed_entry.xml
+++ b/templates/feed_entry.xml
@@ -1,30 +1,30 @@
1<entry> 1$if(it.last_update)$
2 <id>$it.url.full$</id> 2 <entry>
3 <title>$it.title$</title> 3 <id>$it.url.full$</id>
4 <link rel="alternate" href="$it.url.abs$"/> 4 <title>$it.title$</title>
5 $if(it.author)$ 5 <link rel="alternate" href="$it.url.abs$"/>
6 $for(it.author)$
7 <author>
8 <name>$it.name$</name>
9 $if(it.email)$
10 <email>$it.email$</email>
11 $endif$
12 </author>
13 $endfor$
14 $else$
15 $for(author)$
16 <author>
17 <name>$author.name$</name>
18 $if(author.email)$
19 <email>$author.email$</email>
20 $endif$
21 </author>
22 $endfor$
23 $endif$
24 $if(it.date)$
25 <published>$it.date.rfc3339$</published>
26 $endif$
27 $if(it.last_update)$
28 <updated>$it.last_update.rfc3339$</updated> 6 <updated>$it.last_update.rfc3339$</updated>
29 $endif$ 7 $if(it.author)$
30</entry> 8 $for(it.author)$
9 <author>
10 <name>$it.name$</name>
11 $if(it.email)$
12 <email>$it.email$</email>
13 $endif$
14 </author>
15 $endfor$
16 $else$
17 $for(author)$
18 <author>
19 <name>$author.name$</name>
20 $if(author.email)$
21 <email>$author.email$</email>
22 $endif$
23 </author>
24 $endfor$
25 $endif$
26 $if(it.date)$
27 <published>$it.date.rfc3339$</published>
28 $endif$
29 </entry>
30$endif$