Jamroom Logo   Get Jamroom now for as low as !
The Powerful Social Media Platform
free download!
key features
key features
Newsletter
E-mail Address:

Spotlight
The Talent Farm
275651 "TheTalentFarm is South Florida's newest and coolest recording studio/venue! We encourage artists of all genres to showcase their skills at any of our live shows, most of which are broadcast over the Internet. The selection process is sometimes painstaking. But thanks to Jamroom, all candidates can submit their bios, songs, EPK's even videos without effort, making it really easy for the staff to evaluate an artist and place them on the correct type of show. As the site grows and takes on its own personality, I remain confident that Jamroom will be able to keep up. The program is excellent, and the support is even better. Jamroom does everything I need, and does it well!"
{jr_favorite} {jr_favorite} Index {jr_fetch} {jr_fetch}
 

{jr_feed_reader}


The {jr_feed_reader} template function is used for embedding external RSS Feeds directly into a Jamroom Template.

Parameters:

Name Type Required Default Description
feed string yes n/a The "feed" parameter is the URL to the RSS Feed you want to pull in.
template string yes n/a The "template" parameter defines the Jamroom skin template that wil be used to format the feed data.
show integer no n/a If the "show" parameter is given, then only the number given will be "shown".  For example, if the "default" number of articles in a feed is 10, you can enter a value of  show="2" to limit the displayed feed articles to only the first 2 in the feed.
cache_seconds integer no 300 By default Jamroom will "cache" a feed for 300 seconds (5 minutes).  You can change this cache length by passing in the "cache_seconds" parameter.
assign string no no The "assign" parameter is an optional parameter that allows you to take the processed Feed output and store it in a template variable for further processing.  This is handy to check to ensure the results of the fetch contain valid data.

 

Example:

Example embedding the {jr_feed_reader} template function into a template:

{jr_feed_reader feed="http://slashdot.org/index.rss" template="slashdot_feed.tpl" cache_seconds="30"}

The contents of the "slashdot_feed.tpl" template file:

{foreach from=$ITEMS item="_item"}
  <h2><a href="{$_item.LINK}" target="_blank">{$_item.TITLE}</a></h2><br />
  {$_item.DESCRIPTION}<br /><br />
{/foreach}


Note: The {jr_feed_reader} function first became available in Jamroom 3.0.29
{jr_favorite} {jr_favorite} page 142 of 184 {jr_fetch} {jr_fetch}
Home | Download | Support | Demo | Members | Purchase | Marketplace | Contact | Privacy
©2003 - 2008 Talldude Networks, LLC.