1
0
Fork 0
forked from blallo/rss-bridge

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

View file

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

View file

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

View file

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

View file

@ -7,14 +7,14 @@ class FacebookBridge extends BridgeAbstract{
$this->name = "Facebook"; $this->name = "Facebook";
$this->uri = "http://www.facebook.com/"; $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->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[] = $this->parameters[] =
'[ '[
{ {
"name" : "Username", "name" : "Username",
"identifier" : "u", "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->name = "Kununu Bridge"; /* This will be replaced later! */
$this->uri = "https://www.kununu.com"; /* 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->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'] = $this->parameters['global'] =
'[ '[
@ -13,7 +13,7 @@ class KununuBridge extends BridgeAbstract{
"name" : "Site", "name" : "Site",
"identifier" : "site", "identifier" : "site",
"type" : "list", "type" : "list",
"required" : "true", "required" : true,
"exampleValue" : "United States", "exampleValue" : "United States",
"title" : "Select your site", "title" : "Select your site",
"values" : "values" :
@ -40,7 +40,7 @@ class KununuBridge extends BridgeAbstract{
"name" : "Load full article", "name" : "Load full article",
"identifier" : "full", "identifier" : "full",
"type" : "checkbox", "type" : "checkbox",
"required" : "false", "required" : false,
"exampleValue" : "checked", "exampleValue" : "checked",
"title" : "Activate to load full article" "title" : "Activate to load full article"
} }
@ -52,7 +52,7 @@ class KununuBridge extends BridgeAbstract{
"name" : "Company", "name" : "Company",
"identifier" : "company", "identifier" : "company",
"type" : "text", "type" : "text",
"required" : "true", "required" : true,
"exampleValue" : "kununu-us", "exampleValue" : "kununu-us",
"title" : "Insert company name (i.e. Kununu US) or URI path (i.e. 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->name = "Mangareader Bridge";
$this->uri = "http://www.mangareader.net"; $this->uri = "http://www.mangareader.net";
$this->description = "Returns the latest updates, popular mangas or manga updates (new chapters)"; $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 latest updates"] = '[]';
$this->parameters["Get popular mangas"] = $this->parameters["Get popular mangas"] =
@ -17,7 +17,7 @@ class MangareaderBridge extends BridgeAbstract{
"name" : "Category", "name" : "Category",
"identifier" : "category", "identifier" : "category",
"type" : "list", "type" : "list",
"required" : "true", "required" : true,
"values" : [ "values" : [
{ {
"name" : "All", "name" : "All",
@ -182,7 +182,7 @@ class MangareaderBridge extends BridgeAbstract{
"name" : "Path", "name" : "Path",
"identifier" : "path", "identifier" : "path",
"type" : "text", "type" : "text",
"required" : "true", "required" : true,
"pattern" : "[a-zA-Z0-9-_]*", "pattern" : "[a-zA-Z0-9-_]*",
"exampleValue" : "bleach, umi-no-kishidan", "exampleValue" : "bleach, umi-no-kishidan",
"title" : "URL part of desired manga" "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->uri = "http://www.rtbf.be/auvio/emissions";
$this->description = "Returns the newest RTBF videos by series ID"; $this->description = "Returns the newest RTBF videos by series ID";
$this->maintainer = "Frenzie"; $this->maintainer = "Frenzie";
$this->update = "2016-08-09"; $this->update = "2016-08-15";
$this->parameters[] = $this->parameters[] =
'[ '[
@ -14,7 +14,7 @@ class RTBFBridge extends BridgeAbstract {
"identifier" : "c", "identifier" : "c",
"name" : "series id", "name" : "series id",
"exampleValue" : "9500", "exampleValue" : "9500",
"required" : "required" "required" : true
} }
]'; ]';
} }

View file

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

View file

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

View file

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

View file

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

View file

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