From fa59a25229a11d9a8fbb93494713984f7d26fe06 Mon Sep 17 00:00:00 2001 From: logmanoriginal Date: Mon, 15 Aug 2016 01:19:16 +0200 Subject: [PATCH] bridges: Update bridges with 'required' attributes --- bridges/AllocineFRBridge.php | 4 ++-- bridges/BooruprojectBridge.php | 4 ++-- bridges/CastorusBridge.php | 6 +++--- bridges/ElsevierBridge.php | 4 ++-- bridges/FacebookBridge.php | 4 ++-- bridges/KununuBridge.php | 8 ++++---- bridges/MangareaderBridge.php | 6 +++--- bridges/RTBFBridge.php | 4 ++-- bridges/TwitterBridge.php | 8 ++++---- bridges/VineBridge.php | 4 ++-- bridges/WikipediaBridge.php | 8 ++++---- bridges/WordPressBridge.php | 4 ++-- bridges/YoutubeBridge.php | 6 +++--- 13 files changed, 35 insertions(+), 35 deletions(-) diff --git a/bridges/AllocineFRBridge.php b/bridges/AllocineFRBridge.php index b0a5b4c..456972b 100644 --- a/bridges/AllocineFRBridge.php +++ b/bridges/AllocineFRBridge.php @@ -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" : diff --git a/bridges/BooruprojectBridge.php b/bridges/BooruprojectBridge.php index 34c79d6..640a3ce 100644 --- a/bridges/BooruprojectBridge.php +++ b/bridges/BooruprojectBridge.php @@ -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" }, { diff --git a/bridges/CastorusBridge.php b/bridges/CastorusBridge.php index 6be6588..4752bbe 100644 --- a/bridges/CastorusBridge.php +++ b/bridges/CastorusBridge.php @@ -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)" } diff --git a/bridges/ElsevierBridge.php b/bridges/ElsevierBridge.php index 6c44cac..c4c507e 100644 --- a/bridges/ElsevierBridge.php +++ b/bridges/ElsevierBridge.php @@ -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" } diff --git a/bridges/FacebookBridge.php b/bridges/FacebookBridge.php index 96974fc..f889794 100644 --- a/bridges/FacebookBridge.php +++ b/bridges/FacebookBridge.php @@ -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 } ]'; } diff --git a/bridges/KununuBridge.php b/bridges/KununuBridge.php index 3b61fa6..dc4fe4b 100644 --- a/bridges/KununuBridge.php +++ b/bridges/KununuBridge.php @@ -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)" } diff --git a/bridges/MangareaderBridge.php b/bridges/MangareaderBridge.php index e8d53f4..1b8cc48 100644 --- a/bridges/MangareaderBridge.php +++ b/bridges/MangareaderBridge.php @@ -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" diff --git a/bridges/RTBFBridge.php b/bridges/RTBFBridge.php index d96dd27..5f6f340 100644 --- a/bridges/RTBFBridge.php +++ b/bridges/RTBFBridge.php @@ -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 } ]'; } diff --git a/bridges/TwitterBridge.php b/bridges/TwitterBridge.php index 04b0d0e..585589d 100644 --- a/bridges/TwitterBridge.php +++ b/bridges/TwitterBridge.php @@ -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" } diff --git a/bridges/VineBridge.php b/bridges/VineBridge.php index db63983..03a9383 100644 --- a/bridges/VineBridge.php +++ b/bridges/VineBridge.php @@ -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 } ]'; } diff --git a/bridges/WikipediaBridge.php b/bridges/WikipediaBridge.php index 5fb48f9..710e55b 100644 --- a/bridges/WikipediaBridge.php +++ b/bridges/WikipediaBridge.php @@ -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" } diff --git a/bridges/WordPressBridge.php b/bridges/WordPressBridge.php index 28e5704..35f6a49 100644 --- a/bridges/WordPressBridge.php +++ b/bridges/WordPressBridge.php @@ -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" } ]'; diff --git a/bridges/YoutubeBridge.php b/bridges/YoutubeBridge.php index 9fd0ea6..cc59119 100644 --- a/bridges/YoutubeBridge.php +++ b/bridges/YoutubeBridge.php @@ -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 } ]';