return; } #check if feed URL is set if (empty($rssurl)) { echo '<div>No feed URL specified. Multiplie URLS:links must be seperated by commas (,) without spaces or new lines</div>'; return; } #Joomla Version if (!defined('WEJM16')) { $version = new JVersion(); $joomla = $version->getShortVersion(); $v = substr($joomla, 0, 3) == '1.5' ? false : true; define('WEJM16', $v); } require_once dirname(__FILE__) . DS . 'classes' . DS . 'helper.php'; $feeddata = modFeedShowHelper::getFeedData($params); //$cache=JFactory::getCache(); //$cache->setCaching(1); //$cache->setLifeTime($cacheTime); //$feeddata=$cache->call( array( 'modFeedShowHelper', 'getFeedData' ), $params ); //cached! //check if feed URL is set if (!$hideerrors && ($feeddata['rsstotalitems'] == 0 || count($feeddata["items"]) == 0 || $feeddata["items"] === false)) { echo '<div>There are not feed items to display.'; echo '<ul><li>Check if RSS URL is online</li><li>Check if RSS contains items</li>'; if ($filtermode > 0) { echo '<li>Check the #Keyword Filter# parameter. Change the keywords or remove them</li>'; } echo '</ul></div>'; return; } jimport('joomla.filesystem.file');