aboutsummaryrefslogtreecommitdiff
path: root/bridges/NumeramaBridge.php
diff options
context:
space:
mode:
authorGravatar logmanoriginal <log.man@gmx.de> 2016-08-09 20:01:21 +0200
committerGravatar logmanoriginal <log.man@gmx.de> 2016-08-09 20:08:46 +0200
commit63bb7ef24ded812d6c4b959ddbe0cafe04c83b39 (patch)
tree3efd503b81f1cc257ddc968849a1c714a6037837 /bridges/NumeramaBridge.php
parent9f3e7e1da763d47250b34bca1df667bfe8292cc4 (diff)
downloadrss-bridge-63bb7ef24ded812d6c4b959ddbe0cafe04c83b39.tar.gz
rss-bridge-63bb7ef24ded812d6c4b959ddbe0cafe04c83b39.tar.zst
rss-bridge-63bb7ef24ded812d6c4b959ddbe0cafe04c83b39.zip
bridges: Remove unnecessary functions getName() and getURI()
Diffstat (limited to 'bridges/NumeramaBridge.php')
-rw-r--r--bridges/NumeramaBridge.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/bridges/NumeramaBridge.php b/bridges/NumeramaBridge.php
index c8dcb4cc..d6248a63 100644
--- a/bridges/NumeramaBridge.php
+++ b/bridges/NumeramaBridge.php
@@ -7,7 +7,7 @@ class NumeramaBridge extends BridgeAbstract{
$this->name = 'Numerama';
$this->uri = 'http://www.numerama.com/';
$this->description = 'Returns the 5 newest posts from Numerama (full text)';
- $this->update = '2016-07-19';
+ $this->update = '2016-08-09';
}
@@ -19,7 +19,7 @@ class NumeramaBridge extends BridgeAbstract{
return $string;
}
- $feed = $this->getURI().'feed/';
+ $feed = $this->uri.'feed/';
$html = $this->file_get_html($feed) or $this->returnError('Could not request Numerama: '.$feed, 500);
$limit = 0;
@@ -45,14 +45,6 @@ class NumeramaBridge extends BridgeAbstract{
}
- public function getName() {
- return 'Numerama';
- }
-
- public function getURI() {
- return 'http://www.numerama.com/';
- }
-
public function getCacheDuration() {
return 1800; // 30min
}