CoreFiles by mySites.guru
mod_feed.php31 lines, 763 bytes, from Joomla_3.5.1-Stable-Full_Package.zip
Raw History Compare with 3.5.0
md5
0e840165dc72a631b42ab3882bff8a44
sha1
4c1f6551bc827d8421a3dd3fed9596ab09c683cb
sha256
69c3c687c0448fc4da4c3f071a0002a33a68cc53736a39d2230e46704d22da2a
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_feed
 *
 * @copyright   Copyright (C) 2005 - 2016 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

// Include the syndicate functions only once
require_once __DIR__ . '/helper.php';

$rssurl = $params->get('rssurl', '');
$rssrtl = $params->get('rssrtl', 0);

// Check if feed URL has been set
if (empty ($rssurl))
{
	echo '<div>';
	echo JText::_('MOD_FEED_ERR_NO_URL');
	echo '</div>';

	return;
}

$feed = ModFeedHelper::getFeed($params);
$moduleclass_sfx = htmlspecialchars($params->get('moduleclass_sfx'));

require JModuleHelper::getLayoutPath('mod_feed', $params->get('layout', 'default'));

The same content is in 12 releases, Joomla 3.5.0-beta2 to 3.5.1. See them all, or every version of this file.