blog/templates/rss.xml

30 lines
827 B
XML
Raw Normal View History

2024-09-15 11:49:23 -04:00
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title><![CDATA[$blogtitle$—$title$]]></title>
<link>$baseurl$</link>
<description><![CDATA[$blogdesc$]]></description>
<atom:link href="$baseurl$/rss.xml" rel="self" />
$for(posts)$
<item>
<title><![CDATA[$it.title$]]></title>
<link>$baseurl$/$it.file$</link>
<guid>$baseurl$/$it.file$</guid>
<dc:creator><![CDATA[$author$]]></dc:creator>
<pubDate>$it.date-rss$</pubDate>
<description>
<![CDATA[
<p>tags: $it.tags[, ]$</p>
$if(it.summary)$
$it.summary$
$endif$
]]>
</description>
</item>
$endfor$
</channel>
</rss>