<?
header('Content-Type: text/xml');
$time=date('D, J M Y H:i:s T');
$system->layout=<<<EOF
<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0"><channel>
	<title>{$system->title}</title>
	<link>{$system->config[site_url]}</link>
	<description>{$system->copyright}</description>
	<language>en-us</language>
	<lastBuildDate>{$time}</lastBuildDate>
	<copyright>Copyright: (C) {$system->config[site_url]}</copyright>
	<docs>{$system->config[site_url]}syndication/</docs>
	{content}
	</channel>
</rss>
EOF;
?>