]> git.phdru.name Git - phdru.name/phdru.name.git/blob - rss_20.tmpl
Fix(phd.py): Change URL for Lurk
[phdru.name/phdru.name.git] / rss_20.tmpl
1 <?xml version="1.0" encoding="koi8-r"?>
2 <rss version="2.0">
3   <channel>
4     <title>$title</title>
5     <link>$baseURL$indexFile</link>
6     <description>$description</description>
7     <language>$lang</language>
8     <webMaster>$author &lt;$email&gt;</webMaster>
9     <lastBuildDate>${posts[0].rfc822_date}</lastBuildDate>
10     <generator>https://phdru.name/about/make/${generator}.txt</generator>
11 #for $post in $posts
12     <item>
13       <title>$post.title</title>
14       <link>$post.URL</link>
15 #if $post.excerpt or $post.content
16       <description>
17 #filter WebSafe
18 #if $post.excerpt
19 $post.excerpt
20 &lt;p&gt;&lt;a href="$post.URL"&gt;Read more&lt;/a&gt;&amp;hellip;&lt;/p&gt;
21 #elif $post.content
22 $post.content
23 #end if
24 #end filter
25       </description>
26 #end if
27       <pubDate>${post.rfc822_date}</pubDate>
28   #for $c in $post.categoryList
29       <category>$c</category>
30   #end for
31     </item>
32 #end for
33   </channel>
34 </rss>