<?xml version="1.0"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="[{$channel.self}]" rel="self" type="application/rss+xml" />

		<title>[{$channel.name}]</title>
		<link>[{$channel.link}]</link>
		<description>[{$channel.description}]</description>
		[{if $channel.language!=""}]<language>[{$channel.language}]</language>[{/if}]
		<pubDate>[{$channel.pubdate|date_format:"%a, %d %b %Y %H:%M:%S %z"}]</pubDate>
		<lastBuildDate>[{$channel.lastbuilddate|date_format:"%a, %d %b %Y %H:%M:%S %z"}]</lastBuildDate>
		[{if $channel.docs!=""}]<docs>[{$channel.docs}]</docs>[{/if}]
		[{if $channel.generator!=""}]<generator>[{$channel.generator}]</generator>[{/if}]
		[{if $channel.editoremail!=""}]<managingeditor>[{$channel.editoremail}]</managingeditor>[{/if}]
		[{if $channel.webmasteremail!=""}]<webMaster>[{$channel.webmasteremail}]</webMaster>[{/if}]
[{foreach from=$items item=item}]
		<item>
			<title>[{$item.title}]</title>
			<link>[{$item.link}]</link>
			<description>[{$item.description}]</description>
			<guid>[{$item.guid}]</guid>
			[{if $item.author!=""}]<author>[{$item.author}]</author>[{/if}]
			[{if $item.comments!=""}]<comments>[{$item.comments}]</comments>[{/if}]
			[{if $item.pubdate>0}]<pubDate>[{$item.pubdate|date_format:"%a, %d %b %Y %H:%M:%S %z"}]</pubDate>[{/if}]
		</item>
[{/foreach}]
	</channel>
</rss>
