Calguy's RSS Reader template

  Previous article Next article  

Calguy's RSS Reader template

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.3.1
  Last updated: 17-10-2017
  Comments: 0

The CG_RSS_Reader module for CMS Made Simple™ is powered by the SimplePie RSS parser. In this article I will show you some tag examples you can use building your own template. Note, the module doesn't have an Admin page, you will find the template in the CMSMS™ Design Manager.

  How to use

Item Title

{$onefeed->get_title()}

Item Content

{$onefeed->get_content()}

Item Link

<a href="{$onefeed->get_permalink()}">Read more</a>

Item Date

{$onefeed->get_date()|date_format:'%Y-%m-%d %H:%M'}

More information about strftime format parameters.

Item Author

{if $author = $onefeed->get_author()}{$author->get_name()}{/if}

Enclosure Image

{if $enclosure = $onefeed->get_enclosure()}
  <img src="{$enclosure->get_link()}" alt="{$onefeed->get_title()}" />
{/if}

A2 Webhosting CMS Made Simple


A2 Webhosting CMS Made Simple

  Comments

  Click here to leave a comment






This is a captcha-picture. It is used to prevent mass-access by robots. (see: www.captcha.net)
  « Enter the CAPTCHA code (lower case)

Your IP address will be stored on submit. I reserve the right to change or delete your response without notice!
In case of abuse your IP address will be blocked!


Can I have your attention for a moment?

Did this tutorial help you solving a problem at your (clients) website and it saved you many hours of work? Great!!
Consider buying Rolf a cup of coffee in return! [ Click here ]


  0 Comments

No comments yet...

CMS Made Simple 2.2.3.1 - Tutorials, tips and tricks - CMSMS 2.2.3.1

Calguy's RSS Reader template

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.3.1
  Last updated: 17-10-2017
  Comments: 0

A2 Webhosting CMS Made Simple