Is it possible to limit the number of articles shows by the rss feed from the news module? Now the rss feed shows unlimited articles but I want it to show the last 10....
I think it must be possible trough some modifications with rss template from the news module:
Code: Select all
<?xml version="1.0"?>
<rss version="2.0">
<channel>
<title>{$sitename|escape}</title>
<link>{$root_url}</link>
<description>Current News entries</description>
{foreach from=$items item=entry}
<item>
<title><![CDATA[{$entry->title}]]></title>
<link>{$entry->link}</link>
<guid>{$entry->link}</guid>
<pubDate>{$entry->gmdate}</pubDate>
<category><![CDATA[{$entry->category}]]></category>
<description><![CDATA[{eval var=$entry->strippedsummary}
{eval var=$entry->strippedcontent}]]></description>
</item>
{i}
{/foreach}
</channel>
</rss>

