/
rss.ctml
29 lines (29 loc) · 1014 Bytes
/
rss.ctml
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
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0">
<channel>
<title lquery="(text title)">TITLE</title>
<description lquery="(text description)">
DESCRIPTION
</description>
<lastBuildDate lquery="(text (reader::format-rfc822 updated))">DATE</lastBuildDate>
<link lquery='(text (resolve-uri "reader/"))'/>
<generator>
radiance-reader
</generator>
<c:splice iterate="articles">
<item>
<title lquery="(text title)">TITLE</title>
<link lquery='(text (resolve-uri "reader/article/{0}" _id))'/>
<guid lquery="(text _id)">ID</guid>
<pubDate lquery="(text (reader::format-rfc822 time))">TIME</pubDate>
<author lquery="(text author)">AUTHOR</author>
<description lquery="(text (reader::article-excerpt *))">
EXCERPT
</description>
<content:encoded lquery="(text (reader::article-content *))">
CONTENT
</content:encoded>
</item>
</c:splice>
</channel>
</rss>