Uso unas librerias para hacer un lector de rss y este es el codigo: (uso php 4)
Código PHP:
<?php
require_once('magpierss/rss_fetch.inc');
$rss = fetch_rss("http://www.noticias.fotocasa.es/rss/Noticias.xml");
foreach ($rss->items as $item) {
echo "<div align='center'>
<marquee Behavior='Scroll' Direction='up' ScrollAmount='2' ScrollDelay='90' height='130' width='137' onmouseover='this.stop()' onmouseout='this.start()'>";
echo "<a href='".$item["link"]."'><b><font color='#000000' size='2' face='tahoma'>".$item["title"]."</font></b><br><br>".$item["description"]."</a><br>";
echo "<br>\n";
echo "<font color='#000000' size='2' face='tahoma'><a href='http://www.noticias.fotocasa.es/rss/Noticias.xml'>Mas noticias</a></font></div>";
break;
}
?>
Cache unable to open file for writing: ./cache\c1198403e773b38c397e27cb31735c23
El lector si funciona y todo eso pero no se porque me sale eso..
saludos y gracias