<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
<title>{$settings.site_name}</title>
<link>{"?a=news"|encurl}</link>
<description>{$settings.site_name}</description>
<language>en</language>
<managingEditor>{$settings.system_email}</managingEditor>
{foreach from=$news item=l}
<item>
<title>{$l.title|escape:html}</title>
<guid isPermaLink="true">{"?a=news&id=`$l.id`"|encurl}</guid>
<link>{"?a=news&id=`$l.id`"|encurl}</link>
<description><![CDATA[{$l.small_text|escape:html|nl2br}]]></description>
<content:encoded><![CDATA[{$l.full_text|escape:html|nl2br}]]></content:encoded>
<pubDate>{$l.rss_date}</pubDate>
<author>{$settings.site_url}</author>
</item>
{/foreach}
</channel>
</rss>
