Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/05/2011, 09:56
Avatar de abimaelrc
abimaelrc
Colaborador
 
Fecha de Ingreso: mayo-2009
Ubicación: En el planeta de Puerto Rico
Mensajes: 14.734
Antigüedad: 14 años, 11 meses
Puntos: 1517
Respuesta: Llamar a un archivo rss desde mi web

Podrías usar SimpleXML para eso
Código PHP:
Ver original
  1. <?php
  2. header('Content-Type: text/html; charset=utf-8');
  3. $xml = new SimpleXMLElement('http://www.reporteinmobiliario.com/nuke/rss.xml', null, true);
  4. foreach($xml->xpath('//item') as $item){
  5.     echo 'title = ' . $item->title . '<br />'
  6.         . 'description = ' . $item->description . '<br />'
  7.         . 'pubDate = ' . $item->pubDate . '<br />'
  8.         . 'link = ' . $item->link . '<br /><br />';
  9. }
__________________
Verifica antes de preguntar.
Los verdaderos amigos se hieren con la verdad, para no perderlos con la mentira. - Eugenio Maria de Hostos