forked from blallo/rss-bridge
[GuruMedBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
8e3f6dbc73
commit
37d2e75d7d
1 changed files with 2 additions and 1 deletions
|
@ -13,7 +13,8 @@ class GuruMedBridge extends BridgeAbstract{
|
|||
}
|
||||
|
||||
public function collectData(){
|
||||
$html = $this->getSimpleHTMLDOM('http://gurumed.org/feed') or $this->returnServerError('Could not request Gurumed.');
|
||||
$html = $this->getSimpleHTMLDOM($this->uri.'feed')
|
||||
or $this->returnServerError('Could not request Gurumed.');
|
||||
$limit = 0;
|
||||
|
||||
foreach($html->find('item') as $element) {
|
||||
|
|
Loading…
Reference in a new issue