{cms_plugin_news_rss}
Smarty get news (<cms_plugin_news_rss>) template plugin. Plugin gets news array from news storage defined by id parameter and returns rss xml.
Attributes:
Attribute Name | Type | Required | Default | Description |
---|---|---|---|---|
id | string | Yes | n/a | news storage (XML file) id |
item_id | string | No | news item id | |
topic | string | No | news items filter in following cases:
|
Sample for using:
{cms_plugin_news_rss id='eng' topic='topic=act'}
Above will output:
<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/"><channel><title><![CDATA[CMS Template Plugins News RSS | CMS Programmers Guide | Documentation]]></title><link>http://www.kusoftas.comhttp://www.kusoftas.com/programming/template-plugins/key-pair-list-cms-plugin-info</link><description><![CDATA[cms_plugin_news_rss: get news array defined by id parameter and return rss xml]]></description><item><title><![CDATA[KUSoftas CMS 5.2]]></title><pubDate><![CDATA[Fri, 01 Nov 2024 00:00:00 +0200]]></pubDate><link>http://www.kusoftas.com/news/item/kusoftas-cms-52</link><guid isPermaLink="true">http://www.kusoftas.com/news/item/kusoftas-cms-52</guid><description><![CDATA[<p>
KUSoftas CMS 5.2:
</p>
<ul>
<li>PHP 8.2</li>
<li>PHP Smarty 5.4.1</li>
<li>PHP SLIM 4.10</li>
<li>jQuery 3.6.0</li>
<li>jQuery UI 1.12.1</li>
<li>jQuery DataTables 2.1.4</li>
<li>PostgreSQL, MySQL, SQLite support</li>
<li>Apache Solr support</li>
<li>Other PHP & jQuery based components</li>
</ul>]]></description></item></channel></rss>