mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-14 04:24:05 +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,16 +7,14 @@ class ElsevierBridge extends BridgeAbstract{
|
||||
$this->uri = 'http://www.journals.elsevier.com';
|
||||
$this->description = 'Returns the recent articles published in Elsevier journals';
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "Journal name",
|
||||
"identifier" : "j",
|
||||
"required" : true,
|
||||
"exampleValue" : "academic-pediatrics",
|
||||
"title" : "Insert html-part of your journal"
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'j'=>array(
|
||||
'name'=>'Journal name',
|
||||
'required'=>true,
|
||||
'exampleValue'=>'academic-pediactrics',
|
||||
'title'=>'Insert html-part of your journal'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// Extracts the list of names from an article as string
|
||||
|
Reference in New Issue
Block a user