bridges: Update bridges with 'required' attributes

This commit is contained in:
logmanoriginal 2016-08-15 01:19:16 +02:00
parent c689180fef
commit fa59a25229
13 changed files with 35 additions and 35 deletions

View file

@ -7,7 +7,7 @@ class AllocineFRBridge extends BridgeAbstract{
$this->name = "Allo Cine Bridge";
$this->uri = "http://www.allocine.fr";
$this->description = "Bridge for allocine.fr";
$this->update = "2016-08-10";
$this->update = "2016-08-15";
$this->parameters[] =
'[
@ -15,7 +15,7 @@ class AllocineFRBridge extends BridgeAbstract{
"name" : "category",
"identifier" : "category",
"type" : "list",
"required" : "true",
"required" : true,
"exampleValue" : "Faux Raccord",
"title" : "Select your category",
"values" :

View file

@ -7,13 +7,13 @@ class BooruprojectBridge extends BridgeAbstract{
$this->name = "Booruproject";
$this->uri = "http://booru.org/";
$this->description = "Returns images from given page and booruproject instance (****.booru.org)";
$this->update = "2016-08-09";
$this->update = "2016-08-15";
$this->parameters[] =
'[
{
"name" : "instance (required)",
"required" : "true",
"required" : true,
"identifier" : "i"
},
{

View file

@ -5,7 +5,7 @@ class CastorusBridge extends BridgeAbstract {
$this->name = "Castorus Bridge";
$this->uri = 'http://www.castorus.com';
$this->description = "Returns the latest changes";
$this->update = "2016-08-09";
$this->update = "2016-08-15";
$this->parameters["Get latest changes"] = '[]';
$this->parameters["Get latest changes via ZIP code"] =
@ -14,7 +14,7 @@ class CastorusBridge extends BridgeAbstract {
"name": "ZIP code",
"identifier" : "zip",
"type" : "text",
"required" : "true",
"required" : true,
"exampleValue" : "74910, 74",
"title" : "Insert ZIP code (complete or partial)"
}
@ -25,7 +25,7 @@ class CastorusBridge extends BridgeAbstract {
"name": "City name",
"identifier" : "city",
"type" : "text",
"required" : "true",
"required" : true,
"exampleValue" : "Seyssel, Seys",
"title" : "Insert city name (complete or partial)"
}

View file

@ -6,14 +6,14 @@ class ElsevierBridge extends BridgeAbstract{
$this->name = 'Elsevier journals recent articles';
$this->uri = 'http://www.journals.elsevier.com';
$this->description = 'Returns the recent articles published in Elsevier journals';
$this->update = '2016-08-09';
$this->update = '2016-08-15';
$this->parameters[] =
'[
{
"name" : "Journal name",
"identifier" : "j",
"required" : "true",
"required" : true,
"exampleValue" : "academic-pediatrics",
"title" : "Insert html-part of your journal"
}

View file

@ -7,14 +7,14 @@ class FacebookBridge extends BridgeAbstract{
$this->name = "Facebook";
$this->uri = "http://www.facebook.com/";
$this->description = "Input a page title or a profile log. For a profile log, please insert the parameter as follow : myExamplePage/132621766841117";
$this->update = "2016-08-09";
$this->update = "2016-08-15";
$this->parameters[] =
'[
{
"name" : "Username",
"identifier" : "u",
"required" : "required"
"required" : true
}
]';
}

View file

@ -5,7 +5,7 @@ class KununuBridge extends BridgeAbstract{
$this->name = "Kununu Bridge"; /* This will be replaced later! */
$this->uri = "https://www.kununu.com"; /* This will be replaced later! */
$this->description = "Returns the latest reviews for a company and site of your choice.";
$this->update = "2016-08-10";
$this->update = "2016-08-15";
$this->parameters['global'] =
'[
@ -13,7 +13,7 @@ class KununuBridge extends BridgeAbstract{
"name" : "Site",
"identifier" : "site",
"type" : "list",
"required" : "true",
"required" : true,
"exampleValue" : "United States",
"title" : "Select your site",
"values" :
@ -40,7 +40,7 @@ class KununuBridge extends BridgeAbstract{
"name" : "Load full article",
"identifier" : "full",
"type" : "checkbox",
"required" : "false",
"required" : false,
"exampleValue" : "checked",
"title" : "Activate to load full article"
}
@ -52,7 +52,7 @@ class KununuBridge extends BridgeAbstract{
"name" : "Company",
"identifier" : "company",
"type" : "text",
"required" : "true",
"required" : true,
"exampleValue" : "kununu-us",
"title" : "Insert company name (i.e. Kununu US) or URI path (i.e. kununu-us)"
}

View file

@ -8,7 +8,7 @@ class MangareaderBridge extends BridgeAbstract{
$this->name = "Mangareader Bridge";
$this->uri = "http://www.mangareader.net";
$this->description = "Returns the latest updates, popular mangas or manga updates (new chapters)";
$this->update = "2016-08-09";
$this->update = "2016-08-15";
$this->parameters["Get latest updates"] = '[]';
$this->parameters["Get popular mangas"] =
@ -17,7 +17,7 @@ class MangareaderBridge extends BridgeAbstract{
"name" : "Category",
"identifier" : "category",
"type" : "list",
"required" : "true",
"required" : true,
"values" : [
{
"name" : "All",
@ -182,7 +182,7 @@ class MangareaderBridge extends BridgeAbstract{
"name" : "Path",
"identifier" : "path",
"type" : "text",
"required" : "true",
"required" : true,
"pattern" : "[a-zA-Z0-9-_]*",
"exampleValue" : "bleach, umi-no-kishidan",
"title" : "URL part of desired manga"

View file

@ -5,7 +5,7 @@ class RTBFBridge extends BridgeAbstract {
$this->uri = "http://www.rtbf.be/auvio/emissions";
$this->description = "Returns the newest RTBF videos by series ID";
$this->maintainer = "Frenzie";
$this->update = "2016-08-09";
$this->update = "2016-08-15";
$this->parameters[] =
'[
@ -14,7 +14,7 @@ class RTBFBridge extends BridgeAbstract {
"identifier" : "c",
"name" : "series id",
"exampleValue" : "9500",
"required" : "required"
"required" : true
}
]';
}

View file

@ -7,7 +7,7 @@ class TwitterBridge extends BridgeAbstract{
$this->name = "Twitter Bridge";
$this->uri = "https://twitter.com/";
$this->description = "Returns tweets by keyword/hashtag or user name";
$this->update = "2016-08-10";
$this->update = "2016-08-15";
$this->parameters["global"] =
'[
@ -15,7 +15,7 @@ class TwitterBridge extends BridgeAbstract{
"name" : "Hide profile pictures",
"identifier" : "pic",
"type" : "checkbox",
"required" : "false",
"required" : false,
"exampleValue" : "checked",
"title" : "Activate to hide profile pictures in content"
}
@ -27,7 +27,7 @@ class TwitterBridge extends BridgeAbstract{
"name" : "Keyword or #hashtag",
"identifier" : "q",
"type" : "text",
"required" : "true",
"required" : true,
"exampleValue" : "rss-bridge, #rss-bridge",
"title" : "Insert a keyword or hashtag"
}
@ -39,7 +39,7 @@ class TwitterBridge extends BridgeAbstract{
"name" : "username",
"identifier" : "u",
"type" : "text",
"required" : "true",
"required" : true,
"exampleValue" : "sebsauvage",
"title" : "Insert a user name"
}

View file

@ -7,7 +7,7 @@ class VineBridge extends BridgeAbstract {
$this->name = "Vine bridge";
$this->uri = "http://vine.co/";
$this->description = "Returns the latests vines from vine user page";
$this->update = "2016-08-09";
$this->update = "2016-08-15";
$this->parameters[] =
'[
@ -15,7 +15,7 @@ class VineBridge extends BridgeAbstract {
"name" : "User id",
"identifier" : "u",
"type" : "text",
"required" : "true"
"required" : true
}
]';
}

View file

@ -9,7 +9,7 @@ class WikipediaBridge extends BridgeAbstract{
$this->name = 'Wikipedia bridge for many languages';
$this->uri = 'https://www.wikipedia.org/';
$this->description = 'Returns articles for a language of your choice';
$this->update = '2016-08-07';
$this->update = '2016-08-15';
$this->parameters[] =
'[
@ -17,7 +17,7 @@ class WikipediaBridge extends BridgeAbstract{
"name": "Language",
"identifier": "language",
"type": "list",
"required": "true",
"required": true,
"title": "Select your language",
"exampleValue": "English",
"values": [
@ -43,7 +43,7 @@ class WikipediaBridge extends BridgeAbstract{
"name": "Subject",
"identifier": "subject",
"type": "list",
"required": "true",
"required": true,
"title": "What subject are you interested in?",
"exampleValue": "Today\'s featured article",
"values": [
@ -61,7 +61,7 @@ class WikipediaBridge extends BridgeAbstract{
"name": "Load full article",
"identifier": "fullarticle",
"type": "checkbox",
"required": "false",
"required": false,
"title": "Activate to always load the full article",
"exampleValue": "false"
}

View file

@ -12,13 +12,13 @@ class WordPressBridge extends BridgeAbstract {
$this->name = "Wordpress Bridge";
$this->uri = "https://wordpress.org/";
$this->description = "Returns the 3 newest full posts of a Wordpress blog";
$this->update = "2016-08-09";
$this->update = "2016-08-15";
$this->parameters[] =
'[
{
"name" : "blog URL",
"required" : "true",
"required" : true,
"identifier" : "url"
}
]';

View file

@ -14,7 +14,7 @@ class YoutubeBridge extends BridgeAbstract {
$this->uri = 'https://www.youtube.com/';
$this->description = 'Returns the 10 newest videos by username/channel/playlist or search';
$this->maintainer = 'mitsukarenai';
$this->update = '2016-08-11';
$this->update = '2016-08-15';
$this->parameters['By username'] =
'[
@ -23,7 +23,7 @@ class YoutubeBridge extends BridgeAbstract {
"identifier" : "u",
"name" : "username",
"exampleValue" : "test",
"required" : "required"
"required" : true
}
]';
@ -34,7 +34,7 @@ class YoutubeBridge extends BridgeAbstract {
"identifier" : "c",
"name" : "channel id",
"exampleValue" : "15",
"required" : "required"
"required" : true
}
]';