mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-02 14:47:35 +02:00
[GiphyBridge] merge parameters context
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -10,16 +10,14 @@ class GiphyBridge extends BridgeAbstract{
|
|||||||
$this->uri = "http://giphy.com/";
|
$this->uri = "http://giphy.com/";
|
||||||
$this->description = "Bridge for giphy.com";
|
$this->description = "Bridge for giphy.com";
|
||||||
|
|
||||||
$this->parameters["By tag"] = array(
|
$this->parameters[] = array(
|
||||||
's'=>array('name'=>'search tag')
|
's'=>array('name'=>'search tag'),
|
||||||
);
|
|
||||||
|
|
||||||
$this->parameters["Without tag"] = array(
|
|
||||||
'n'=>array(
|
'n'=>array(
|
||||||
'name'=>'max number of returned items',
|
'name'=>'max number of returned items',
|
||||||
'type'=>'number'
|
'type'=>'number'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function collectData(array $param){
|
public function collectData(array $param){
|
||||||
|
Reference in New Issue
Block a user