I’m building a web-applIcation that reads from different sites the rss feeds. On every feed i can add a search key in the url, so the feeds are always different.
Now i’m using the simplexml_load_file, but this will take to long to read the feeds. Today i searched on stackoverflow and found the XMLReader class. This is a bit faster, but still not fast enough.
My question, is there a faster way to read multiple rss feeds that are always uniqe, so the user doesn’t have to wait so long.
Oke, i used different rss parsers like:
– SimplePie
– LastRSS
But the fastest way is to use the PHP XMLReader, because you don’t have to read the whole xml file.