Jump to content

parsing an rdf file with php


Recommended Posts

I need some help parsing about 7 different rss,xml, and rdf files from their sources. I was using this code but it only displays 2 of the seven.

 

I was using:

        $n = count($feed_title);     

        for($i=0;$i < $n;$i++)

        {                   

            $rss =& new XML_RSS($url[$i++]);

            $rss->parse();           

            foreach ($rss->getItems() as $item) {                     

              $result[$i][] = $item;             

          }   

        }

 

This works on some but not all of the 7 links.

 

 

Link to comment
https://forums.phpfreaks.com/topic/112321-parsing-an-rdf-file-with-php/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.