mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 18:14:44 +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:
parent
2f09ae56ad
commit
f0e502ce37
79 changed files with 1381 additions and 2316 deletions
|
@ -11,24 +11,17 @@ class SuperbWallpapersBridge extends BridgeAbstract {
|
|||
$this->uri = "http://www.superbwallpapers.com/";
|
||||
$this->description = "Returns the latests wallpapers from SuperbWallpapers";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "Category",
|
||||
"identifier" : "c"
|
||||
},
|
||||
{
|
||||
"name" : "Max number of wallpapers",
|
||||
"identifier" : "m",
|
||||
"type" : "number"
|
||||
},
|
||||
{
|
||||
"name" : "resolution",
|
||||
"identifier" : "r",
|
||||
"exampleValue" : "1920x1200, 1680x1050, ..."
|
||||
}
|
||||
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'c'=>array('name'=>'category'),
|
||||
'm'=>array(
|
||||
'name'=>'Max number of wallpapers',
|
||||
'type'=>'number'
|
||||
),
|
||||
'r'=>array(
|
||||
'name'=>'resolution',
|
||||
'exampleValue'=>'1920x1200, 1680x1050,…'
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue