Hallo,
warum erhalte ich diese Ausgabe
,wenn ich diesen Code benutze
HTML
<?php
require_once('../magpierss/rss_fetch.inc');
?>
<?php
$rss_url = 'http://www.sgcastrop.de/wordpress/?feed=rss2';
$my_rss = fetch_rss($rss_url);
$my_rss->items = array_slice($my_rss->items, 0, 3);
?>
<dl>
<?php
foreach ($my_rss as $item) {
$title = $item['title'];
$url = $item['link'];
$description = $item['description'];
?>
<dt><a href="<?php print"$url"; ?>"><?php print"$title"; ?></a></dt>
<dd><?php print"$description"; ?></dd>
<?php
}
?>
</dl>
Alles anzeigen
Kann mir jemand helfen?
Danke