homepage Welcome to WebmasterWorld Guest from 54.81.170.186
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
Forum Library, Charter, Moderators: bill & werty

RSS, ATOM, and Related Technologies Forum

    
parsing rss with PEAR::xml_rss
villan




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

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




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

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




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

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / RSS, ATOM, and Related Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved