Re: Retrieving many RSS feeds fast?
- From: George Maicovschi <georgemaicovschi@xxxxxxxxx>
- Date: Sun, 30 Mar 2008 10:46:56 -0700 (PDT)
On Mar 30, 8:29 pm, Duke of Hazard <squ...@xxxxxxxxxxxxxxxxxxx> wrote:
I have a simple scripts using magpie to retrieve upto 200 RSS feeds.
Unfortunately it takes forever as the script has to sequentially get
each feeds, wait for the response, then move on. Is it possible to
retrieve them all at once or do them in parrallel?
Multithreading is not built in PHP, but you can emulate it using two
scripts and requesting one script through the other one using the
Apache ( like fopen('http://localhost/path/to/file/
second_script.php') ) and giving it the RSS feed as a parameter and
then fgets-ing the output of the script. Sorry i don't have the time
to give you more details, i'll get back to this in about an hour.
.
- Follow-Ups:
- Re: Retrieving many RSS feeds fast?
- From: George Maicovschi
- Re: Retrieving many RSS feeds fast?
- References:
- Retrieving many RSS feeds fast?
- From: Duke of Hazard
- Retrieving many RSS feeds fast?
- Prev by Date: Retrieving many RSS feeds fast?
- Next by Date: Re: Character Entity References
- Previous by thread: Retrieving many RSS feeds fast?
- Next by thread: Re: Retrieving many RSS feeds fast?
- Index(es):
Relevant Pages
|
|