How can i only fetch a (rss/atom) feed when it's changed?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey,

I'm currently fetching feeds about every hour (automatically in php)
but sometimes there are no new updates in a feed for 2 hours. so no i
wonder if it's possible to check the feed somehow to see if it changed
since i last fetched it and if it's the case than download it like it
should.. if it's not changed than just skip the download.

Is this possible and how (with filemtime?)? i rather have a method
that works in php 4 and 5 (i use php 5 but alot of hosts still don't).

thanx,
Mark.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux