mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 03:24:01 +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:
@@ -8,13 +8,11 @@ class AskfmBridge extends BridgeAbstract{
|
||||
$this->uri = "http://ask.fm/";
|
||||
$this->description = "Returns answers from an Ask.fm user";
|
||||
|
||||
$this->parameters["Ask.fm username"] =
|
||||
'[
|
||||
{
|
||||
"name" : "Username",
|
||||
"identifier" : "u"
|
||||
}
|
||||
]';
|
||||
$this->parameters["Ask.fm username"] = array(
|
||||
'u'=>array(
|
||||
'name'=>'Username'
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
|
Reference in New Issue
Block a user