mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-17 07:39:54 +03:00
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,7 +349,10 @@ abstract class RssExpander extends HttpCachingBridgeAbstract{
|
||||||
}
|
}
|
||||||
// $this->message("Loading from ".$param['url']);
|
// $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
|
// 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);
|
$content=$this->getContents($name) or
|
||||||
|
$this->returnServerError('Could not request '.$name);
|
||||||
|
|
||||||
|
$rssContent = simplexml_load_string($content);
|
||||||
// $this->message("loaded RSS from ".$param['url']);
|
// $this->message("loaded RSS from ".$param['url']);
|
||||||
// TODO insert RSS format detection
|
// TODO insert RSS format detection
|
||||||
// we suppose for now, we have some RSS 2.0
|
// we suppose for now, we have some RSS 2.0
|
||||||
|
|
Loading…
Add table
Reference in a new issue