coleslaw/themes/hyde/rss.tmpl

31 lines
873 B
Cheetah
Raw Normal View History

2012-08-21 23:50:36 -04:00
{namespace coleslaw.theme.hyde}
{template rss}
<?xml version="1.0"?>{\n}
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>{$title}</title>
<link>{$siteroot}</link>
<atom:link href="{$siteroot}/rss.xml" rel="self" type="application/rss+xml" />
<description>{$title}</description>
<language>en-us</language>
<pubDate>{$pubdate}</pubDate>
{foreach $post in $posts}
<item>
<title>{$post.title}</title>
<link>{$siteroot}/{$post.url}</link>
<pubDate>{$post.date}</pubDate>
<author>{$author}</author>
{foreach $tag in $tags}
<category>{$tag |noAutoescape}</category>
{/foreach}
<guid isPermaLink="true">{$siteroot}/{$post.url}</guid>
<content:encoded>{$post.content |noAutoescape}</content:encoded>
</item>
2012-08-22 00:01:39 -04:00
{/foreach}
2012-08-21 23:50:36 -04:00
</channel>
</rss>
2012-08-22 00:01:39 -04:00
{/template}