CMS  Version 3.9
rss_feed.inc
Go to the documentation of this file.
1 <?php
5 Fakoli::using("rss_feed");
6 ?>
7 <div id="rss_feed_container">
8 <?php
10 
11 if(count($rssFeeds))
12 {
13  foreach($rssFeeds as $rssFeed)
14  {
15  echo $rssFeed->format("<div><a href='{rss_article_URL}'>{rss_title}</a></br><div class='source'>{article_date:F j, Y} - {RSSFeed.rss_title}</div></div>\n");
16  }
17 }
18 
19 ?>
20 </div>
$rssFeeds
Definition: rss_feed.inc:7
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116
static getPublishedArticles($limit=10)
$rssFeed