Index: parser_simplepie.module =================================================================== --- parser_simplepie.module (revision 21563) +++ parser_simplepie.module (revision 23881) @@ -92,7 +92,7 @@ * The structured datas extracted from the feed */ function _parser_simplepie_feedapi_parse($feed) { - $parser = _parser_simplepie_get_parser($feed->url); + $parser = _parser_simplepie_get_parser($feed->url, FALSE); if ($parser->error) { return FALSE; } @@ -166,7 +166,7 @@ * @return * SimplePie object */ -function _parser_simplepie_get_parser($url) { +function _parser_simplepie_get_parser($url, $enable_cache=TRUE) { require_once(drupal_get_path('module', 'parser_simplepie') .'/simplepie.inc'); $parser = new SimplePie(); $parser->set_feed_url($url); @@ -174,7 +174,7 @@ $parser->set_stupidly_fast(TRUE); $parser->encode_instead_of_strip(FALSE); $cache_location = _parser_simplepie_sanitize_cache(); - $parser->enable_cache($cache_location !== FALSE ? TRUE : FALSE); + $parser->enable_cache($cache_location !== FALSE ? $enable_cache : FALSE); $parser->set_cache_location($cache_location); $parser->init(); return $parser;