Welcome to WebmasterWorld Guest from 50.19.156.133

Forum Moderators: bill & werty

Message Too Old, No Replies

parsing rss with PEAR::xml_rss

     

villan

2:12 am on Aug 11, 2004 (gmt 0)

10+ Year Member



Hi,
Im using the php/PEAR xml_rss library to parse a feed into one of my sites. the problem is that the server grabs the rss feed from the remote site every time someone loads a page. as you can imagine, ive been temporarily banned from hamming their server. anyone know if there is a caching function built into xml_rss? I need to restrict it to check the feed every 30 minutes or so.

thanks

johnnie

10:51 pm on Sep 18, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Can't you mirror the RSS file locally using a cron-job?

You could also mirror using PHP and add a timecheck that will only update after a certain time.

papamaku

7:15 am on Sep 19, 2004 (gmt 0)

10+ Year Member



Try using Magpie RSS [magpierss.sourceforge.net] which has built in caching.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month