mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-30 11:30:11 +02:00
[bridges] migrate all bridges to an array based definition of parameters
see github issue 356 Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -7,14 +7,12 @@ class NovelUpdatesBridge extends BridgeAbstract{
|
||||
$this->name = "Novel Updates";
|
||||
$this->uri = "http://www.novelupdates.com/";
|
||||
$this->description = "Returns releases from Novel Updates";
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "Novel URL",
|
||||
"identifier" : "n",
|
||||
"required": true
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'n'=>array(
|
||||
'name'=>'Novel URL',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
|
Reference in New Issue
Block a user