mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-02-16 23:29:56 +03:00
[DeveloppezDotComBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
7cfc35d20c
commit
b1e5c7870f
1 changed files with 2 additions and 1 deletions
|
@ -39,7 +39,8 @@ class DeveloppezDotComBridge extends BridgeAbstract{
|
|||
}
|
||||
|
||||
public function collectData(){
|
||||
$rssFeed = $this->getSimpleHTMLDOM('http://www.developpez.com/index/rss') or $this->returnServerError('Could not request http://www.developpez.com/index/rss');
|
||||
$rssFeed = $this->getSimpleHTMLDOM($this->uri.'index/rss')
|
||||
or $this->returnServerError('Could not request '.$this->uri.'index/rss');
|
||||
$limit = 0;
|
||||
|
||||
foreach($rssFeed->find('item') as $element) {
|
||||
|
|
Loading…
Add table
Reference in a new issue