mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-16 13:34: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:
@@ -6,25 +6,16 @@ class JapanExpoBridge extends BridgeAbstract{
|
||||
$this->name = 'Japan Expo Actualités';
|
||||
$this->uri = 'http://www.japan-expo-paris.com/fr/actualites';
|
||||
$this->description = 'Returns most recent entries from Japan Expo actualités.';
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "Mode",
|
||||
"type" : "list",
|
||||
"identifier" : "mode",
|
||||
"values" :
|
||||
[
|
||||
{
|
||||
"name" : "Titles only",
|
||||
"value" : "light"
|
||||
},
|
||||
{
|
||||
"name" : "Full Contents",
|
||||
"value" : "full"
|
||||
}
|
||||
]
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'mode'=>array(
|
||||
'name'=>'Mode',
|
||||
'type'=>'list',
|
||||
'values'=>array(
|
||||
'Titles only'=>'light',
|
||||
'Full Contents'=>'full'
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param) {
|
||||
|
Reference in New Issue
Block a user