* @license GNU General Public License version 2 or later; see LICENSE.txt */ defined('_JEXEC') or die; use Joomla\CMS\Filter\OutputFilter; use Joomla\CMS\HTML\HTMLHelper; use Joomla\CMS\Language\Text; // Check if feed URL has been set if (empty($rssurl)) { echo '
' . 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 = ' '; $isRtl = $lang->isRtl(); if ($isRtl && $myrtl == 0) { $direction = ' redirect-rtl'; } elseif ($isRtl && $myrtl == 1) { // Feed description $direction = ' redirect-ltr'; } elseif ($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 !== null && $params->get('rsstitle', 1)) { ?>

title; ?>

get('rssdate', 1)) : ?>

publishedDate, Text::_('DATE_FORMAT_LC3')); ?>

get('rssdesc', 1)) { ?> description; ?> image && $params->get('rssimage', 1)) : ?> image->uri, $feed->image->title); ?>