mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-18 14:22:38 +02:00
[GuruMedBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user