mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-04 10:04:54 +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
|
@ -8,28 +8,24 @@ class NextgovBridge extends BridgeAbstract {
|
|||
$this->uri = 'https://www.nextgov.com/';
|
||||
$this->description = 'USA Federal technology news, best practices, and web 2.0 tools.';
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "Category",
|
||||
"type" : "list",
|
||||
"identifier" : "category",
|
||||
"values" :
|
||||
[
|
||||
{ "name" : "All", "value" : "all" },
|
||||
{ "name" : "Technology News", "value" : "technology-news" },
|
||||
{ "name" : "CIO Briefing", "value" : "cio-briefing" },
|
||||
{ "name" : "Emerging Tech", "value" : "emerging-tech" },
|
||||
{ "name" : "Cloud", "value" : "cloud-computing" },
|
||||
{ "name" : "Cybersecurity", "value" : "cybersecurity" },
|
||||
{ "name" : "Mobile", "value" : "mobile" },
|
||||
{ "name" : "Health", "value" : "health" },
|
||||
{ "name" : "Defense", "value" : "defense" },
|
||||
{ "name" : "Big Data", "value" : "big-data" }
|
||||
]
|
||||
}
|
||||
]';
|
||||
|
||||
$this->parameters[] = array(
|
||||
'category'=>array(
|
||||
'name'=>'Category',
|
||||
'type'=>'list',
|
||||
'values'=>array(
|
||||
'All'=>'all',
|
||||
'Technology News'=>'technology-news',
|
||||
'CIO Briefing'=>'cio-briefing',
|
||||
'Emerging Tech'=>'emerging-tech',
|
||||
'Cloud'=>'cloud-computing',
|
||||
'Cybersecurity'=>'cybersecurity',
|
||||
'Mobile'=>'mobile',
|
||||
'Health'=>'health',
|
||||
'Defense'=>'defense',
|
||||
'Big Data'=>'big-data'
|
||||
)
|
||||
)
|
||||
);
|
||||
}
|
||||
|
||||
public function collectData(array $param) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue