Show
Ignore:
Timestamp:
01/07/06 15:15:26 (3 years ago)
Author:
sdcosta
Message:

Important: Please see these important notes before svn'ing up
past this changeset.

This merges the no-magpie-cache branch back into the trunk.
svn merge -r 1114:1154 http://svn.gregarius.net/svn/branches/no-magpie-cache

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/rss/extlib/rss_fetch.inc

    r402 r1155  
    2929 
    3030require_once( MAGPIE_DIR . 'rss_parse.inc' ); 
    31 require_once( MAGPIE_DIR . 'rss_cache.inc' ); 
     31require_once( MAGPIE_DIR . 'rss_dbcache.inc' ); //sameer: changed to use db 
    3232 
    3333// for including 3rd party libraries 
     
    131131        // 4. if remote fails, return stale object, or error 
    132132         
    133         $cache = new RSSCache( MAGPIE_CACHE_DIR, MAGPIE_CACHE_AGE ); 
     133    // sameer: changed to use db 
     134        $cache = new RSSdbCache( MAGPIE_CACHE_DIR, MAGPIE_CACHE_AGE ); 
    134135         
    135136        if (MAGPIE_DEBUG and $cache->ERROR) { 
     
    145146        // store parsed XML by desired output encoding 
    146147        // as character munging happens at parse time 
    147         $cache_key       = $url . MAGPIE_OUTPUT_ENCODING; 
     148        //$cache_key       = $url . MAGPIE_OUTPUT_ENCODING; 
     149    // sameer: removed the encoding from the key 
     150        $cache_key       = $url; 
    148151         
    149152        if (!$cache->ERROR) {