mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-04-08 16:08:54 +00:00
[GuruMedBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
parent
8e3f6dbc73
commit
37d2e75d7d
@ -13,7 +13,8 @@ class GuruMedBridge extends BridgeAbstract{
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function collectData(){
|
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;
|
$limit = 0;
|
||||||
|
|
||||||
foreach($html->find('item') as $element) {
|
foreach($html->find('item') as $element) {
|
||||||
|
Loading…
Reference in New Issue
Block a user