<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=1079&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Anzahl der Einträge im RSS-Feed]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=1079</link>
		<description><![CDATA[Die aktuellsten Beiträge in Anzahl der Einträge im RSS-Feed.]]></description>
		<lastBuildDate>Tue, 26 Jul 2011 09:57:35 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Anzahl der Einträge im RSS-Feed]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=9502#p9502</link>
			<description><![CDATA[<p>Vielen Dank!!! Hat geholfen!!!</p>]]></description>
			<author><![CDATA[dummy@example.com (ultimocb)]]></author>
			<pubDate>Tue, 26 Jul 2011 09:57:35 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=9502#p9502</guid>
		</item>
		<item>
			<title><![CDATA[Re: Anzahl der Einträge im RSS-Feed]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=9501#p9501</link>
			<description><![CDATA[<p>In der Zeile </p><div class="codebox"><pre><code>{news assign=&#039;pubs&#039;}</code></pre></div><p>Wird doch das News-Modul aufgerufen.<br />Da kannst Du dann mit Hilfe von Parametern die Ausgabe des News-Moduls steuern.<br />Z.B.:</p><div class="codebox"><pre><code>{news assign=&quot;pubs&quot; number=&quot;10&quot;}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Tue, 26 Jul 2011 09:54:26 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=9501#p9501</guid>
		</item>
		<item>
			<title><![CDATA[Anzahl der Einträge im RSS-Feed]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=9495#p9495</link>
			<description><![CDATA[<p>Hallo,<br />ich habe mittels CG Feedmaker einen RSS Feed erstellt, welcher die Inhalte des Newsmoduls wiedergibt. Der funktioniert sehr gut. Allerdings sind sehr viele Einträge im Newsbereich hinterlegt, so dass der Feed sehr sehr umfangreich wird. Wo kann ich einstellen, dass der Feed nur aus den 10 aktuellsten Einträgen bestehen soll?!</p><p>LG Mirko</p><p>Hier der Code des von mir verwendeten Templates:<br />Code:</p><div class="codebox"><pre class="vscroll"><code>{* modified rss feed template *}
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; ?&gt;
&lt;rss version=&quot;2.0&quot;
    xmlns:content=&quot;http://purl.org/rss/1.0/modules/content/&quot;
   xmlns:wfw=&quot;http://wellformedweb.org/CommentAPI/&quot;
   xmlns:dc=&quot;http://purl.org/dc/elements/1.1/&quot;
   xmlns:atom=&quot;http://www.w3.org/2005/Atom&quot;&gt;

&lt;channel&gt;

    &lt;title&gt;{$feed.title|escape}&lt;/title&gt;
   &lt;link&gt;{root_url}{$smarty.server.REQUEST_URI}&lt;/link&gt;
    &lt;atom:link href=&quot;{root_url}{$smarty.server.REQUEST_URI}&quot; rel=&quot;self&quot; type=&quot;application/rss+xml&quot; /&gt;
    {if isset($feed.description) &amp;&amp; !empty($feed.description)}&lt;description&gt;{$feed.description}&lt;/description&gt;{/if}
    {if isset($feed.copyright) &amp;&amp; !empty($feed.copyright)}&lt;copyright&gt;{$feed.copyright}&lt;/copyright&gt;{/if}
    {if isset($generator)}&lt;generator&gt;{$generator}&lt;/generator&gt;{/if}
    &lt;language&gt;de&lt;/language&gt;
    &lt;xhtml:meta xmlns:xhtml=&quot;http://www.w3.org/1999/xhtml&quot; name=&quot;robots&quot; content=&quot;noindex&quot; /&gt;
    {if isset($admin_email)}&lt;dc:creator&gt;{$admin_email} ({$admin_user-&gt;firstname} {$admin_user-&gt;lastname})&lt;/dc:creator&gt;{/if}
   {if isset($feed.image) &amp;&amp; !empty($feed.image)}
        &lt;image&gt;
           {if isset($feed.description) &amp;&amp; !empty($feed.description)}&lt;description&gt;{$feed.description}&lt;/description&gt;{/if}
            {if isset($feed.link) &amp;&amp; !empty($feed.link)}&lt;link&gt;{$feed.link}&lt;/link&gt;{/if}
            &lt;title&gt;{$feed.title}&lt;/title&gt;
            &lt;url&gt;{$file_location}/{$feed.image}&lt;/url&gt;
        &lt;/image&gt;
    {/if}

    {news assign=&#039;pubs&#039;}

    {foreach from=$items item=&#039;entry&#039;}
   &lt;item&gt;
      &lt;title&gt;{$entry-&gt;title|escape}&lt;/title&gt;
      &lt;link&gt;{$entry-&gt;moreurl}&lt;/link&gt;
      {if isset($admin_email)}&lt;dc:creator&gt;{$admin_email} ({$admin_user-&gt;firstname} {$admin_user-&gt;lastname})&lt;/dc:creator&gt;{/if}
   
      &lt;guid isPermaLink=&quot;true&quot;&gt;{$entry-&gt;moreurl}&lt;/guid&gt;
      &lt;description&gt;&lt;![CDATA[&lt;p&gt;{if $entry-&gt;summary}{$entry-&gt;summary|trim|strip_tags}{else}{$entry-&gt;content|strip_tags|summarize:100}{/if}&lt;/p&gt;]]&gt;&lt;/description&gt;
      &lt;wfw:commentRss&gt;{root_url}{$smarty.server.REQUEST_URI}&lt;/wfw:commentRss&gt;     
    &lt;/item&gt;
    {/foreach}

&lt;/channel&gt;

&lt;/rss&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (ultimocb)]]></author>
			<pubDate>Tue, 26 Jul 2011 09:31:52 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=9495#p9495</guid>
		</item>
	</channel>
</rss>
