diff --git a/bridges/AnimeUltimeBridge.php b/bridges/AnimeUltimeBridge.php index 68e199e7..2f832d70 100644 --- a/bridges/AnimeUltimeBridge.php +++ b/bridges/AnimeUltimeBridge.php @@ -3,44 +3,45 @@ class AnimeUltimeBridge extends BridgeAbstract { private $filter = 'Releases'; - public function loadMetadatas() { + public function loadMetadatas() { - $this->maintainer = "ORelio"; - $this->name = "Anime-Ultime"; - $this->uri = "http://www.anime-ultime.net/"; - $this->description = "Returns the 10 newest releases posted on Anime-Ultime"; - $this->update = "2015-10-30"; + $this->maintainer = 'ORelio'; + $this->name = 'Anime-Ultime'; + $this->uri = 'http://www.anime-ultime.net/'; + $this->description = 'Returns the 10 newest releases posted on Anime-Ultime'; + $this->update = '2015-10-30'; - $this->parameters[] = - '[ - { - "name" : "Type", - "type" : "list", - "identifier" : "type", - "values" : [ - { - "name" : "everything", - "value" : "" + $this->parameters[] = + '[ + { + "name" : "Type", + "type" : "list", + "identifier" : "type", + "values" : + [ + { + "name" : "Everything", + "value" : "" - }, - { - "name" : "Anime", - "value" : "A" + }, + { + "name" : "Anime", + "value" : "A" - }, - { - "name" : "Drama", - "value" : "D" - }, - { - "name" : "Tokusatsu", - "value" : "T" + }, + { + "name" : "Drama", + "value" : "D" + }, + { + "name" : "Tokusatsu", + "value" : "T" - } - ] - } - ]'; - } + } + ] + } + ]'; + } public function collectData(array $param) { diff --git a/bridges/CNETBridge.php b/bridges/CNETBridge.php index 7b4e1b31..ec7decf0 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-01-23'; + $this->update = '2016-02-06'; $this->parameters[] = '[ @@ -41,7 +41,7 @@ class CNETBridge extends BridgeAbstract { function CleanArticle($article_html) { $article_html = '

'.substr($article_html, strpos($article_html, '

') + 3); $article_html = StripWithDelimiters($article_html, '', ''); - $article_html = StripWithDelimiters($article_html, ''); + $article_html = StripWithDelimiters($article_html, ''); $article_html = StripWithDelimiters($article_html, '