diff --git a/bridges/CNETBridge.php b/bridges/CNETBridge.php
index 28ada059..7b4e1b31 100644
--- a/bridges/CNETBridge.php
+++ b/bridges/CNETBridge.php
@@ -3,22 +3,22 @@ class CNETBridge extends BridgeAbstract {
private $topicName = '';
- public function loadMetadatas() {
+ public function loadMetadatas() {
- $this->maintainer = "ORelio";
- $this->name = "CNET News";
- $this->uri = "http://www.cnet.com/";
- $this->description = "Returns the newest articles.
You may specify a topic, else all topics are selected.";
- $this->update = "2015-09-10";
+ $this->maintainer = 'ORelio';
+ $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->parameters[] =
- '[
- {
- "name" : "Topic name",
- "identifier" : "topic"
- }
- ]';
- }
+ $this->parameters[] =
+ '[
+ {
+ "name" : "Topic name",
+ "identifier" : "topic"
+ }
+ ]';
+ }
public function collectData(array $param) {
@@ -39,7 +39,8 @@ class CNETBridge extends BridgeAbstract {
}
function CleanArticle($article_html) {
- $article_html = '
'.substr($article_html, strpos($article_html, '
') + 18); + $article_html = '
'.substr($article_html, strpos($article_html, '
') + 3); + $article_html = StripWithDelimiters($article_html, '', ''); $article_html = StripWithDelimiters($article_html, ''); $article_html = StripWithDelimiters($article_html, '