Last batch of bridges, all implemented !

Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
teromene 2015-11-05 15:50:18 +00:00
parent 2b54377148
commit 7268dbaae3
61 changed files with 1697 additions and 616 deletions

View file

@ -1,20 +1,25 @@
<?php
/**
* CNET Bridge
* Returns the newest articles
* 2015-09-08
*
* @name CNET News
* @homepage http://www.cnet.com/
* @description Returns the newest articles. <br /> You may specify a topic, else all topics are selected.
* @maintainer ORelio
* @update 2015-09-10
* @use1(topic="Topic name")
*/
class CNETBridge extends BridgeAbstract {
private $topicName = '';
public function loadMetadatas() {
$this->maintainer = "ORelio";
$this->name = "CNET News";
$this->uri = "http://www.cnet.com/";
$this->description = "Returns the newest articles. <br /> You may specify a topic, else all topics are selected.";
$this->update = "2015-09-10";
$this->parameters[] =
'[
{
"name" : "Topic name",
"identifier" : "topic"
}
]';
}
public function collectData(array $param) {
function ExtractFromDelimiters($string, $start, $end) {