[ZoneTelechargementBridge] fix feed url

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
Pierre Mazière 2016-09-14 10:24:19 +02:00
parent 294d89bd36
commit 7ae64fcd05

View file

@ -18,7 +18,7 @@ class ZoneTelechargementBridge extends BridgeAbstract {
return $string;
}
$url = $this->getURI().$this->getInput('category').'rss.xml';
$url = $this->getURI().$this->getInput('category').'/rss.xml';
$html = $this->getSimpleHTMLDOM($url) or $this->returnServerError('Could not request Zone Telechargement: '.$url);
foreach($html->find('item') as $element) {