On 23 Jul 2006 13:58:29 -0700,
St***********@gmail.com wrote:
>I am using Magpie RSS and want to change the Caching period to half an
hour instead of one hour.
I have modified the line in RSS_CACHE.INC so that it reads:
var $MAX_AGE = 900; // when are files stale, default one
hour
but this doesn't seem to have any effect. It still only gets a fresh
version of the file every hour.
Any thoughts?
Don't modify the source code of Magpie, use the configuration options
supplied. IIRC, Magpie uses a constant for the caching period, which it sets to
a default value, which you can then override. The default value of the variable
you've modified only takes effect if the constant isn't defined at all.
--
Andy Hassall ::
an**@andyh.co.uk ::
http://www.andyh.co.uk http://www.andyhsoftware.co.uk/space :: disk and FTP usage analysis tool