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
9
$rssFeeds
=
RSSFeedArticles::getPublishedArticles
(15);
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
$rssFeeds
Definition:
rss_feed.inc:7
Fakoli\using
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition:
core.inc:116
RSSFeedArticles\getPublishedArticles
static getPublishedArticles($limit=10)
Definition:
rss_feed_articles.inc:33
$rssFeed
$rssFeed
Definition:
rss_feed_form.inc:9
code
cms.sonjara.com
cms
components
rss_feed
modules
rss_feed.inc
Generated on Tue Mar 23 2021 15:36:14 for CMS by
1.9.1