ich laboriere gerade an dem RSS-Feed-Modul
Code: Alles auswählen
/***********************************************
* CONTENIDO MODUL - INPUT
*
* Modulname : Insert RSS feed
* Copyright : Contenido - four for business
* Authors: : Timo Hummel, Andreas Lindner
* Created : 30.09.2005
************************************************/
Code: Alles auswählen
$rss->parse();
$tpl = new Template;
$i = 0;
foreach ($rss->getItems() as $item)
{
if ($i < $FeedMaxItems) {
$tpl->set("d", "TITLE", htmlentities($item['title'],ENT_QUOTES));
$tpl->set("d", "LINK", htmlentities($item['link'],ENT_QUOTES));
$tpl->set("d", "DESCRIPTION", $item['description']);
$tpl->set("d", "AUTOR", utf8_decode($item['dc:creator']));
$tpl->set("d", "DATE", $item['dc:date']);
$tpl->set("d", "READ_ON", mi18n("weiterlesen"));
$tpl->next();
}
$i++;
}
Danke + Gruß,
E.