mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-23 20:24:56 +02:00
Last batch of bridges, all implemented !
Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
parent
2b54377148
commit
7268dbaae3
61 changed files with 1697 additions and 616 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue