' . Text::_('MOD_FEED_ERR_NO_URL') . '
';
return;
}
if (!empty($feed) && is_string($feed))
{
echo $feed;
}
else
{
$lang = $app->getLanguage();
$myrtl = $params->get('rssrtl', 0);
$direction = ' ';
if ($lang->isRtl() && $myrtl == 0)
{
$direction = ' redirect-rtl';
}
// Feed description
elseif ($lang->isRtl() && $myrtl == 1)
{
$direction = ' redirect-ltr';
}
elseif ($lang->isRtl() && $myrtl == 2)
{
$direction = ' redirect-rtl';
}
elseif ($myrtl == 0)
{
$direction = ' redirect-ltr';
}
elseif ($myrtl == 1)
{
$direction = ' redirect-ltr';
}
elseif ($myrtl == 2)
{
$direction = ' redirect-rtl';
}
if ($feed != false) :
?>
title) && $params->get('rsstitle', 1)) : ?>
get('rssdate', 1)) : ?>
publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
get('rssdesc', 1)) : ?>
description; ?>
get('rssimage', 1) && $feed->image) : ?>
get('rssitems', 3); $i++) :
if (!$feed->offsetExists($i)) :
break;
endif;
$uri = $feed[$i]->uri || !$feed[$i]->isPermaLink ? trim($feed[$i]->uri) : trim($feed[$i]->guid);
$uri = !$uri || stripos($uri, 'http') !== 0 ? $rssurl : $uri;
$text = $feed[$i]->content !== '' ? trim($feed[$i]->content) : '';
?>
-
title); ?>
get('rssitemdate', 0)) : ?>
publishedDate, Text::_('DATE_FORMAT_LC3')); ?>
get('rssitemdesc', 1) && $text !== '') : ?>
get('word_count', 0), true, false);
echo str_replace(''', "'", $text);
?>