From 1a8d0babd1dbb6d6ae4a4aa9744537efae70abce Mon Sep 17 00:00:00 2001 From: Bocki Date: Thu, 24 Mar 2022 11:59:34 +0100 Subject: [PATCH] [Multiple] Fix all exampleValues and required variables (#2296) --- bridges/AO3Bridge.php | 3 +-- bridges/AcrimedBridge.php | 2 +- bridges/AlbionOnlineBridge.php | 1 + bridges/AllocineFRBridge.php | 2 +- bridges/AmazonBridge.php | 1 + bridges/ArtStationBridge.php | 3 ++- bridges/Arte7Bridge.php | 6 ++++-- bridges/AskfmBridge.php | 3 ++- bridges/AtmoOccitanieBridge.php | 3 ++- bridges/BakaUpdatesMangaReleasesBridge.php | 4 ++-- bridges/BandcampBridge.php | 13 +++++++++---- bridges/BooruprojectBridge.php | 12 ++++++++---- bridges/CNETFranceBridge.php | 4 ++-- bridges/CastorusBridge.php | 8 ++++---- bridges/CodebergBridge.php | 5 +++-- bridges/CryptomeBridge.php | 2 +- bridges/DailymotionBridge.php | 9 ++++++--- bridges/DealabsBridge.php | 1 + bridges/DerpibooruBridge.php | 3 ++- bridges/DesoutterBridge.php | 1 + bridges/DiarioDeNoticiasBridge.php | 1 + bridges/DiscogsBridge.php | 8 ++++++++ bridges/DonnonsBridge.php | 1 + bridges/DuckDuckGoBridge.php | 1 + bridges/EZTVBridge.php | 3 ++- bridges/ElloBridge.php | 2 ++ bridges/EpicgamesBridge.php | 1 + bridges/EtsyBridge.php | 2 +- bridges/FSecureBlogBridge.php | 1 + bridges/FolhaDeSaoPauloBridge.php | 1 + bridges/FourchanBridge.php | 4 +++- bridges/FurAffinityBridge.php | 15 ++++++++++++++- bridges/GitHubGistBridge.php | 2 +- bridges/GithubIssueBridge.php | 3 +++ bridges/GithubPullRequestBridge.php | 3 +++ bridges/GithubSearchBridge.php | 2 ++ bridges/GithubTrendingBridge.php | 1 - bridges/GlowficBridge.php | 4 +++- bridges/GoComicsBridge.php | 1 + bridges/GogsBridge.php | 8 ++++---- bridges/GoogleSearchBridge.php | 3 ++- bridges/HDWallpapersBridge.php | 4 +++- bridges/HackerNewsUserThreadsBridge.php | 1 + bridges/HaveIBeenPwnedBridge.php | 1 + bridges/HotUKDealsBridge.php | 1 + bridges/IKWYDBridge.php | 1 + bridges/IdenticaBridge.php | 1 + bridges/IndeedBridge.php | 1 + bridges/InstagramBridge.php | 3 +++ bridges/IvooxBridge.php | 3 ++- bridges/JustETFBridge.php | 1 + bridges/MangareaderBridge.php | 4 ++-- bridges/MarktplaatsBridge.php | 1 + bridges/MastodonBridge.php | 3 ++- bridges/MediapartBlogsBridge.php | 1 + bridges/MixCloudBridge.php | 1 + bridges/ModelKarteiBridge.php | 3 ++- bridges/MydealsBridge.php | 1 + bridges/OpenwhydBridge.php | 1 + bridges/PatreonBridge.php | 1 + bridges/PickyWallpapersBridge.php | 1 + bridges/PicukiBridge.php | 2 ++ bridges/PinterestBridge.php | 2 ++ bridges/PirateCommunityBridge.php | 1 + bridges/PixivBridge.php | 2 +- bridges/PornhubBridge.php | 3 ++- bridges/QPlayBridge.php | 1 + bridges/RedditBridge.php | 1 + bridges/ScoopItBridge.php | 1 + bridges/ScribdBridge.php | 4 ++-- bridges/SensCritiqueBridge.php | 3 ++- bridges/SkimfeedBridge.php | 4 ++-- bridges/SoundcloudBridge.php | 1 + bridges/SteamCommunityBridge.php | 1 + bridges/ThePirateBayBridge.php | 2 +- bridges/ThingiverseBridge.php | 2 +- bridges/TinyLetterBridge.php | 1 + bridges/TorrentGalaxyBridge.php | 1 + bridges/TwitchBridge.php | 1 + bridges/TwitterBridge.php | 5 +++-- bridges/UrlebirdBridge.php | 1 + bridges/ViadeoCompanyBridge.php | 1 + bridges/VimeoBridge.php | 1 + bridges/VkBridge.php | 1 + bridges/WallpaperflareBridge.php | 1 + bridges/WikiLeaksBridge.php | 2 +- bridges/WordPressBridge.php | 1 + bridges/WordPressPluginUpdateBridge.php | 1 + bridges/YeggiBridge.php | 2 +- bridges/YoutubeBridge.php | 12 +++++++----- 90 files changed, 180 insertions(+), 68 deletions(-) diff --git a/bridges/AO3Bridge.php b/bridges/AO3Bridge.php index a556cfb5..4a6f2ccf 100644 --- a/bridges/AO3Bridge.php +++ b/bridges/AO3Bridge.php @@ -12,8 +12,7 @@ class AO3Bridge extends BridgeAbstract { 'name' => 'url', 'required' => true, // Example: F/F tag, complete works only - 'exampleValue' => self::URI - . 'works?work_search[complete]=T&tag_id=F*s*F', + 'exampleValue' => 'https://archiveofourown.org/works?work_search[complete]=T&tag_id=F*s*F', ), ), 'Bookmarks' => array( diff --git a/bridges/AcrimedBridge.php b/bridges/AcrimedBridge.php index 7e0fb6b2..7d3fdcce 100644 --- a/bridges/AcrimedBridge.php +++ b/bridges/AcrimedBridge.php @@ -3,7 +3,7 @@ class AcrimedBridge extends FeedExpander { const MAINTAINER = 'qwertygc'; const NAME = 'Acrimed Bridge'; - const URI = 'http://www.acrimed.org/'; + const URI = 'https://www.acrimed.org/'; const CACHE_TIMEOUT = 4800; //2hours const DESCRIPTION = 'Returns the newest articles'; diff --git a/bridges/AlbionOnlineBridge.php b/bridges/AlbionOnlineBridge.php index 97284b3b..f51b815b 100644 --- a/bridges/AlbionOnlineBridge.php +++ b/bridges/AlbionOnlineBridge.php @@ -11,6 +11,7 @@ class AlbionOnlineBridge extends BridgeAbstract { 'postcount' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'title' => 'Maximum number of items to return', 'defaultValue' => 5, ), diff --git a/bridges/AllocineFRBridge.php b/bridges/AllocineFRBridge.php index c5f40eaa..994524ae 100644 --- a/bridges/AllocineFRBridge.php +++ b/bridges/AllocineFRBridge.php @@ -4,7 +4,7 @@ class AllocineFRBridge extends BridgeAbstract { const MAINTAINER = 'superbaillot.net'; const NAME = 'Allo Cine Bridge'; const CACHE_TIMEOUT = 25200; // 7h - const URI = 'http://www.allocine.fr/'; + const URI = 'https://www.allocine.fr/'; const DESCRIPTION = 'Bridge for allocine.fr'; const PARAMETERS = array( array( 'category' => array( diff --git a/bridges/AmazonBridge.php b/bridges/AmazonBridge.php index 25f11993..25c061f7 100644 --- a/bridges/AmazonBridge.php +++ b/bridges/AmazonBridge.php @@ -12,6 +12,7 @@ class AmazonBridge extends BridgeAbstract { 'q' => array( 'name' => 'Keyword', 'required' => true, + 'exampleValue' => 'watch', ), 'sort' => array( 'name' => 'Sort by', diff --git a/bridges/ArtStationBridge.php b/bridges/ArtStationBridge.php index 14323594..55bf87a8 100644 --- a/bridges/ArtStationBridge.php +++ b/bridges/ArtStationBridge.php @@ -10,7 +10,8 @@ class ArtStationBridge extends BridgeAbstract { 'Search Query' => array( 'q' => array( 'name' => 'Search term', - 'required' => true + 'required' => true, + 'exampleValue' => 'bird' ) ) ); diff --git a/bridges/Arte7Bridge.php b/bridges/Arte7Bridge.php index b1703433..fb2aa930 100644 --- a/bridges/Arte7Bridge.php +++ b/bridges/Arte7Bridge.php @@ -32,7 +32,8 @@ class Arte7Bridge extends BridgeAbstract { 'colfr' => array( 'name' => 'Collection id', 'required' => true, - 'title' => 'ex. RC-014095 pour https://www.arte.tv/fr/videos/RC-014095/blow-up/' + 'title' => 'ex. RC-014095 pour https://www.arte.tv/fr/videos/RC-014095/blow-up/', + 'exampleValue' => 'RC-014095' ) ), 'Catégorie (Allemand)' => array( @@ -57,7 +58,8 @@ class Arte7Bridge extends BridgeAbstract { 'colde' => array( 'name' => 'Collection id', 'required' => true, - 'title' => 'ex. RC-014095 pour https://www.arte.tv/de/videos/RC-014095/blow-up/' + 'title' => 'ex. RC-014095 pour https://www.arte.tv/de/videos/RC-014095/blow-up/', + 'exampleValue' => 'RC-014095' ) ) ); diff --git a/bridges/AskfmBridge.php b/bridges/AskfmBridge.php index 42393cb4..cf92ed6a 100644 --- a/bridges/AskfmBridge.php +++ b/bridges/AskfmBridge.php @@ -10,7 +10,8 @@ class AskfmBridge extends BridgeAbstract { 'Ask.fm username' => array( 'u' => array( 'name' => 'Username', - 'required' => true + 'required' => true, + 'exampleValue' => 'ApprovedAndReal' ) ) ); diff --git a/bridges/AtmoOccitanieBridge.php b/bridges/AtmoOccitanieBridge.php index cdc0f0c2..a934bad8 100644 --- a/bridges/AtmoOccitanieBridge.php +++ b/bridges/AtmoOccitanieBridge.php @@ -8,7 +8,8 @@ class AtmoOccitanieBridge extends BridgeAbstract { const PARAMETERS = array(array( 'city' => array( 'name' => 'Ville', - 'required' => true + 'required' => true, + 'exampleValue' => 'cahors' ) )); const CACHE_TIMEOUT = 7200; diff --git a/bridges/BakaUpdatesMangaReleasesBridge.php b/bridges/BakaUpdatesMangaReleasesBridge.php index 5a4db58b..aa4ab967 100644 --- a/bridges/BakaUpdatesMangaReleasesBridge.php +++ b/bridges/BakaUpdatesMangaReleasesBridge.php @@ -10,7 +10,7 @@ class BakaUpdatesMangaReleasesBridge extends BridgeAbstract { 'name' => 'Series ID', 'type' => 'number', 'required' => true, - 'exampleValue' => '12345' + 'exampleValue' => '188066' ) ), 'By list' => array( @@ -18,7 +18,7 @@ class BakaUpdatesMangaReleasesBridge extends BridgeAbstract { 'name' => 'List ID and Type', 'type' => 'text', 'required' => true, - 'exampleValue' => '123456&list=read' + 'exampleValue' => '4395&list=read' ) ) ); diff --git a/bridges/BandcampBridge.php b/bridges/BandcampBridge.php index f5f2d4d3..181038d1 100644 --- a/bridges/BandcampBridge.php +++ b/bridges/BandcampBridge.php @@ -11,7 +11,8 @@ class BandcampBridge extends BridgeAbstract { 'tag' => array( 'name' => 'tag', 'type' => 'text', - 'required' => true + 'required' => true, + 'exampleValue' => 'hip-hop-rap' ) ), 'By band' => array( @@ -19,7 +20,8 @@ class BandcampBridge extends BridgeAbstract { 'name' => 'band', 'type' => 'text', 'title' => 'Band name as seen in the band page URL', - 'required' => true + 'required' => true, + 'exampleValue' => 'aesoprock' ), 'type' => array( 'name' => 'Articles are', @@ -34,6 +36,7 @@ class BandcampBridge extends BridgeAbstract { 'limit' => array( 'name' => 'limit', 'type' => 'number', + 'required' => true, 'title' => 'Number of releases to return', 'defaultValue' => 5 ) @@ -67,13 +70,15 @@ class BandcampBridge extends BridgeAbstract { 'name' => 'band', 'type' => 'text', 'title' => 'Band name as seen in the album page URL', - 'required' => true + 'required' => true, + 'exampleValue' => 'aesoprock' ), 'album' => array( 'name' => 'album', 'type' => 'text', 'title' => 'Album name as seen in the album page URL', - 'required' => true + 'required' => true, + 'exampleValue' => 'appleseed' ), 'type' => array( 'name' => 'Articles are', diff --git a/bridges/BooruprojectBridge.php b/bridges/BooruprojectBridge.php index 6815d370..5c9a5199 100644 --- a/bridges/BooruprojectBridge.php +++ b/bridges/BooruprojectBridge.php @@ -5,7 +5,7 @@ class BooruprojectBridge extends GelbooruBridge { const MAINTAINER = 'mitsukarenai'; const NAME = 'Booruproject'; - const URI = 'http://booru.org/'; + const URI = 'https://booru.org/'; const DESCRIPTION = 'Returns images from given page of booruproject'; const PARAMETERS = array( 'global' => array( @@ -14,13 +14,17 @@ class BooruprojectBridge extends GelbooruBridge { 'type' => 'number' ), 't' => array( - 'name' => 'tags' + 'name' => 'tags', + 'required' => true, + 'exampleValue' => 'tagme', + 'title' => 'Use "all" to get all posts' ) ), 'Booru subdomain (subdomain.booru.org)' => array( 'i' => array( 'name' => 'Subdomain', - 'required' => true + 'required' => true, + 'exampleValue' => 'rm' ) ) ); @@ -29,7 +33,7 @@ class BooruprojectBridge extends GelbooruBridge { public function getURI(){ if(!is_null($this->getInput('i'))) { - return 'http://' . $this->getInput('i') . '.booru.org/'; + return 'https://' . $this->getInput('i') . '.booru.org/'; } return parent::getURI(); diff --git a/bridges/CNETFranceBridge.php b/bridges/CNETFranceBridge.php index d005fd1f..9195d1b4 100644 --- a/bridges/CNETFranceBridge.php +++ b/bridges/CNETFranceBridge.php @@ -12,13 +12,13 @@ class CNETFranceBridge extends FeedExpander 'name' => 'Exclude by title', 'required' => false, 'title' => 'Title term, separated by semicolon (;)', - 'defaultValue' => 'bon plan;bons plans;au meilleur prix;des meilleures offres;Amazon Prime Day;RED by SFR ou B&You' + 'exampleValue' => 'bon plan;bons plans;au meilleur prix;des meilleures offres;Amazon Prime Day;RED by SFR ou B&You' ), 'url' => array( 'name' => 'Exclude by url', 'required' => false, 'title' => 'URL term, separated by semicolon (;)', - 'defaultValue' => 'bon-plan;bons-plans' + 'exampleValue' => 'bon-plan;bons-plans' ) ) ); diff --git a/bridges/CastorusBridge.php b/bridges/CastorusBridge.php index fbd5007c..52714774 100644 --- a/bridges/CastorusBridge.php +++ b/bridges/CastorusBridge.php @@ -13,8 +13,8 @@ class CastorusBridge extends BridgeAbstract { 'name' => 'ZIP code', 'type' => 'text', 'required' => true, - 'exampleValue' => '74910, 74', - 'title' => 'Insert ZIP code (complete or partial)' + 'exampleValue' => '7', + 'title' => 'Insert ZIP code (complete or partial). e.g: 78125 OR 781 OR 7' ) ), 'Get latest changes via city name' => array( @@ -22,8 +22,8 @@ class CastorusBridge extends BridgeAbstract { 'name' => 'City name', 'type' => 'text', 'required' => true, - 'exampleValue' => 'Seyssel, Seys', - 'title' => 'Insert city name (complete or partial)' + 'exampleValue' => 'Paris', + 'title' => 'Insert city name (complete or partial). e.g: Paris OR Par OR P' ) ) ); diff --git a/bridges/CodebergBridge.php b/bridges/CodebergBridge.php index 0d441740..d8a40525 100644 --- a/bridges/CodebergBridge.php +++ b/bridges/CodebergBridge.php @@ -20,6 +20,7 @@ class CodebergBridge extends BridgeAbstract { 'name' => 'Issue ID', 'type' => 'text', 'required' => true, + 'exampleValue' => '513', ) ), 'Pull Requests' => array(), @@ -28,14 +29,14 @@ class CodebergBridge extends BridgeAbstract { 'username' => array( 'name' => 'Username', 'type' => 'text', - 'exampleValue' => 'username', + 'exampleValue' => 'Codeberg', 'title' => 'Username of account that the repository belongs to.', 'required' => true, ), 'repo' => array( 'name' => 'Repository', 'type' => 'text', - 'exampleValue' => 'repo', + 'exampleValue' => 'Community', 'required' => true, ) ) diff --git a/bridges/CryptomeBridge.php b/bridges/CryptomeBridge.php index dd63cb39..a2991c18 100644 --- a/bridges/CryptomeBridge.php +++ b/bridges/CryptomeBridge.php @@ -11,7 +11,7 @@ class CryptomeBridge extends BridgeAbstract { 'n' => array( 'name' => 'number of elements', 'type' => 'number', - 'defaultValue' => 20, + 'required' => true, 'exampleValue' => 10 ) )); diff --git a/bridges/DailymotionBridge.php b/bridges/DailymotionBridge.php index 4ceb87a9..688c0a10 100644 --- a/bridges/DailymotionBridge.php +++ b/bridges/DailymotionBridge.php @@ -11,19 +11,22 @@ class DailymotionBridge extends BridgeAbstract { 'By username' => array( 'u' => array( 'name' => 'username', - 'required' => true + 'required' => true, + 'exampleValue' => 'moviepilot', ) ), 'By playlist id' => array( 'p' => array( 'name' => 'playlist id', - 'required' => true + 'required' => true, + 'exampleValue' => 'x6xyc6', ) ), 'From search results' => array( 's' => array( 'name' => 'Search keyword', - 'required' => true + 'required' => true, + 'exampleValue' => 'matrix', ), 'pa' => array( 'name' => 'Page', diff --git a/bridges/DealabsBridge.php b/bridges/DealabsBridge.php index 6a2d902e..2d4245ad 100644 --- a/bridges/DealabsBridge.php +++ b/bridges/DealabsBridge.php @@ -10,6 +10,7 @@ class DealabsBridge extends PepperBridgeAbstract { 'q' => array( 'name' => 'Mot(s) clé(s)', 'type' => 'text', + 'exampleValue' => 'lamp', 'required' => true ), 'hide_expired' => array( diff --git a/bridges/DerpibooruBridge.php b/bridges/DerpibooruBridge.php index 062f30ad..8fb2777c 100644 --- a/bridges/DerpibooruBridge.php +++ b/bridges/DerpibooruBridge.php @@ -24,7 +24,8 @@ class DerpibooruBridge extends BridgeAbstract { ), 'q' => array( 'name' => 'Query', - 'required' => true + 'required' => true, + 'exampleValue' => 'dog', ) ) ); diff --git a/bridges/DesoutterBridge.php b/bridges/DesoutterBridge.php index 01e19b18..f2221b4b 100644 --- a/bridges/DesoutterBridge.php +++ b/bridges/DesoutterBridge.php @@ -120,6 +120,7 @@ class DesoutterBridge extends BridgeAbstract { 'limit' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'defaultValue' => 3, 'title' => "Maximum number of items to return in the feed.\n0 = unlimited" ) diff --git a/bridges/DiarioDeNoticiasBridge.php b/bridges/DiarioDeNoticiasBridge.php index 2d6e99f6..b3ab85a1 100644 --- a/bridges/DiarioDeNoticiasBridge.php +++ b/bridges/DiarioDeNoticiasBridge.php @@ -8,6 +8,7 @@ class DiarioDeNoticiasBridge extends BridgeAbstract { 'Tag' => array( 'n' => array( 'name' => 'Tag Name', + 'required' => true, 'exampleValue' => 'rogerio-casanova', ) ) diff --git a/bridges/DiscogsBridge.php b/bridges/DiscogsBridge.php index 889f2879..df94a030 100644 --- a/bridges/DiscogsBridge.php +++ b/bridges/DiscogsBridge.php @@ -11,18 +11,26 @@ class DiscogsBridge extends BridgeAbstract { 'artistid' => array( 'name' => 'Artist ID', 'type' => 'number', + 'required' => true, + 'exampleValue' => '28104', + 'title' => 'Only the ID from an artist page. EG /artist/28104-Aesop-Rock is 28104' ) ), 'Label Releases' => array( 'labelid' => array( 'name' => 'Label ID', 'type' => 'number', + 'required' => true, + 'exampleValue' => '8201', + 'title' => 'Only the ID from a label page. EG /label/8201-Rhymesayers-Entertainment is 8201' ) ), 'User Wantlist' => array( 'username_wantlist' => array( 'name' => 'Username', 'type' => 'text', + 'required' => true, + 'exampleValue' => 'TheBlindMaster', ) ), 'User Folder' => array( diff --git a/bridges/DonnonsBridge.php b/bridges/DonnonsBridge.php index 991bd504..823b0a5a 100644 --- a/bridges/DonnonsBridge.php +++ b/bridges/DonnonsBridge.php @@ -23,6 +23,7 @@ class DonnonsBridge extends BridgeAbstract { 'p' => array( 'name' => 'Nombre de pages à scanner', 'type' => 'number', + 'required' => true, 'defaultValue' => 5, 'title' => 'Indique le nombre de pages de donnons.org qui seront scannées' ) diff --git a/bridges/DuckDuckGoBridge.php b/bridges/DuckDuckGoBridge.php index a1af20f5..378996da 100644 --- a/bridges/DuckDuckGoBridge.php +++ b/bridges/DuckDuckGoBridge.php @@ -13,6 +13,7 @@ class DuckDuckGoBridge extends BridgeAbstract { const PARAMETERS = array( array( 'u' => array( 'name' => 'keyword', + 'exampleValue' => 'duck', 'required' => true ), 'sort' => array( diff --git a/bridges/EZTVBridge.php b/bridges/EZTVBridge.php index 6e0f7e90..88be5662 100644 --- a/bridges/EZTVBridge.php +++ b/bridges/EZTVBridge.php @@ -10,7 +10,8 @@ on EZTV. Get showID from URLs in https://eztv.ch/shows/showID/show-full-name.'; const PARAMETERS = array( array( 'i' => array( 'name' => 'Show ids', - 'exampleValue' => 'showID1,showID2,…', + 'exampleValue' => '1017,249', + 'title' => 'One of more showids as a comma separated list', 'required' => true ) )); diff --git a/bridges/ElloBridge.php b/bridges/ElloBridge.php index 8bcfa922..4b1dfaee 100644 --- a/bridges/ElloBridge.php +++ b/bridges/ElloBridge.php @@ -12,6 +12,7 @@ class ElloBridge extends BridgeAbstract { 'u' => array( 'name' => 'Username', 'required' => true, + 'exampleValue' => 'zteph', 'title' => 'Username' ) ), @@ -19,6 +20,7 @@ class ElloBridge extends BridgeAbstract { 's' => array( 'name' => 'Search', 'required' => true, + 'exampleValue' => 'bird', 'title' => 'Search' ) ) diff --git a/bridges/EpicgamesBridge.php b/bridges/EpicgamesBridge.php index cf9c1192..d7dd6afe 100644 --- a/bridges/EpicgamesBridge.php +++ b/bridges/EpicgamesBridge.php @@ -11,6 +11,7 @@ class EpicgamesBridge extends BridgeAbstract { 'postcount' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'title' => 'Maximum number of items to return', 'defaultValue' => 10, ), diff --git a/bridges/EtsyBridge.php b/bridges/EtsyBridge.php index b7d21144..0b42ca12 100644 --- a/bridges/EtsyBridge.php +++ b/bridges/EtsyBridge.php @@ -12,7 +12,7 @@ class EtsyBridge extends BridgeAbstract { 'type' => 'text', 'required' => true, 'title' => 'Insert your search term here', - 'exampleValue' => 'Enter your search term' + 'exampleValue' => 'lamp' ), 'queryextension' => array( 'name' => 'Query extension', diff --git a/bridges/FSecureBlogBridge.php b/bridges/FSecureBlogBridge.php index 0ba5e22f..f39462f2 100644 --- a/bridges/FSecureBlogBridge.php +++ b/bridges/FSecureBlogBridge.php @@ -13,6 +13,7 @@ class FSecureBlogBridge extends BridgeAbstract { ), 'language' => array( 'name' => 'Language', + 'required' => true, 'defaultValue' => 'en', ), 'oldest_date' => array( diff --git a/bridges/FolhaDeSaoPauloBridge.php b/bridges/FolhaDeSaoPauloBridge.php index 9a9717cb..91f1268c 100644 --- a/bridges/FolhaDeSaoPauloBridge.php +++ b/bridges/FolhaDeSaoPauloBridge.php @@ -9,6 +9,7 @@ class FolhaDeSaoPauloBridge extends FeedExpander { 'feed' => array( 'name' => 'Feed sub-URL', 'type' => 'text', + 'required' => true, 'title' => 'Select the sub-feed (see https://www1.folha.uol.com.br/feed/)', 'exampleValue' => 'emcimadahora/rss091.xml', ) diff --git a/bridges/FourchanBridge.php b/bridges/FourchanBridge.php index 126c36c5..4680475e 100644 --- a/bridges/FourchanBridge.php +++ b/bridges/FourchanBridge.php @@ -10,11 +10,13 @@ class FourchanBridge extends BridgeAbstract { const PARAMETERS = array( array( 'c' => array( 'name' => 'Thread category', - 'required' => true + 'required' => true, + 'exampleValue' => 'po', ), 't' => array( 'name' => 'Thread number', 'type' => 'number', + 'exampleValue' => '597271', 'required' => true ) )); diff --git a/bridges/FurAffinityBridge.php b/bridges/FurAffinityBridge.php index 2f78ee4f..b5bd3ead 100644 --- a/bridges/FurAffinityBridge.php +++ b/bridges/FurAffinityBridge.php @@ -9,7 +9,8 @@ class FurAffinityBridge extends BridgeAbstract { 'Search' => array( 'q' => array( 'name' => 'Query', - 'required' => true + 'required' => true, + 'exampleValue' => 'dog', ), 'rating-general' => array( 'name' => 'General', @@ -79,6 +80,7 @@ class FurAffinityBridge extends BridgeAbstract { 'limit' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'defaultValue' => 10, 'title' => 'Limit number of submissions to return. -1 for unlimited.' ), @@ -449,6 +451,7 @@ class FurAffinityBridge extends BridgeAbstract { 'username-journals' => array( 'name' => 'Username', 'required' => true, + 'exampleValue' => 'dhw', 'title' => 'Lowercase username as seen in URLs' ), 'limit' => array( @@ -463,6 +466,7 @@ class FurAffinityBridge extends BridgeAbstract { 'journal-id' => array( 'name' => 'Journal ID', 'required' => true, + 'exampleValue' => '10008853', 'type' => 'number', 'title' => 'Number seen in journal URL' ) @@ -471,11 +475,13 @@ class FurAffinityBridge extends BridgeAbstract { 'username-gallery' => array( 'name' => 'Username', 'required' => true, + 'exampleValue' => 'dhw', 'title' => 'Lowercase username as seen in URLs' ), 'limit' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'defaultValue' => 10, 'title' => 'Limit number of submissions to return. -1 for unlimited.' ), @@ -496,11 +502,13 @@ class FurAffinityBridge extends BridgeAbstract { 'username-scraps' => array( 'name' => 'Username', 'required' => true, + 'exampleValue' => 'dhw', 'title' => 'Lowercase username as seen in URLs' ), 'limit' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'defaultValue' => 10, 'title' => 'Limit number of submissions to return. -1 for unlimited.' ), @@ -521,11 +529,13 @@ class FurAffinityBridge extends BridgeAbstract { 'username-favorites' => array( 'name' => 'Username', 'required' => true, + 'exampleValue' => 'dhw', 'title' => 'Lowercase username as seen in URLs' ), 'limit' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'defaultValue' => 10, 'title' => 'Limit number of submissions to return. -1 for unlimited.' ), @@ -546,17 +556,20 @@ class FurAffinityBridge extends BridgeAbstract { 'username-folder' => array( 'name' => 'Username', 'required' => true, + 'exampleValue' => 'kopk', 'title' => 'Lowercase username as seen in URLs' ), 'folder-id' => array( 'name' => 'Folder ID', 'required' => true, + 'exampleValue' => '1031990', 'type' => 'number', 'title' => 'Number seen in folder URL' ), 'limit' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'defaultValue' => 10, 'title' => 'Limit number of submissions to return. -1 for unlimited.' ), diff --git a/bridges/GitHubGistBridge.php b/bridges/GitHubGistBridge.php index a2339956..5760d8a0 100644 --- a/bridges/GitHubGistBridge.php +++ b/bridges/GitHubGistBridge.php @@ -14,7 +14,7 @@ class GitHubGistBridge extends BridgeAbstract { 'type' => 'text', 'required' => true, 'title' => 'Insert Gist ID or URI', - 'exampleValue' => '2646763, https://gist.github.com/2646763' + 'exampleValue' => '2646763' ) )); diff --git a/bridges/GithubIssueBridge.php b/bridges/GithubIssueBridge.php index 1aaae078..ea78a47d 100644 --- a/bridges/GithubIssueBridge.php +++ b/bridges/GithubIssueBridge.php @@ -11,10 +11,12 @@ class GithubIssueBridge extends BridgeAbstract { 'global' => array( 'u' => array( 'name' => 'User name', + 'exampleValue' => 'RSS-Bridge', 'required' => true ), 'p' => array( 'name' => 'Project name', + 'exampleValue' => 'rss-bridge', 'required' => true ) ), @@ -28,6 +30,7 @@ class GithubIssueBridge extends BridgeAbstract { 'i' => array( 'name' => 'Issue number', 'type' => 'number', + 'exampleValue' => '2099', 'required' => true ) ) diff --git a/bridges/GithubPullRequestBridge.php b/bridges/GithubPullRequestBridge.php index 91bd903b..cb70d7fc 100644 --- a/bridges/GithubPullRequestBridge.php +++ b/bridges/GithubPullRequestBridge.php @@ -9,10 +9,12 @@ class GitHubPullRequestBridge extends GithubIssueBridge { 'global' => array( 'u' => array( 'name' => 'User name', + 'exampleValue' => 'RSS-Bridge', 'required' => true ), 'p' => array( 'name' => 'Project name', + 'exampleValue' => 'rss-bridge', 'required' => true ) ), @@ -26,6 +28,7 @@ class GitHubPullRequestBridge extends GithubIssueBridge { 'i' => array( 'name' => 'Pull Request number', 'type' => 'number', + 'exampleValue' => '2100', 'required' => true ) ) diff --git a/bridges/GithubSearchBridge.php b/bridges/GithubSearchBridge.php index 2af3ae6a..fdabfc94 100644 --- a/bridges/GithubSearchBridge.php +++ b/bridges/GithubSearchBridge.php @@ -9,6 +9,8 @@ class GithubSearchBridge extends BridgeAbstract { const PARAMETERS = array( array( 's' => array( 'type' => 'text', + 'required' => true, + 'exampleValue' => 'rss-bridge', 'name' => 'Search query' ) )); diff --git a/bridges/GithubTrendingBridge.php b/bridges/GithubTrendingBridge.php index c482c343..e91b114e 100644 --- a/bridges/GithubTrendingBridge.php +++ b/bridges/GithubTrendingBridge.php @@ -584,7 +584,6 @@ class GithubTrendingBridge extends BridgeAbstract { 'date_range' => array( 'name' => 'Date range', 'type' => 'list', - 'required' => false, 'values' => array( 'Today' => 'today', 'Weekly' => 'weekly', diff --git a/bridges/GlowficBridge.php b/bridges/GlowficBridge.php index e8975a79..a3a85ef4 100644 --- a/bridges/GlowficBridge.php +++ b/bridges/GlowficBridge.php @@ -10,7 +10,9 @@ class GlowficBridge extends BridgeAbstract { 'Thread' => array( 'post_id' => array( 'name' => 'Post ID', - 'title' => 'https://www.glowfic.com/posts/', + 'title' => 'https://www.glowfic.com/posts/POST ID', + 'required' => true, + 'exampleValue' => '2756', 'type' => 'number' ), 'start_page' => array( diff --git a/bridges/GoComicsBridge.php b/bridges/GoComicsBridge.php index c7b63cdc..9bca83e2 100644 --- a/bridges/GoComicsBridge.php +++ b/bridges/GoComicsBridge.php @@ -10,6 +10,7 @@ class GoComicsBridge extends BridgeAbstract { 'comicname' => array( 'name' => 'comicname', 'type' => 'text', + 'exampleValue' => 'heartofthecity', 'required' => true ) )); diff --git a/bridges/GogsBridge.php b/bridges/GogsBridge.php index c2823753..ef608d54 100644 --- a/bridges/GogsBridge.php +++ b/bridges/GogsBridge.php @@ -11,19 +11,19 @@ class GogsBridge extends BridgeAbstract { 'global' => array( 'host' => array( 'name' => 'Host', - 'exampleValue' => 'https://gogs.io', + 'exampleValue' => 'notabug.org', 'required' => true, 'title' => 'Host name without trailing slash', ), 'user' => array( 'name' => 'Username', - 'exampleValue' => 'gogs', + 'exampleValue' => 'PDModdingCommunity', 'required' => true, 'title' => 'User name as it appears in the URL', ), 'project' => array( 'name' => 'Project name', - 'exampleValue' => 'gogs', + 'exampleValue' => 'PD-Loader', 'required' => true, 'title' => 'Project name as it appears in the URL', ), @@ -47,7 +47,7 @@ class GogsBridge extends BridgeAbstract { 'issue' => array( 'name' => 'Issue number', 'type' => 'number', - 'exampleValue' => 102, + 'exampleValue' => 100, 'required' => true, 'title' => 'Issue number from the issues list', ), diff --git a/bridges/GoogleSearchBridge.php b/bridges/GoogleSearchBridge.php index 222fac3f..fd9a4911 100644 --- a/bridges/GoogleSearchBridge.php +++ b/bridges/GoogleSearchBridge.php @@ -18,7 +18,8 @@ class GoogleSearchBridge extends BridgeAbstract { const PARAMETERS = array(array( 'q' => array( 'name' => 'keyword', - 'required' => true + 'required' => true, + 'exampleValue' => 'rss-bridge', ) )); diff --git a/bridges/HDWallpapersBridge.php b/bridges/HDWallpapersBridge.php index 5fdc8cf4..c2dc5c20 100644 --- a/bridges/HDWallpapersBridge.php +++ b/bridges/HDWallpapersBridge.php @@ -9,6 +9,7 @@ class HDWallpapersBridge extends BridgeAbstract { const PARAMETERS = array( array( 'c' => array( 'name' => 'category', + 'required' => true, 'defaultValue' => 'latest_wallpapers' ), 'm' => array( @@ -16,8 +17,9 @@ class HDWallpapersBridge extends BridgeAbstract { ), 'r' => array( 'name' => 'resolution', + 'required' => true, 'defaultValue' => 'HD', - 'exampleValue' => 'HD, 1920x1200, 1680x1050,…' + 'title' => 'e.g=HD OR 1920x1200 OR 1680x1050' ) )); diff --git a/bridges/HackerNewsUserThreadsBridge.php b/bridges/HackerNewsUserThreadsBridge.php index c512444e..1b8410dd 100644 --- a/bridges/HackerNewsUserThreadsBridge.php +++ b/bridges/HackerNewsUserThreadsBridge.php @@ -11,6 +11,7 @@ class HackerNewsUserThreadsBridge extends BridgeAbstract { 'name' => 'User', 'type' => 'text', 'required' => true, + 'exampleValue' => 'nixcraft', 'title' => 'User whose threads you want to see' ) )); diff --git a/bridges/HaveIBeenPwnedBridge.php b/bridges/HaveIBeenPwnedBridge.php index 6f8d6571..6885dd64 100644 --- a/bridges/HaveIBeenPwnedBridge.php +++ b/bridges/HaveIBeenPwnedBridge.php @@ -17,6 +17,7 @@ class HaveIBeenPwnedBridge extends BridgeAbstract { 'item_limit' => array( 'name' => 'Limit number of returned items', 'type' => 'number', + 'required' => true, 'defaultValue' => 20, ) )); diff --git a/bridges/HotUKDealsBridge.php b/bridges/HotUKDealsBridge.php index 08fcd75c..aee883bc 100644 --- a/bridges/HotUKDealsBridge.php +++ b/bridges/HotUKDealsBridge.php @@ -12,6 +12,7 @@ class HotUKDealsBridge extends PepperBridgeAbstract { 'q' => array( 'name' => 'Keyword(s)', 'type' => 'text', + 'exampleValue' => 'lamp', 'required' => true ), 'hide_expired' => array( diff --git a/bridges/IKWYDBridge.php b/bridges/IKWYDBridge.php index afa8b2da..eed7dc38 100644 --- a/bridges/IKWYDBridge.php +++ b/bridges/IKWYDBridge.php @@ -9,6 +9,7 @@ class IKWYDBridge extends BridgeAbstract { array( 'ip' => array( 'name' => 'IP Address', + 'exampleValue' => '8.8.8.8', 'required' => true ), 'update' => array( diff --git a/bridges/IdenticaBridge.php b/bridges/IdenticaBridge.php index 3b47f7a5..a9f47d10 100644 --- a/bridges/IdenticaBridge.php +++ b/bridges/IdenticaBridge.php @@ -10,6 +10,7 @@ class IdenticaBridge extends BridgeAbstract { const PARAMETERS = array( array( 'u' => array( 'name' => 'username', + 'exampleValue' => 'jxself', 'required' => true ) )); diff --git a/bridges/IndeedBridge.php b/bridges/IndeedBridge.php index 5f1e5624..d86430a0 100644 --- a/bridges/IndeedBridge.php +++ b/bridges/IndeedBridge.php @@ -74,6 +74,7 @@ class IndeedBridge extends BridgeAbstract { 'limit' => array( 'name' => 'Limit', 'type' => 'number', + 'required' => true, 'title' => 'Maximum number of items to return', 'exampleValue' => 20, ) diff --git a/bridges/InstagramBridge.php b/bridges/InstagramBridge.php index 4e03c352..dc248b14 100644 --- a/bridges/InstagramBridge.php +++ b/bridges/InstagramBridge.php @@ -19,18 +19,21 @@ class InstagramBridge extends BridgeAbstract { 'Username' => array( 'u' => array( 'name' => 'username', + 'exampleValue' => 'aesoprockwins', 'required' => true ) ), 'Hashtag' => array( 'h' => array( 'name' => 'hashtag', + 'exampleValue' => 'beautifulday', 'required' => true ) ), 'Location' => array( 'l' => array( 'name' => 'location', + 'exampleValue' => 'london', 'required' => true ) ), diff --git a/bridges/IvooxBridge.php b/bridges/IvooxBridge.php index 8d632c14..d48be598 100644 --- a/bridges/IvooxBridge.php +++ b/bridges/IvooxBridge.php @@ -14,7 +14,8 @@ class IvooxBridge extends BridgeAbstract { 'Search result' => array( 's' => array( 'name' => 'keyword', - 'exampleValue' => 'test' + 'required' => true, + 'exampleValue' => 'car' ) ) ); diff --git a/bridges/JustETFBridge.php b/bridges/JustETFBridge.php index 23d876d4..2f322789 100644 --- a/bridges/JustETFBridge.php +++ b/bridges/JustETFBridge.php @@ -17,6 +17,7 @@ class JustETFBridge extends BridgeAbstract { 'name' => 'ISIN', 'type' => 'text', 'required' => true, + 'exampleValue' => 'IE00B4X9L533', 'pattern' => '[a-zA-Z]{2}[a-zA-Z0-9]{10}', 'title' => 'ISIN, consisting of 2-letter country code, 9-character identifier, check character' ), diff --git a/bridges/MangareaderBridge.php b/bridges/MangareaderBridge.php index a41113a3..cdc28ac9 100644 --- a/bridges/MangareaderBridge.php +++ b/bridges/MangareaderBridge.php @@ -62,8 +62,8 @@ class MangareaderBridge extends BridgeAbstract { 'name' => 'Path', 'required' => true, 'pattern' => '[a-zA-Z0-9-_]*', - 'exampleValue' => 'bleach, umi-no-kishidan', - 'title' => 'URL part of desired manga' + 'exampleValue' => 'bleach', + 'title' => 'URL part of desired manga. e.g= bleach OR umi-no-kishidan' ), 'limit' => array( 'name' => 'Limit', diff --git a/bridges/MarktplaatsBridge.php b/bridges/MarktplaatsBridge.php index 1a8970ba..7e2877d3 100644 --- a/bridges/MarktplaatsBridge.php +++ b/bridges/MarktplaatsBridge.php @@ -9,6 +9,7 @@ class MarktplaatsBridge extends BridgeAbstract { 'q' => array( 'name' => 'query', 'type' => 'text', + 'exampleValue' => 'lamp', 'required' => true, 'title' => 'The search string for marktplaats', ), diff --git a/bridges/MastodonBridge.php b/bridges/MastodonBridge.php index de5e41f4..549647ea 100644 --- a/bridges/MastodonBridge.php +++ b/bridges/MastodonBridge.php @@ -10,7 +10,8 @@ class MastodonBridge extends FeedExpander { const PARAMETERS = array(array( 'canusername' => array( - 'name' => 'Canonical username (ex : @sebsauvage@framapiaf.org)', + 'name' => 'Canonical username', + 'exampleValue' => '@sebsauvage@framapiaf.org', 'required' => true, ), 'norep' => array( diff --git a/bridges/MediapartBlogsBridge.php b/bridges/MediapartBlogsBridge.php index 63f7212d..b46ef2a2 100644 --- a/bridges/MediapartBlogsBridge.php +++ b/bridges/MediapartBlogsBridge.php @@ -10,6 +10,7 @@ class MediapartBlogsBridge extends BridgeAbstract { 'name' => 'Blog Slug', 'type' => 'text', 'title' => 'Blog user name', + 'required' => true, 'exampleValue' => 'jean-vincot', ) ) diff --git a/bridges/MixCloudBridge.php b/bridges/MixCloudBridge.php index 006f17a4..fb38ab5e 100644 --- a/bridges/MixCloudBridge.php +++ b/bridges/MixCloudBridge.php @@ -12,6 +12,7 @@ class MixCloudBridge extends BridgeAbstract { 'u' => array( 'name' => 'username', 'required' => true, + 'exampleValue' => 'DJJazzyJeff', ) )); diff --git a/bridges/ModelKarteiBridge.php b/bridges/ModelKarteiBridge.php index e69dbd72..2a1bee9c 100644 --- a/bridges/ModelKarteiBridge.php +++ b/bridges/ModelKarteiBridge.php @@ -7,7 +7,8 @@ class ModelKarteiBridge extends BridgeAbstract { const PARAMETERS = array(array( 'model_id' => array( 'name' => 'Model ID', - 'exampleValue' => '123456' + 'required' => true, + 'exampleValue' => '614931' ) )); diff --git a/bridges/MydealsBridge.php b/bridges/MydealsBridge.php index ebff8159..b889c5ae 100644 --- a/bridges/MydealsBridge.php +++ b/bridges/MydealsBridge.php @@ -12,6 +12,7 @@ class MydealsBridge extends PepperBridgeAbstract { 'q' => array( 'name' => 'Stichworten', 'type' => 'text', + 'exampleValue' => 'watch', 'required' => true ), 'hide_expired' => array( diff --git a/bridges/OpenwhydBridge.php b/bridges/OpenwhydBridge.php index e1a921be..865003c6 100644 --- a/bridges/OpenwhydBridge.php +++ b/bridges/OpenwhydBridge.php @@ -10,6 +10,7 @@ class OpenwhydBridge extends BridgeAbstract { const PARAMETERS = array( array( 'u' => array( 'name' => 'username/id', + 'exampleValue' => '5247f0267e91c862b2b052d0', 'required' => true ) )); diff --git a/bridges/PatreonBridge.php b/bridges/PatreonBridge.php index f60d1556..5f9a4565 100644 --- a/bridges/PatreonBridge.php +++ b/bridges/PatreonBridge.php @@ -10,6 +10,7 @@ class PatreonBridge extends BridgeAbstract { 'name' => 'Creator', 'type' => 'text', 'required' => true, + 'exampleValue' => 'sanityinc', 'title' => 'Creator name as seen in their page URL' ) )); diff --git a/bridges/PickyWallpapersBridge.php b/bridges/PickyWallpapersBridge.php index 73945ccf..2c4f0be3 100644 --- a/bridges/PickyWallpapersBridge.php +++ b/bridges/PickyWallpapersBridge.php @@ -10,6 +10,7 @@ class PickyWallpapersBridge extends BridgeAbstract { const PARAMETERS = array( array( 'c' => array( 'name' => 'category', + 'exampleValue' => 'funny', 'required' => true ), 's' => array( diff --git a/bridges/PicukiBridge.php b/bridges/PicukiBridge.php index 6fa4d0a5..f3e1f15a 100644 --- a/bridges/PicukiBridge.php +++ b/bridges/PicukiBridge.php @@ -11,12 +11,14 @@ class PicukiBridge extends BridgeAbstract 'Username' => array( 'u' => array( 'name' => 'username', + 'exampleValue' => 'aesoprockwins', 'required' => true, ), ), 'Hashtag' => array( 'h' => array( 'name' => 'hashtag', + 'exampleValue' => 'beautifulday', 'required' => true, ), ) diff --git a/bridges/PinterestBridge.php b/bridges/PinterestBridge.php index 48c0cfca..1f8f86cd 100644 --- a/bridges/PinterestBridge.php +++ b/bridges/PinterestBridge.php @@ -10,10 +10,12 @@ class PinterestBridge extends FeedExpander { 'By username and board' => array( 'u' => array( 'name' => 'username', + 'exampleValue' => 'VIGOIndustries', 'required' => true ), 'b' => array( 'name' => 'board', + 'exampleValue' => 'bathroom-remodels', 'required' => true ) ) diff --git a/bridges/PirateCommunityBridge.php b/bridges/PirateCommunityBridge.php index bf0385fc..ce861015 100644 --- a/bridges/PirateCommunityBridge.php +++ b/bridges/PirateCommunityBridge.php @@ -9,6 +9,7 @@ class PirateCommunityBridge extends BridgeAbstract { 't' => array( 'name' => 'Topic ID', 'type' => 'number', + 'exampleValue' => '12651', 'title' => 'Topic ID from topic URL. If the URL contains t=12 the ID is 12.', 'required' => true ))); diff --git a/bridges/PixivBridge.php b/bridges/PixivBridge.php index a7c12179..1e1b8952 100644 --- a/bridges/PixivBridge.php +++ b/bridges/PixivBridge.php @@ -18,7 +18,7 @@ class PixivBridge extends BridgeAbstract { ), 'tag' => array( 'name' => 'Query to search', - 'exampleValue' => '葬送のフリーレン', + 'exampleValue' => 'オリジナル', 'required' => true ), 'posts' => array( diff --git a/bridges/PornhubBridge.php b/bridges/PornhubBridge.php index f6db03eb..40ad3bdd 100644 --- a/bridges/PornhubBridge.php +++ b/bridges/PornhubBridge.php @@ -11,6 +11,7 @@ class PornhubBridge extends BridgeAbstract { const PARAMETERS = array(array( 'q' => array( 'name' => 'User name', + 'exampleValue' => 'asa-akira', 'required' => true, ), 'type' => array( @@ -21,7 +22,7 @@ class PornhubBridge extends BridgeAbstract { 'model' => 'model', 'pornstar' => 'pornstar', ), - 'defaultValue' => 'users', + 'defaultValue' => 'pornstar', ), 'sort' => array( 'name' => 'Sort by', diff --git a/bridges/QPlayBridge.php b/bridges/QPlayBridge.php index a32274a5..64395b32 100644 --- a/bridges/QPlayBridge.php +++ b/bridges/QPlayBridge.php @@ -9,6 +9,7 @@ class QPlayBridge extends BridgeAbstract { 'program' => array( 'name' => 'Program Name', 'type' => 'text', + 'exampleValue' => 'bridgebroken', 'required' => true, ), ), diff --git a/bridges/RedditBridge.php b/bridges/RedditBridge.php index a04bff93..538d810b 100644 --- a/bridges/RedditBridge.php +++ b/bridges/RedditBridge.php @@ -55,6 +55,7 @@ class RedditBridge extends BridgeAbstract { 'u' => array( 'name' => 'User', 'required' => true, + 'exampleValue' => 'shwikibot', 'title' => 'User name' ), 'comments' => array( diff --git a/bridges/ScoopItBridge.php b/bridges/ScoopItBridge.php index ae3bcc77..6cf70ce5 100644 --- a/bridges/ScoopItBridge.php +++ b/bridges/ScoopItBridge.php @@ -10,6 +10,7 @@ class ScoopItBridge extends BridgeAbstract { const PARAMETERS = array( array( 'u' => array( 'name' => 'keyword', + 'exampleValue' => 'docker', 'required' => true ) )); diff --git a/bridges/ScribdBridge.php b/bridges/ScribdBridge.php index a18af935..22a45ba5 100644 --- a/bridges/ScribdBridge.php +++ b/bridges/ScribdBridge.php @@ -9,8 +9,8 @@ class ScribdBridge extends BridgeAbstract { 'name' => 'Profile URL', 'type' => 'text', 'required' => true, - 'title' => 'Profile URL. Example: https://www.scribd.com/user/489040929/number10leaks-com', - 'exampleValue' => 'https://www.scribd.com/user/' + 'title' => 'Profile URL. Example: https://www.scribd.com/user/217860653/Legal-Momentum', + 'exampleValue' => 'https://www.scribd.com/user/217860653/Legal-Momentum' ), )); diff --git a/bridges/SensCritiqueBridge.php b/bridges/SensCritiqueBridge.php index 65dc8836..e34beea7 100644 --- a/bridges/SensCritiqueBridge.php +++ b/bridges/SensCritiqueBridge.php @@ -10,7 +10,8 @@ class SensCritiqueBridge extends BridgeAbstract { const PARAMETERS = array( array( 's' => array( 'name' => 'Series', - 'type' => 'checkbox' + 'type' => 'checkbox', + 'defaultValue' => 'checked' ), 'g' => array( 'name' => 'Video Games', diff --git a/bridges/SkimfeedBridge.php b/bridges/SkimfeedBridge.php index c8a6d068..d4475c77 100644 --- a/bridges/SkimfeedBridge.php +++ b/bridges/SkimfeedBridge.php @@ -402,8 +402,8 @@ class SkimfeedBridge extends BridgeAbstract { 'name' => 'Configuration', 'type' => 'text', 'required' => true, - 'title' => 'Enter feed numbers from Skimfeed!', - 'exampleValue' => '5,8,2,l,p,9,23' + 'title' => 'Enter feed numbers from Skimfeed! e.g: 5,8,2,l,p,9,23', + 'exampleValue' => '5' ) ), 'global' => array( diff --git a/bridges/SoundcloudBridge.php b/bridges/SoundcloudBridge.php index 74bb7bae..cf86a373 100644 --- a/bridges/SoundcloudBridge.php +++ b/bridges/SoundcloudBridge.php @@ -9,6 +9,7 @@ class SoundCloudBridge extends BridgeAbstract { const PARAMETERS = array(array( 'u' => array( 'name' => 'username', + 'exampleValue' => 'thekidlaroi', 'required' => true ), 't' => array( diff --git a/bridges/SteamCommunityBridge.php b/bridges/SteamCommunityBridge.php index acd19a10..b0f08cf0 100644 --- a/bridges/SteamCommunityBridge.php +++ b/bridges/SteamCommunityBridge.php @@ -10,6 +10,7 @@ class SteamCommunityBridge extends BridgeAbstract { array( 'i' => array( 'name' => 'App ID', + 'exampleValue' => '730', 'required' => true ), 'category' => array( diff --git a/bridges/ThePirateBayBridge.php b/bridges/ThePirateBayBridge.php index e6b08ef9..68c39d5e 100644 --- a/bridges/ThePirateBayBridge.php +++ b/bridges/ThePirateBayBridge.php @@ -16,7 +16,7 @@ class ThePirateBayBridge extends BridgeAbstract { const PARAMETERS = array( array( 'q' => array( 'name' => 'keywords/username/category, separated by semicolons', - 'exampleValue' => 'first list;second list;…', + 'exampleValue' => 'simpsons', 'required' => true ), 'crit' => array( diff --git a/bridges/ThingiverseBridge.php b/bridges/ThingiverseBridge.php index ff0d50fb..077c195a 100644 --- a/bridges/ThingiverseBridge.php +++ b/bridges/ThingiverseBridge.php @@ -12,7 +12,7 @@ class ThingiverseBridge extends BridgeAbstract { 'type' => 'text', 'required' => true, 'title' => 'Insert your search term here', - 'exampleValue' => 'Enter your search term' + 'exampleValue' => 'vase' ), 'sortby' => array( 'name' => 'Sort by', diff --git a/bridges/TinyLetterBridge.php b/bridges/TinyLetterBridge.php index e7f1240c..96c53331 100644 --- a/bridges/TinyLetterBridge.php +++ b/bridges/TinyLetterBridge.php @@ -8,6 +8,7 @@ class TinyLetterBridge extends BridgeAbstract { array( 'username' => array( 'name' => 'User Name', + 'required' => true, 'exampleValue' => 'forwards', ) ) diff --git a/bridges/TorrentGalaxyBridge.php b/bridges/TorrentGalaxyBridge.php index a498fb19..e7d42a7e 100644 --- a/bridges/TorrentGalaxyBridge.php +++ b/bridges/TorrentGalaxyBridge.php @@ -13,6 +13,7 @@ class TorrentGalaxyBridge extends BridgeAbstract { 'search' => array( 'name' => 'search', 'required' => true, + 'exampleValue' => 'simpsons', 'title' => 'Type your query' ), 'lang' => array( diff --git a/bridges/TwitchBridge.php b/bridges/TwitchBridge.php index 9d4e9111..a0e089dd 100644 --- a/bridges/TwitchBridge.php +++ b/bridges/TwitchBridge.php @@ -11,6 +11,7 @@ class TwitchBridge extends BridgeAbstract { 'name' => 'Channel', 'type' => 'text', 'required' => true, + 'exampleValue' => 'criticalrole', 'title' => 'Lowercase channel name as seen in channel URL' ), 'type' => array( diff --git a/bridges/TwitterBridge.php b/bridges/TwitterBridge.php index b96a3db9..0340302d 100644 --- a/bridges/TwitterBridge.php +++ b/bridges/TwitterBridge.php @@ -30,7 +30,7 @@ class TwitterBridge extends BridgeAbstract { 'q' => array( 'name' => 'Keyword or #hashtag', 'required' => true, - 'exampleValue' => 'rss-bridge, #rss-bridge', + 'exampleValue' => 'rss-bridge', 'title' => << array( 'name' => 'User', 'required' => true, - 'exampleValue' => 'sebsauvage', + 'exampleValue' => 'Scobleizer', 'title' => 'Insert a user name' ), 'list' => array( 'name' => 'List', 'required' => true, + 'exampleValue' => 'Tech-News', 'title' => 'Insert the list name' ), 'filter' => array( diff --git a/bridges/UrlebirdBridge.php b/bridges/UrlebirdBridge.php index 6e1b4b14..98a16aae 100644 --- a/bridges/UrlebirdBridge.php +++ b/bridges/UrlebirdBridge.php @@ -12,6 +12,7 @@ class UrlebirdBridge extends BridgeAbstract { 'name' => '@username or #hashtag', 'type' => 'text', 'required' => true, + 'exampleValue' => '@willsmith', 'title' => '@username or #hashtag' ) ) diff --git a/bridges/ViadeoCompanyBridge.php b/bridges/ViadeoCompanyBridge.php index c508cb82..17550aaa 100644 --- a/bridges/ViadeoCompanyBridge.php +++ b/bridges/ViadeoCompanyBridge.php @@ -11,6 +11,7 @@ class ViadeoCompanyBridge extends BridgeAbstract { const PARAMETERS = array( array( 'c' => array( 'name' => 'Company name', + 'exampleValue' => 'apple', 'required' => true ) )); diff --git a/bridges/VimeoBridge.php b/bridges/VimeoBridge.php index 31c43dbd..d97026d6 100644 --- a/bridges/VimeoBridge.php +++ b/bridges/VimeoBridge.php @@ -12,6 +12,7 @@ class VimeoBridge extends BridgeAbstract { 'q' => array( 'name' => 'Search Query', 'type' => 'text', + 'exampleValue' => 'birds', 'required' => true ), 'type' => array( diff --git a/bridges/VkBridge.php b/bridges/VkBridge.php index 40a0c5c8..162dd6c5 100644 --- a/bridges/VkBridge.php +++ b/bridges/VkBridge.php @@ -14,6 +14,7 @@ class VkBridge extends BridgeAbstract array( 'u' => array( 'name' => 'Group or user name', + 'exampleValue' => 'elonmusk_tech', 'required' => true ), 'hide_reposts' => array( diff --git a/bridges/WallpaperflareBridge.php b/bridges/WallpaperflareBridge.php index b8df0c69..60486368 100644 --- a/bridges/WallpaperflareBridge.php +++ b/bridges/WallpaperflareBridge.php @@ -8,6 +8,7 @@ class WallpaperflareBridge extends XPathAbstract { '' => array( 'search' => array( 'name' => 'Search', + 'exampleValue' => 'birds', 'required' => true ) )); diff --git a/bridges/WikiLeaksBridge.php b/bridges/WikiLeaksBridge.php index 363cf0c0..cf44b066 100644 --- a/bridges/WikiLeaksBridge.php +++ b/bridges/WikiLeaksBridge.php @@ -28,7 +28,7 @@ class WikiLeaksBridge extends BridgeAbstract { 'name' => 'Show teaser', 'type' => 'checkbox', 'title' => 'If checked feeds will display the teaser', - 'defaultValue' => true + 'defaultValue' => 'checked' ) ) ); diff --git a/bridges/WordPressBridge.php b/bridges/WordPressBridge.php index 08771d54..d31fdb9c 100644 --- a/bridges/WordPressBridge.php +++ b/bridges/WordPressBridge.php @@ -7,6 +7,7 @@ class WordPressBridge extends FeedExpander { const PARAMETERS = array( array( 'url' => array( 'name' => 'Blog URL', + 'exampleValue' => 'https://www.wpbeginner.com/', 'required' => true ) )); diff --git a/bridges/WordPressPluginUpdateBridge.php b/bridges/WordPressPluginUpdateBridge.php index 2cf994d7..e347a907 100644 --- a/bridges/WordPressPluginUpdateBridge.php +++ b/bridges/WordPressPluginUpdateBridge.php @@ -11,6 +11,7 @@ class WordPressPluginUpdateBridge extends BridgeAbstract { array( 'pluginUrl' => array( 'name' => 'URL to the plugin', + 'exampleValue' => 'https://wordpress.org/plugins/wp-rss-aggregator/', 'required' => true ) ) diff --git a/bridges/YeggiBridge.php b/bridges/YeggiBridge.php index 24cdbd09..d4e3383b 100644 --- a/bridges/YeggiBridge.php +++ b/bridges/YeggiBridge.php @@ -12,7 +12,7 @@ class YeggiBridge extends BridgeAbstract { 'type' => 'text', 'required' => true, 'title' => 'Insert your search term here', - 'exampleValue' => 'Enter your search term' + 'exampleValue' => 'vase' ), 'sortby' => array( 'name' => 'Sort by', diff --git a/bridges/YoutubeBridge.php b/bridges/YoutubeBridge.php index c58e8d71..536d6c29 100644 --- a/bridges/YoutubeBridge.php +++ b/bridges/YoutubeBridge.php @@ -18,34 +18,36 @@ class YoutubeBridge extends BridgeAbstract { 'By username' => array( 'u' => array( 'name' => 'username', - 'exampleValue' => 'test', + 'exampleValue' => 'LinusTechTips', 'required' => true ) ), 'By channel id' => array( 'c' => array( 'name' => 'channel id', - 'exampleValue' => '15', + 'exampleValue' => 'UCw38-8_Ibv_L6hlKChHO9dQ', 'required' => true ) ), 'By custom name' => array( 'custom' => array( 'name' => 'custom name', - 'exampleValue' => 'nasa', + 'exampleValue' => 'LinusTechTips', 'required' => true ) ), 'By playlist Id' => array( 'p' => array( 'name' => 'playlist id', - 'exampleValue' => '15' + 'exampleValue' => 'PL8mG-RkN2uTzJc8N0EoyhdC54prvBBLpj', + 'required' => true ) ), 'Search result' => array( 's' => array( 'name' => 'search keyword', - 'exampleValue' => 'test' + 'exampleValue' => 'LinusTechTips', + 'required' => true ), 'pa' => array( 'name' => 'page',