Nad Flanders: Variable wird wiederholt aufgerufen

Beitrag lesen

Hallo,

ich habe ein kleines Problem, mit einem Script, dass einen Rss feed auslesen soll. Hier mal das Script

  
require_once('http://'.$_SERVER['SERVER_NAME'].'/includes/magpierss/rss_fetch.inc');  
$rss = fetch_rss('http://www.thefreedictionary.com/_/WoD/rss.aspx');  
$wordsummary	=	$rss->items[0]['summary'];  
$wordsummary	=	eregi_replace("SYNONYMS","<br><br>SYNONYMS",$wordsummary);  
$wordsummary	=	eregi_replace("USAGE","<br><br>USAGE",$wordsummary);  
$word	=	"<b>".ucwords($rss->items[0]['title'])."</b><br />".$wordsummary;  
$word   = str_replace ('<br><br>','<br />', $word);  
  
echo $word;  
echo $wordsummary;  

Das Problem:
SYNONYMS wiederholt sich.
Warum?

Nad