Welcome to WebmasterWorld Guest from 54.221.136.62

Forum Moderators: bill & werty

Message Too Old, No Replies

parsing rss with PEAR::xml_rss

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

New User

10+ Year Member

joined:June 17, 2004
posts:13
votes: 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

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

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 17, 2004
posts:1354
votes: 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.

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

Junior Member

10+ Year Member

joined:Jan 31, 2003
posts:194
votes: 0


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members