diff --git a/bridges/CNETBridge.php b/bridges/CNETBridge.php index ea0898a..5b0a8d5 100644 --- a/bridges/CNETBridge.php +++ b/bridges/CNETBridge.php @@ -9,7 +9,7 @@ class CNETBridge extends BridgeAbstract { $this->name = 'CNET News'; $this->uri = 'http://www.cnet.com/'; $this->description = 'Returns the newest articles.
You may specify a topic found in some section URLs, else all topics are selected.'; - $this->update = '2016-03-16'; + $this->update = '2016-08-06'; $this->parameters[] = '[ @@ -96,12 +96,7 @@ class CNETBridge extends BridgeAbstract { return 'CNET News Bridge'.(empty($this->topicName) ? '' : ' - '.$this->topicName); } - public function getURI() { - return 'http://www.cnet.com/'; - } - public function getCacheDuration() { return 1800; // 30 minutes - // return 0; } } diff --git a/bridges/CpasbienBridge.php b/bridges/CpasbienBridge.php index 1f67cf3..93649e6 100644 --- a/bridges/CpasbienBridge.php +++ b/bridges/CpasbienBridge.php @@ -24,7 +24,7 @@ class CpasbienBridge extends HttpCachingBridgeAbstract{ $this->name = "Cpasbien Bridge"; $this->uri = "http://www.cpasbien.io"; $this->description = "Returns latest torrents from a request query"; - $this->update = "2016-01-26"; + $this->update = "2016-08-06"; $this->parameters[] = '[ @@ -83,10 +83,6 @@ class CpasbienBridge extends HttpCachingBridgeAbstract{ return (!empty($this->request) ? $this->request .' - ' : '') . $this->name; } - public function getURI(){ - return $this->uri; - } - public function getCacheDuration(){ return 60*60*24; // 24 hours } diff --git a/bridges/DilbertBridge.php b/bridges/DilbertBridge.php index c1a21ce..e4f2c9c 100644 --- a/bridges/DilbertBridge.php +++ b/bridges/DilbertBridge.php @@ -38,14 +38,6 @@ class DilbertBridge extends BridgeAbstract { } } - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } - public function getCacheDuration() { return 21600; // 6 hours } diff --git a/bridges/EstCeQuonMetEnProdBridge.php b/bridges/EstCeQuonMetEnProdBridge.php index 7ca7ebb..5e5d8b4 100644 --- a/bridges/EstCeQuonMetEnProdBridge.php +++ b/bridges/EstCeQuonMetEnProdBridge.php @@ -37,14 +37,6 @@ class EstCeQuonMetEnProdBridge extends BridgeAbstract { $this->items[] = $item; } - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } - public function getCacheDuration() { return 21600; // 6 hours } diff --git a/bridges/FacebookBridge.php b/bridges/FacebookBridge.php index 103494f..f1c9406 100644 --- a/bridges/FacebookBridge.php +++ b/bridges/FacebookBridge.php @@ -7,7 +7,7 @@ class FacebookBridge extends BridgeAbstract{ $this->name = "Facebook"; $this->uri = "http://www.facebook.com/"; $this->description = "Input a page title or a profile log. For a profile log, please insert the parameter as follow : myExamplePage/132621766841117"; - $this->update = "31/03/2016"; + $this->update = "2016-08-06"; $this->parameters[] = '[ @@ -226,10 +226,6 @@ class FacebookBridge extends BridgeAbstract{ return (isset($this->name) ? $this->name.' - ' : '').'Facebook Bridge'; } - public function getURI() { - return 'http://facebook.com'; - } - public function getCacheDuration() { return 300; // 5 minutes } diff --git a/bridges/FuturaSciencesBridge.php b/bridges/FuturaSciencesBridge.php index 738b7f5..f22c610 100644 --- a/bridges/FuturaSciencesBridge.php +++ b/bridges/FuturaSciencesBridge.php @@ -218,12 +218,4 @@ class FuturaSciencesBridge extends BridgeAbstract { } } - - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } } diff --git a/bridges/LichessBridge.php b/bridges/LichessBridge.php index 9ed1f75..8b49867 100644 --- a/bridges/LichessBridge.php +++ b/bridges/LichessBridge.php @@ -48,14 +48,4 @@ class LichessBridge extends BridgeAbstract return $content; } - - public function getName() - { - return $this->name; - } - - public function getURI() - { - return $this->uri; - } } diff --git a/bridges/NakedSecurityBridge.php b/bridges/NakedSecurityBridge.php index 99bfb1e..fc3d73a 100644 --- a/bridges/NakedSecurityBridge.php +++ b/bridges/NakedSecurityBridge.php @@ -69,12 +69,4 @@ class NakedSecurityBridge extends BridgeAbstract { } } } - - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } } \ No newline at end of file diff --git a/bridges/NextgovBridge.php b/bridges/NextgovBridge.php index 1ef1938..35ca1fc 100644 --- a/bridges/NextgovBridge.php +++ b/bridges/NextgovBridge.php @@ -95,12 +95,4 @@ class NextgovBridge extends BridgeAbstract { } } - - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } } \ No newline at end of file diff --git a/bridges/PinterestBridge.php b/bridges/PinterestBridge.php index f6c0e33..1a353b1 100644 --- a/bridges/PinterestBridge.php +++ b/bridges/PinterestBridge.php @@ -9,7 +9,7 @@ class PinterestBridge extends BridgeAbstract{ $this->maintainer = "pauder"; $this->name = "Pinterest Bridge"; - $this->uri = "http://www.pinterest.com/"; + $this->uri = "http://www.pinterest.com"; $this->description = "Returns the newest images on a board"; $this->update = "2016-08-06"; @@ -110,8 +110,4 @@ class PinterestBridge extends BridgeAbstract{ return $this->username .' - '. $this->board.' - Pinterest'; } } - - public function getURI(){ - return 'http://www.pinterest.com'; - } } diff --git a/bridges/SensCritiqueBridge.php b/bridges/SensCritiqueBridge.php index f4b8fc7..f471602 100644 --- a/bridges/SensCritiqueBridge.php +++ b/bridges/SensCritiqueBridge.php @@ -131,10 +131,6 @@ class SensCritiqueBridge extends BridgeAbstract { } } - public function getName() { - return $this->name; - } - public function getURI() { return (trim($this->uri) === "") ? "http://www.senscritique.com" : $this->uri; } diff --git a/bridges/ShanaprojectBridge.php b/bridges/ShanaprojectBridge.php index dd4e61d..7d340ce 100644 --- a/bridges/ShanaprojectBridge.php +++ b/bridges/ShanaprojectBridge.php @@ -109,12 +109,4 @@ class ShanaprojectBridge extends BridgeAbstract { $this->items[] = $item; } } - - public function getName(){ - return $this->name; - } - - public function getURI(){ - return $this->uri; - } } diff --git a/bridges/SoundcloudBridge.php b/bridges/SoundcloudBridge.php index 43e1736..ebc3f8e 100644 --- a/bridges/SoundcloudBridge.php +++ b/bridges/SoundcloudBridge.php @@ -10,7 +10,7 @@ class SoundCloudBridge extends BridgeAbstract{ $this->name = "Soundcloud Bridge"; $this->uri = "http://www.soundcloud.com/"; $this->description = "Returns 10 newest music from user profile"; - $this->update = "2015-09-08"; + $this->update = "2016-08-06"; $this->parameters[] = '[ @@ -53,10 +53,6 @@ class SoundCloudBridge extends BridgeAbstract{ return (!empty($this->name) ? $this->name .' - ' : '') . (!empty($this->request) ? $this->request : ''); } - public function getURI(){ - return 'https://www.soundcloud.com/'; - } - public function getCacheDuration(){ return 600; // 10 minutes } diff --git a/bridges/TheHackerNewsBridge.php b/bridges/TheHackerNewsBridge.php index 5b06a6c..2fb6a1a 100644 --- a/bridges/TheHackerNewsBridge.php +++ b/bridges/TheHackerNewsBridge.php @@ -75,12 +75,4 @@ class TheHackerNewsBridge extends BridgeAbstract { } } - - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } } \ No newline at end of file diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index abaf423..7f5b4ff 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -9,7 +9,7 @@ class VkBridge extends BridgeAbstract { $this->name = "VK.com"; $this->uri = "http://www.vk.com/"; $this->description = "Working with open pages"; - $this->update = "21/02/2016"; + $this->update = "2016-08-06"; $this->parameters["Url on page group or user"] = '[ { "name" : "Url", @@ -53,10 +53,6 @@ class VkBridge extends BridgeAbstract { return(isset($this->name) ? $this->name . ' - ' : '') . 'VK Bridge'; } - public function getURI() { - return 'http://vk.com'; - } - public function getCacheDuration() { return 300; // 5 minutes } diff --git a/bridges/WeLiveSecurityBridge.php b/bridges/WeLiveSecurityBridge.php index 1a2b73d..4fd23ea 100644 --- a/bridges/WeLiveSecurityBridge.php +++ b/bridges/WeLiveSecurityBridge.php @@ -60,12 +60,4 @@ class WeLiveSecurityBridge extends BridgeAbstract { } } } - - public function getName() { - return $this-name; - } - - public function getURI() { - return $this->uri; - } } \ No newline at end of file diff --git a/bridges/WhydBridge.php b/bridges/WhydBridge.php index 2b9e1dd..25ab15f 100644 --- a/bridges/WhydBridge.php +++ b/bridges/WhydBridge.php @@ -10,7 +10,7 @@ class WhydBridge extends BridgeAbstract{ $this->name = "Whyd Bridge"; $this->uri = "http://www.whyd.com/"; $this->description = "Returns 10 newest music from user profile"; - $this->update = "2014-07-18"; + $this->update = "2016-08-06"; $this->parameters[] = '[ @@ -60,10 +60,6 @@ class WhydBridge extends BridgeAbstract{ return (!empty($this->name) ? $this->name .' - ' : '') .'Whyd Bridge'; } - public function getURI(){ - return 'http://www.whyd.com/'; - } - public function getCacheDuration(){ return 600; // 10 minutes } diff --git a/bridges/WorldOfTanks.php b/bridges/WorldOfTanks.php index 8912358..ae51a0e 100644 --- a/bridges/WorldOfTanks.php +++ b/bridges/WorldOfTanks.php @@ -93,12 +93,4 @@ class WorldOfTanks extends HttpCachingBridgeAbstract{ $item->timestamp = $content->find('.b-statistic_time', 0)->getAttribute("data-timestamp"); $this->items[] = $item; } - - public function getName(){ - return $this->name; - } - - public function getURI(){ - return $this->uri; - } } diff --git a/bridges/ZDNetBridge.php b/bridges/ZDNetBridge.php index 6f066fb..1b2b4df 100644 --- a/bridges/ZDNetBridge.php +++ b/bridges/ZDNetBridge.php @@ -302,12 +302,4 @@ class ZDNetBridge extends BridgeAbstract { } } - - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } } diff --git a/bridges/ZoneTelechargementBridge.php b/bridges/ZoneTelechargementBridge.php index 01da87d..2d0c6b6 100644 --- a/bridges/ZoneTelechargementBridge.php +++ b/bridges/ZoneTelechargementBridge.php @@ -43,12 +43,4 @@ class ZoneTelechargementBridge extends BridgeAbstract { $limit++; } } - - public function getName() { - return $this->name; - } - - public function getURI() { - return $this->uri; - } }