Using render feed on CMS :
{ % render_feed |selection options| |other options| % }
note: no spaces in between % and curly brackets
SELECTION OPTIONS (choose only ONE ):
- - named: the title of feed to be used (look this up at admin/feeds)
- - tagged_any: all feeds that’s been tagged with ANY of the specified tags
- - tagged_all: all feeds that’s been tagged with ALL of the specified tags
OTHER OPTIONS :
-
count: number of feed items to be displayed
DEFAULT : 5
- display: 3 values for display – short, full or title
- 1. summary: displays title with short content of feed item truncated
- 2. full: displays title and full content of the feed item
- 3. title: displays title only
DEFAULT : summary
-
order: 2 values supported – random or by_date
- 1. random: random feed items selected
- 2. by_date: the X (count number specified by count option) latest feed items
DEFAULT : random
-
truncate_to: number of characters for each feed item’s content displayed after truncation when using summary display mode
DEFAULT : 255
EXAMPLES :
{ % render_feed name:"My Feed" count:7 order:"random" truncate_to:100 display:"summary" % }
{ % render_feed tagged_any:"example, xlsuite" count:10 order:"by_date" display:"title" % }
reminder: no spaces in between % and curly brackets