From 37d2e75d7d8d0ed8e62a5f52d12b16d8555daa83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pierre=20Mazi=C3=A8re?= Date: Mon, 29 Aug 2016 00:43:03 +0200 Subject: [PATCH] [GuruMedBridge] code simplification MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre Mazière --- bridges/GuruMedBridge.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bridges/GuruMedBridge.php b/bridges/GuruMedBridge.php index a91e5e32..297dc56d 100644 --- a/bridges/GuruMedBridge.php +++ b/bridges/GuruMedBridge.php @@ -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) {