Magpie RSS Caching

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
Hi all,

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

but this doesn't seem to have any effect. It still only gets a fresh
version of the file every hour.

Any thoughts?


Re: Magpie RSS Caching

Ooops I meant 1800 seconds (being half an hour) not 900. But it still
isn't working.

Any idea?

Many thanks,
Steve wrote:
Quoted text here. Click to load it

Re: Magpie RSS Caching

On 23 Jul 2006 13:58:29 -0700, wrote:

Quoted text here. Click to load it

 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 :: :: :: disk and FTP usage analysis tool

Re: Magpie RSS Caching

Andy Hassall wrote:

Quoted text here. Click to load it

Cheers! I had a dig around and found the configuration settings.

Many thanks


Site Timeline