Ver Mensaje Individual
  #3 (permalink)  
Antiguo 18/06/2008, 14:30
Avatar de farra
farra
 
Fecha de Ingreso: marzo-2008
Ubicación: Aqui estoy
Mensajes: 574
Antigüedad: 16 años, 1 mes
Puntos: 20
Pregunta Respuesta: lector rss en php para crear titulares de noticias

probe con el script php que me diste en el link, ya baje e instale el programa, pero no me funciona...

esta es la pagina que uso para leer:
Código PHP:
<?php require_once('magpierss/rss_fetch.inc');
$url="http://www.abc.com.py/titulares_rss.php";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>

<body> <?php $rss fetch_rss($url); echo $rss?>

</body>
</html>
y me da este error:
Catchable fatal error: Object of class MagpieRSS could not be converted to string in C:\wamp\www\misitio\testrssread.php on line 11


como puedo hacer para que me muestre los titulares?
__________________
Firma:
Es mas dificil para el mono entender que el hombre desciende de el....

PD: Siempre doy karma al que me da una buena respuesta... ;0)