Go to the source code of this file.
|
| $blog_id = checkNumeric($_GET["blog_id"]) |
|
| $identifier = checkIdentifier($_GET["blog"]) |
|
if(! $blog_id &&! $identifier) if($blog_id) | else |
|
if(! $blog->published||! $blog->enable_rss_feed||!checkRole($blog->allow_read)) | $url = $blog->getURL() |
|
| $constraint = ($blog->max_rss_articles) ? "LIMIT {$blog->max_rss_articles}" : "" |
|
| $articles = $blog->Articles() |
|
| $timestamp = date("r") |
|
| $xmlArticles = formatItems($articles, "<item>\n\t<title>{title:xml}</title>\n\t<description>{message:xml}</description>\n\t<link>{$url}?article_id={article_id}</link>\n\t<author>{author:xml}</author>\n\t<guid>{$url}?article_id={article_id}</guid>\n\t<pubDate>{publish_date:r}</pubDate>\n</item>","\n") |
|
◆ $articles
$articles = $blog->Articles() |
◆ $blog_id
$blog_id = checkNumeric($_GET["blog_id"]) |
◆ $constraint
$constraint = ($blog->max_rss_articles) ? "LIMIT {$blog->max_rss_articles}" : "" |
◆ $identifier
$identifier = checkIdentifier($_GET["blog"]) |
◆ $timestamp
◆ $url
if (! $blog->published||! $blog->enable_rss_feed||!checkRole( $blog->allow_read)) $url = $blog->getURL() |
◆ $xmlArticles
$xmlArticles = formatItems($articles, "<item>\n\t<title>{title:xml}</title>\n\t<description>{message:xml}</description>\n\t<link>{$url}?article_id={article_id}</link>\n\t<author>{author:xml}</author>\n\t<guid>{$url}?article_id={article_id}</guid>\n\t<pubDate>{publish_date:r}</pubDate>\n</item>","\n") |
◆ else
Initial value:{
static findByIdentifier($identifier)
Definition at line 48 of file rss.inc.