tags:

views:

13

answers:

1

Hi all, Im using magpie to pull rss feeds from several websites. im going to run a cron job to do this so would like to disable caching. im using php ofcourse and was wondering how i can do this. Thx

A: 

I found out in rss_fetch.php. scroll to init() function and set define('MAGPIE_CACHE_ON', true); to define('MAGPIE_CACHE_ON', false);

    function init () {
        if ( defined('MAGPIE_INITALIZED') ) {
            return;
        }
        else {
            define('MAGPIE_INITALIZED', true);
        }

        if ( !defined('MAGPIE_CACHE_ON') ) {
            define('MAGPIE_CACHE_ON', false);
        }
}
Sir Lojik