From ef0ce7d6691fc4e9d1a180df8f15d7e6b92767b1 Mon Sep 17 00:00:00 2001 From: Nicolas Delsaux Date: Thu, 20 Feb 2014 08:43:55 +0100 Subject: [PATCH] Strangely, those bridges didn't seems to work exactly as expected --- bridges/Dilbert.php | 4 ++-- bridges/LesJoiesDuCode.php | 4 +--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/bridges/Dilbert.php b/bridges/Dilbert.php index 893747b6..cf741a31 100644 --- a/bridges/Dilbert.php +++ b/bridges/Dilbert.php @@ -5,7 +5,7 @@ * @description The Unofficial Dilbert Daily Comic Strip RSS Feed via rss-bridge * @update 16/10/2013 */ -class DilbertBridge extends BridgeAbstract{ +class Dilbert extends BridgeAbstract{ public function collectData(array $param){ $html = file_get_html('http://dilbert.com/strips/') or $this->returnError('Could not request Dilbert.', 404); @@ -40,4 +40,4 @@ class DilbertBridge extends BridgeAbstract{ return 14400; // 4 hours } } -?> + diff --git a/bridges/LesJoiesDuCode.php b/bridges/LesJoiesDuCode.php index a14d9f6d..c5a74b8e 100644 --- a/bridges/LesJoiesDuCode.php +++ b/bridges/LesJoiesDuCode.php @@ -5,7 +5,7 @@ * @description LesJoiesDuCode via rss-bridge * @update 30/01/2014 */ -class LesJoiesDuCodeBridge extends BridgeAbstract{ +class LesJoiesDuCode extends BridgeAbstract{ public function collectData(array $param){ $html = file_get_html('http://lesjoiesducode.fr/') or $this->returnError('Could not request LesJoiesDuCode.', 404); @@ -53,5 +53,3 @@ class LesJoiesDuCodeBridge extends BridgeAbstract{ return "Les Joies Du Code via rss-bridge"; } } -?> -