-
Notifications
You must be signed in to change notification settings - Fork 21
/
feed-template.xml
32 lines (31 loc) · 1.08 KB
/
feed-template.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>$feed.title$</title>
<subtitle>$feed.subtitle$</subtitle>
<link rel="alternate" type="text/html" href="$canonical$" />
<link rel="self" type="application/atom+xml" href="$canonical$$feed.file$" />
<id>$feed.id-prefix$</id>
$if(feed.updated)$<updated>$feed.updated$</updated>$endif$
<author>
<name>$feed.author-name$</name>
<email>$feed.author-email$</email>
</author>
$for(entry)$
<entry>
<title>$entry.title$</title>
<link rel="alternate" type="text/html" href="$if(entry.link)$$entry.link$$else$$canonical$$entry.id$$endif$" />
<id>$feed.id-prefix$$entry.id$</id>
<published>$entry.published$</published>
<updated>$if(entry.updated)$$entry.updated$$else$$entry.published$$endif$</updated>
<author>
<name>$entry.author-name$</name>
</author>
$for(entry.category)$<category term="$entry.category$" />$endfor$
<content type="html" xml:lang="en" xml:base="$canonical$">
<![CDATA[
$entry.body-holder$
]]>
</content>
</entry>
$endfor$
</feed>