2013-04-01 11:23:10 -04:00
|
|
|
{namespace coleslaw.theme.feeds}
|
2012-08-21 23:50:36 -04:00
|
|
|
|
2014-04-08 16:51:13 -04:00
|
|
|
{template rss}
|
2012-08-21 23:50:36 -04:00
|
|
|
<?xml version="1.0"?>{\n}
|
|
|
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
|
|
|
<channel>
|
2012-09-12 14:24:51 -04:00
|
|
|
<title>{$config.title}</title>
|
|
|
|
<link>{$config.domain}</link>
|
|
|
|
<atom:link href="{$config.domain}/rss.xml" rel="self" type="application/rss+xml" />
|
2012-08-21 23:50:36 -04:00
|
|
|
<language>en-us</language>
|
|
|
|
<pubDate>{$pubdate}</pubDate>
|
|
|
|
|
2014-04-15 20:39:13 -04:00
|
|
|
{foreach $post in $content.content}
|
2012-08-21 23:50:36 -04:00
|
|
|
<item>
|
|
|
|
<title>{$post.title}</title>
|
2014-08-22 17:29:47 -04:00
|
|
|
<link>{$config.domain}/{$post.path}</link>
|
2012-08-21 23:50:36 -04:00
|
|
|
<pubDate>{$post.date}</pubDate>
|
2012-09-12 14:24:51 -04:00
|
|
|
<author>{$config.author}</author>
|
2014-08-22 17:29:47 -04:00
|
|
|
<guid isPermaLink="true">{$config.domain}/{$post.path}</guid>
|
2012-08-22 01:18:18 -04:00
|
|
|
{foreach $tag in $post.tags}
|
2014-04-28 14:17:41 -04:00
|
|
|
<category><![CDATA[ {$tag.name |noAutoescape} ]]></category>
|
2012-08-21 23:50:36 -04:00
|
|
|
{/foreach}
|
2013-01-01 20:16:28 -05:00
|
|
|
<description><![CDATA[ {$post.text |noAutoescape} ]]></description>
|
2012-08-21 23:50:36 -04:00
|
|
|
</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}
|