title) && $params->get('rsstitle', 1)) {
?>
get('rssdesc', 1)) {
?>
description; ?>
get('rssimage', 1) && $iUrl) {
?>

items);
$setItems = $params->get('rssitems', 5);
if ($setItems > $actualItems) {
$totalItems = $actualItems;
} else {
$totalItems = $setItems;
}
?>
def('word_count', 0);
for ($j = 0; $j < $totalItems; $j ++)
{
$currItem = & $feed->items[$j];
// item title
?>
-
get_link())) {
?>
title) && $params->get('rsstitle', 1))
{ echo '
';}
else
{
echo '';
}
?>
get_title(); ?>
title) && $params->get('rsstitle', 1))
{ echo '
';}
else
{ echo '';}
?>
get('rssitemdesc', 1))
{
// item description
$text = $currItem->get_description();
$text = str_replace(''', "'", $text);
$text=strip_tags($text);
// word limit check
if ($words)
{
$texts = explode(' ', $text);
$count = count($texts);
if ($count > $words)
{
$text = '';
for ($i = 0; $i < $words; $i ++) {
$text .= ' '.$texts[$i];
}
$text .= '...';
}
}
?>