mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-30 21:30:14 +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:
@@ -13,14 +13,12 @@ class WordPressBridge extends BridgeAbstract {
|
||||
$this->uri = "https://wordpress.org/";
|
||||
$this->description = "Returns the 3 newest full posts of a Wordpress blog";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "blog URL",
|
||||
"required" : true,
|
||||
"identifier" : "url"
|
||||
}
|
||||
]';
|
||||
$this->parameters[] = array(
|
||||
'url'=>array(
|
||||
'name'=>'Blog URL',
|
||||
'required'=>true
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
// Returns the content type for a given html dom
|
||||
|
Reference in New Issue
Block a user