Smarty get news (<cms_plugin_news_rss>) template plugin. Plugin gets news array from news storage defined by id parameter and returns rss xml.


    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:
    • "year=yyyy" - by year
    • "date=yyyy-mm-dd hh:mm:ss" - by date and time
    • "title=text snippet" - by title containing text snippet
    • "description=text snippet" - by description containing text snippet
    • "topic=topic id" - by topic id (only for valid topics by its date against today)

    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[New KUSoftas CMS 4.0 version]]></title><pubDate><![CDATA[Thu, 25 Aug 2016 00:00:00 +0300]]></pubDate><link>http://www.kusoftas.com/news/item/new-kusoftas-cms-40-version</link><guid isPermaLink="true">http://www.kusoftas.com/news/item/new-kusoftas-cms-40-version</guid><description><![CDATA[<p> KUSoftas CMS has implemented SSL into the core of CMS with following options: </p> <ul> <li>All site pages forced to be accessed using HTTPS only.</li> <li>Allow separate pages to be accessed using HTTP only, HTTPS only or in both ways.</li> <li>Separate page can be redirected from HTTP to HTTPS or vice versa.</li> <li>Separate page can be redirect into another URL using HTTP or HTTPS.</li> <li>Page URL aliases can be entered with specified protocol: HTTP, HTTPS or both.</li> <li>Menu tree element can be forced to use HTTPS if corresponding page supports both protocols.</li> <li>News item view can be forced to use HTTPS.</li> </ul> <p> Site must be configured to be used with SSL. </p>]]></description></item><item><title><![CDATA[New KUSoftas CMS 3.3 version introduces e-Shop and Product Configurator]]></title><pubDate><![CDATA[Thu, 16 Jun 2016 00:00:00 +0300]]></pubDate><link>http://www.kusoftas.com/news/item/new-kusoftas-cms-33-version-introduces-e-shop-and-product-configurator</link><guid isPermaLink="true">http://www.kusoftas.com/news/item/new-kusoftas-cms-33-version-introduces-e-shop-and-product-configurator</guid><description><![CDATA[<p> KUSoftas CMS e-commerce plugin suits for implementation of small or large e-shop. It is based on full-text indexing and search engine that allows a good throughput. E-shop can be hosted at inexpensive shared hosting server. PayPal payment system uses secure purchasing forms, encoded by PayPal and the seller SSL digital certificates, and are fully integrated into KUSoftas CMS e-shop plugin. Product configurator allows to configure product you want to buy using a list of options. Configured with product configurator products can be purchased along with other e-shop goods. </p>]]></description></item></channel></rss>

    Vulnerability Scanner