// neoSonic NewsGrabber V 2.0
// (C) 2001-2003 neosonic.de
// author : alex emken
// email : alex@neosonic.de
// url : http://www.neosonic.de
// Modifiziert von Timo Heinrich 12/2003
// Config
$newsfeed = 0;
$volleyballer = "https://www.volleyballer.de/news.rdf";
// Please do not change anything below
$rdffile = ($newsfeed==0) ? $volleyballer : $telenf;
if ($caching==1)
{
if (file_exists($cachefile))
{
$ctime = time()-$cachingtime*60;
if (filemtime($cachefile)<$ctime)
{
$fp = fopen($cachefile, "w");
fwrite($fp, implode("",file($rdffile)));
fclose($fp);
}
$rdffile = $cachefile;
}
else echo "\n";
}
$content = implode ("", file ($rdffile));
preg_match_all("|- (.*)
|Uism",$content, $items, PREG_PATTERN_ORDER);
for ($i=0;$i(.*)(.*)(.*)|Uism",$items[1][$i], $regs, PREG_PATTERN_ORDER);
echo " ".$regs[1][0]."
\n";
}
?>