core: use proxy when defined in RssExpander
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
226484ba22
commit
86515a1560
1 changed files with 9 additions and 6 deletions
|
@ -349,8 +349,11 @@ abstract class RssExpander extends HttpCachingBridgeAbstract{
|
|||
}
|
||||
// $this->message("Loading from ".$param['url']);
|
||||
// Notice WE DO NOT use cache here on purpose : we want a fresh view of the RSS stream each time
|
||||
$rssContent = simplexml_load_file($name) or $this->returnServerError('Could not request '.$name);
|
||||
// $this->message("loaded RSS from ".$param['url']);
|
||||
$content=$this->getContents($name) or
|
||||
$this->returnServerError('Could not request '.$name);
|
||||
|
||||
$rssContent = simplexml_load_string($content);
|
||||
// $this->message("loaded RSS from ".$param['url']);
|
||||
// TODO insert RSS format detection
|
||||
// we suppose for now, we have some RSS 2.0
|
||||
$this->collect_RSS_2_0_data($rssContent);
|
||||
|
|
Loading…
Reference in a new issue