MENU

Calguy's RSS Reader template

  Previous article Next article  

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}


  Comment Form

Click here to open the form


  1 Comment

CMS Made Simple - Tutorials, tips and tricks - CMSMS

Calguy's RSS Reader template

  Article optimized for CMSMS 2.x

  Author:
  Last tested in: CMSMS 2.2.7
  Last updated: 23-06-2018
  Comments: 1
  http://cms.ms/Akwx

Advertisement



Ads help me to help you! Thanks!

Ads help me to help you! Thanks!

Ads help me to help you! Thanks!