[Multiple] Fix all exampleValues and required variables (#2296)

This commit is contained in:
Bocki 2022-03-24 11:59:34 +01:00 committed by GitHub
parent f766193106
commit 1a8d0babd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
90 changed files with 180 additions and 68 deletions

View File

@ -12,8 +12,7 @@ class AO3Bridge extends BridgeAbstract {
'name' => 'url', 'name' => 'url',
'required' => true, 'required' => true,
// Example: F/F tag, complete works only // Example: F/F tag, complete works only
'exampleValue' => self::URI 'exampleValue' => 'https://archiveofourown.org/works?work_search[complete]=T&tag_id=F*s*F',
. 'works?work_search[complete]=T&tag_id=F*s*F',
), ),
), ),
'Bookmarks' => array( 'Bookmarks' => array(

View File

@ -3,7 +3,7 @@ class AcrimedBridge extends FeedExpander {
const MAINTAINER = 'qwertygc'; const MAINTAINER = 'qwertygc';
const NAME = 'Acrimed Bridge'; const NAME = 'Acrimed Bridge';
const URI = 'http://www.acrimed.org/'; const URI = 'https://www.acrimed.org/';
const CACHE_TIMEOUT = 4800; //2hours const CACHE_TIMEOUT = 4800; //2hours
const DESCRIPTION = 'Returns the newest articles'; const DESCRIPTION = 'Returns the newest articles';

View File

@ -11,6 +11,7 @@ class AlbionOnlineBridge extends BridgeAbstract {
'postcount' => array( 'postcount' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'title' => 'Maximum number of items to return', 'title' => 'Maximum number of items to return',
'defaultValue' => 5, 'defaultValue' => 5,
), ),

View File

@ -4,7 +4,7 @@ class AllocineFRBridge extends BridgeAbstract {
const MAINTAINER = 'superbaillot.net'; const MAINTAINER = 'superbaillot.net';
const NAME = 'Allo Cine Bridge'; const NAME = 'Allo Cine Bridge';
const CACHE_TIMEOUT = 25200; // 7h const CACHE_TIMEOUT = 25200; // 7h
const URI = 'http://www.allocine.fr/'; const URI = 'https://www.allocine.fr/';
const DESCRIPTION = 'Bridge for allocine.fr'; const DESCRIPTION = 'Bridge for allocine.fr';
const PARAMETERS = array( array( const PARAMETERS = array( array(
'category' => array( 'category' => array(

View File

@ -12,6 +12,7 @@ class AmazonBridge extends BridgeAbstract {
'q' => array( 'q' => array(
'name' => 'Keyword', 'name' => 'Keyword',
'required' => true, 'required' => true,
'exampleValue' => 'watch',
), ),
'sort' => array( 'sort' => array(
'name' => 'Sort by', 'name' => 'Sort by',

View File

@ -10,7 +10,8 @@ class ArtStationBridge extends BridgeAbstract {
'Search Query' => array( 'Search Query' => array(
'q' => array( 'q' => array(
'name' => 'Search term', 'name' => 'Search term',
'required' => true 'required' => true,
'exampleValue' => 'bird'
) )
) )
); );

View File

@ -32,7 +32,8 @@ class Arte7Bridge extends BridgeAbstract {
'colfr' => array( 'colfr' => array(
'name' => 'Collection id', 'name' => 'Collection id',
'required' => true, '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( 'Catégorie (Allemand)' => array(
@ -57,7 +58,8 @@ class Arte7Bridge extends BridgeAbstract {
'colde' => array( 'colde' => array(
'name' => 'Collection id', 'name' => 'Collection id',
'required' => true, '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'
) )
) )
); );

View File

@ -10,7 +10,8 @@ class AskfmBridge extends BridgeAbstract {
'Ask.fm username' => array( 'Ask.fm username' => array(
'u' => array( 'u' => array(
'name' => 'Username', 'name' => 'Username',
'required' => true 'required' => true,
'exampleValue' => 'ApprovedAndReal'
) )
) )
); );

View File

@ -8,7 +8,8 @@ class AtmoOccitanieBridge extends BridgeAbstract {
const PARAMETERS = array(array( const PARAMETERS = array(array(
'city' => array( 'city' => array(
'name' => 'Ville', 'name' => 'Ville',
'required' => true 'required' => true,
'exampleValue' => 'cahors'
) )
)); ));
const CACHE_TIMEOUT = 7200; const CACHE_TIMEOUT = 7200;

View File

@ -10,7 +10,7 @@ class BakaUpdatesMangaReleasesBridge extends BridgeAbstract {
'name' => 'Series ID', 'name' => 'Series ID',
'type' => 'number', 'type' => 'number',
'required' => true, 'required' => true,
'exampleValue' => '12345' 'exampleValue' => '188066'
) )
), ),
'By list' => array( 'By list' => array(
@ -18,7 +18,7 @@ class BakaUpdatesMangaReleasesBridge extends BridgeAbstract {
'name' => 'List ID and Type', 'name' => 'List ID and Type',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => '123456&list=read' 'exampleValue' => '4395&list=read'
) )
) )
); );

View File

@ -11,7 +11,8 @@ class BandcampBridge extends BridgeAbstract {
'tag' => array( 'tag' => array(
'name' => 'tag', 'name' => 'tag',
'type' => 'text', 'type' => 'text',
'required' => true 'required' => true,
'exampleValue' => 'hip-hop-rap'
) )
), ),
'By band' => array( 'By band' => array(
@ -19,7 +20,8 @@ class BandcampBridge extends BridgeAbstract {
'name' => 'band', 'name' => 'band',
'type' => 'text', 'type' => 'text',
'title' => 'Band name as seen in the band page URL', 'title' => 'Band name as seen in the band page URL',
'required' => true 'required' => true,
'exampleValue' => 'aesoprock'
), ),
'type' => array( 'type' => array(
'name' => 'Articles are', 'name' => 'Articles are',
@ -34,6 +36,7 @@ class BandcampBridge extends BridgeAbstract {
'limit' => array( 'limit' => array(
'name' => 'limit', 'name' => 'limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'title' => 'Number of releases to return', 'title' => 'Number of releases to return',
'defaultValue' => 5 'defaultValue' => 5
) )
@ -67,13 +70,15 @@ class BandcampBridge extends BridgeAbstract {
'name' => 'band', 'name' => 'band',
'type' => 'text', 'type' => 'text',
'title' => 'Band name as seen in the album page URL', 'title' => 'Band name as seen in the album page URL',
'required' => true 'required' => true,
'exampleValue' => 'aesoprock'
), ),
'album' => array( 'album' => array(
'name' => 'album', 'name' => 'album',
'type' => 'text', 'type' => 'text',
'title' => 'Album name as seen in the album page URL', 'title' => 'Album name as seen in the album page URL',
'required' => true 'required' => true,
'exampleValue' => 'appleseed'
), ),
'type' => array( 'type' => array(
'name' => 'Articles are', 'name' => 'Articles are',

View File

@ -5,7 +5,7 @@ class BooruprojectBridge extends GelbooruBridge {
const MAINTAINER = 'mitsukarenai'; const MAINTAINER = 'mitsukarenai';
const NAME = 'Booruproject'; const NAME = 'Booruproject';
const URI = 'http://booru.org/'; const URI = 'https://booru.org/';
const DESCRIPTION = 'Returns images from given page of booruproject'; const DESCRIPTION = 'Returns images from given page of booruproject';
const PARAMETERS = array( const PARAMETERS = array(
'global' => array( 'global' => array(
@ -14,13 +14,17 @@ class BooruprojectBridge extends GelbooruBridge {
'type' => 'number' 'type' => 'number'
), ),
't' => array( 't' => array(
'name' => 'tags' 'name' => 'tags',
'required' => true,
'exampleValue' => 'tagme',
'title' => 'Use "all" to get all posts'
) )
), ),
'Booru subdomain (subdomain.booru.org)' => array( 'Booru subdomain (subdomain.booru.org)' => array(
'i' => array( 'i' => array(
'name' => 'Subdomain', 'name' => 'Subdomain',
'required' => true 'required' => true,
'exampleValue' => 'rm'
) )
) )
); );
@ -29,7 +33,7 @@ class BooruprojectBridge extends GelbooruBridge {
public function getURI(){ public function getURI(){
if(!is_null($this->getInput('i'))) { if(!is_null($this->getInput('i'))) {
return 'http://' . $this->getInput('i') . '.booru.org/'; return 'https://' . $this->getInput('i') . '.booru.org/';
} }
return parent::getURI(); return parent::getURI();

View File

@ -12,13 +12,13 @@ class CNETFranceBridge extends FeedExpander
'name' => 'Exclude by title', 'name' => 'Exclude by title',
'required' => false, 'required' => false,
'title' => 'Title term, separated by semicolon (;)', '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( 'url' => array(
'name' => 'Exclude by url', 'name' => 'Exclude by url',
'required' => false, 'required' => false,
'title' => 'URL term, separated by semicolon (;)', 'title' => 'URL term, separated by semicolon (;)',
'defaultValue' => 'bon-plan;bons-plans' 'exampleValue' => 'bon-plan;bons-plans'
) )
) )
); );

View File

@ -13,8 +13,8 @@ class CastorusBridge extends BridgeAbstract {
'name' => 'ZIP code', 'name' => 'ZIP code',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => '74910, 74', 'exampleValue' => '7',
'title' => 'Insert ZIP code (complete or partial)' 'title' => 'Insert ZIP code (complete or partial). e.g: 78125 OR 781 OR 7'
) )
), ),
'Get latest changes via city name' => array( 'Get latest changes via city name' => array(
@ -22,8 +22,8 @@ class CastorusBridge extends BridgeAbstract {
'name' => 'City name', 'name' => 'City name',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => 'Seyssel, Seys', 'exampleValue' => 'Paris',
'title' => 'Insert city name (complete or partial)' 'title' => 'Insert city name (complete or partial). e.g: Paris OR Par OR P'
) )
) )
); );

View File

@ -20,6 +20,7 @@ class CodebergBridge extends BridgeAbstract {
'name' => 'Issue ID', 'name' => 'Issue ID',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => '513',
) )
), ),
'Pull Requests' => array(), 'Pull Requests' => array(),
@ -28,14 +29,14 @@ class CodebergBridge extends BridgeAbstract {
'username' => array( 'username' => array(
'name' => 'Username', 'name' => 'Username',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'username', 'exampleValue' => 'Codeberg',
'title' => 'Username of account that the repository belongs to.', 'title' => 'Username of account that the repository belongs to.',
'required' => true, 'required' => true,
), ),
'repo' => array( 'repo' => array(
'name' => 'Repository', 'name' => 'Repository',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'repo', 'exampleValue' => 'Community',
'required' => true, 'required' => true,
) )
) )

View File

@ -11,7 +11,7 @@ class CryptomeBridge extends BridgeAbstract {
'n' => array( 'n' => array(
'name' => 'number of elements', 'name' => 'number of elements',
'type' => 'number', 'type' => 'number',
'defaultValue' => 20, 'required' => true,
'exampleValue' => 10 'exampleValue' => 10
) )
)); ));

View File

@ -11,19 +11,22 @@ class DailymotionBridge extends BridgeAbstract {
'By username' => array( 'By username' => array(
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'required' => true 'required' => true,
'exampleValue' => 'moviepilot',
) )
), ),
'By playlist id' => array( 'By playlist id' => array(
'p' => array( 'p' => array(
'name' => 'playlist id', 'name' => 'playlist id',
'required' => true 'required' => true,
'exampleValue' => 'x6xyc6',
) )
), ),
'From search results' => array( 'From search results' => array(
's' => array( 's' => array(
'name' => 'Search keyword', 'name' => 'Search keyword',
'required' => true 'required' => true,
'exampleValue' => 'matrix',
), ),
'pa' => array( 'pa' => array(
'name' => 'Page', 'name' => 'Page',

View File

@ -10,6 +10,7 @@ class DealabsBridge extends PepperBridgeAbstract {
'q' => array( 'q' => array(
'name' => 'Mot(s) clé(s)', 'name' => 'Mot(s) clé(s)',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'lamp',
'required' => true 'required' => true
), ),
'hide_expired' => array( 'hide_expired' => array(

View File

@ -24,7 +24,8 @@ class DerpibooruBridge extends BridgeAbstract {
), ),
'q' => array( 'q' => array(
'name' => 'Query', 'name' => 'Query',
'required' => true 'required' => true,
'exampleValue' => 'dog',
) )
) )
); );

View File

@ -120,6 +120,7 @@ class DesoutterBridge extends BridgeAbstract {
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 3, 'defaultValue' => 3,
'title' => "Maximum number of items to return in the feed.\n0 = unlimited" 'title' => "Maximum number of items to return in the feed.\n0 = unlimited"
) )

View File

@ -8,6 +8,7 @@ class DiarioDeNoticiasBridge extends BridgeAbstract {
'Tag' => array( 'Tag' => array(
'n' => array( 'n' => array(
'name' => 'Tag Name', 'name' => 'Tag Name',
'required' => true,
'exampleValue' => 'rogerio-casanova', 'exampleValue' => 'rogerio-casanova',
) )
) )

View File

@ -11,18 +11,26 @@ class DiscogsBridge extends BridgeAbstract {
'artistid' => array( 'artistid' => array(
'name' => 'Artist ID', 'name' => 'Artist ID',
'type' => 'number', 'type' => 'number',
'required' => true,
'exampleValue' => '28104',
'title' => 'Only the ID from an artist page. EG /artist/28104-Aesop-Rock is 28104'
) )
), ),
'Label Releases' => array( 'Label Releases' => array(
'labelid' => array( 'labelid' => array(
'name' => 'Label ID', 'name' => 'Label ID',
'type' => 'number', 'type' => 'number',
'required' => true,
'exampleValue' => '8201',
'title' => 'Only the ID from a label page. EG /label/8201-Rhymesayers-Entertainment is 8201'
) )
), ),
'User Wantlist' => array( 'User Wantlist' => array(
'username_wantlist' => array( 'username_wantlist' => array(
'name' => 'Username', 'name' => 'Username',
'type' => 'text', 'type' => 'text',
'required' => true,
'exampleValue' => 'TheBlindMaster',
) )
), ),
'User Folder' => array( 'User Folder' => array(

View File

@ -23,6 +23,7 @@ class DonnonsBridge extends BridgeAbstract {
'p' => array( 'p' => array(
'name' => 'Nombre de pages à scanner', 'name' => 'Nombre de pages à scanner',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 5, 'defaultValue' => 5,
'title' => 'Indique le nombre de pages de donnons.org qui seront scannées' 'title' => 'Indique le nombre de pages de donnons.org qui seront scannées'
) )

View File

@ -13,6 +13,7 @@ class DuckDuckGoBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'u' => array( 'u' => array(
'name' => 'keyword', 'name' => 'keyword',
'exampleValue' => 'duck',
'required' => true 'required' => true
), ),
'sort' => array( 'sort' => array(

View File

@ -10,7 +10,8 @@ on EZTV. Get showID from URLs in https://eztv.ch/shows/showID/show-full-name.';
const PARAMETERS = array( array( const PARAMETERS = array( array(
'i' => array( 'i' => array(
'name' => 'Show ids', 'name' => 'Show ids',
'exampleValue' => 'showID1,showID2,…', 'exampleValue' => '1017,249',
'title' => 'One of more showids as a comma separated list',
'required' => true 'required' => true
) )
)); ));

View File

@ -12,6 +12,7 @@ class ElloBridge extends BridgeAbstract {
'u' => array( 'u' => array(
'name' => 'Username', 'name' => 'Username',
'required' => true, 'required' => true,
'exampleValue' => 'zteph',
'title' => 'Username' 'title' => 'Username'
) )
), ),
@ -19,6 +20,7 @@ class ElloBridge extends BridgeAbstract {
's' => array( 's' => array(
'name' => 'Search', 'name' => 'Search',
'required' => true, 'required' => true,
'exampleValue' => 'bird',
'title' => 'Search' 'title' => 'Search'
) )
) )

View File

@ -11,6 +11,7 @@ class EpicgamesBridge extends BridgeAbstract {
'postcount' => array( 'postcount' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'title' => 'Maximum number of items to return', 'title' => 'Maximum number of items to return',
'defaultValue' => 10, 'defaultValue' => 10,
), ),

View File

@ -12,7 +12,7 @@ class EtsyBridge extends BridgeAbstract {
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'title' => 'Insert your search term here', 'title' => 'Insert your search term here',
'exampleValue' => 'Enter your search term' 'exampleValue' => 'lamp'
), ),
'queryextension' => array( 'queryextension' => array(
'name' => 'Query extension', 'name' => 'Query extension',

View File

@ -13,6 +13,7 @@ class FSecureBlogBridge extends BridgeAbstract {
), ),
'language' => array( 'language' => array(
'name' => 'Language', 'name' => 'Language',
'required' => true,
'defaultValue' => 'en', 'defaultValue' => 'en',
), ),
'oldest_date' => array( 'oldest_date' => array(

View File

@ -9,6 +9,7 @@ class FolhaDeSaoPauloBridge extends FeedExpander {
'feed' => array( 'feed' => array(
'name' => 'Feed sub-URL', 'name' => 'Feed sub-URL',
'type' => 'text', 'type' => 'text',
'required' => true,
'title' => 'Select the sub-feed (see https://www1.folha.uol.com.br/feed/)', 'title' => 'Select the sub-feed (see https://www1.folha.uol.com.br/feed/)',
'exampleValue' => 'emcimadahora/rss091.xml', 'exampleValue' => 'emcimadahora/rss091.xml',
) )

View File

@ -10,11 +10,13 @@ class FourchanBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'c' => array( 'c' => array(
'name' => 'Thread category', 'name' => 'Thread category',
'required' => true 'required' => true,
'exampleValue' => 'po',
), ),
't' => array( 't' => array(
'name' => 'Thread number', 'name' => 'Thread number',
'type' => 'number', 'type' => 'number',
'exampleValue' => '597271',
'required' => true 'required' => true
) )
)); ));

View File

@ -9,7 +9,8 @@ class FurAffinityBridge extends BridgeAbstract {
'Search' => array( 'Search' => array(
'q' => array( 'q' => array(
'name' => 'Query', 'name' => 'Query',
'required' => true 'required' => true,
'exampleValue' => 'dog',
), ),
'rating-general' => array( 'rating-general' => array(
'name' => 'General', 'name' => 'General',
@ -79,6 +80,7 @@ class FurAffinityBridge extends BridgeAbstract {
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 10, 'defaultValue' => 10,
'title' => 'Limit number of submissions to return. -1 for unlimited.' 'title' => 'Limit number of submissions to return. -1 for unlimited.'
), ),
@ -449,6 +451,7 @@ class FurAffinityBridge extends BridgeAbstract {
'username-journals' => array( 'username-journals' => array(
'name' => 'Username', 'name' => 'Username',
'required' => true, 'required' => true,
'exampleValue' => 'dhw',
'title' => 'Lowercase username as seen in URLs' 'title' => 'Lowercase username as seen in URLs'
), ),
'limit' => array( 'limit' => array(
@ -463,6 +466,7 @@ class FurAffinityBridge extends BridgeAbstract {
'journal-id' => array( 'journal-id' => array(
'name' => 'Journal ID', 'name' => 'Journal ID',
'required' => true, 'required' => true,
'exampleValue' => '10008853',
'type' => 'number', 'type' => 'number',
'title' => 'Number seen in journal URL' 'title' => 'Number seen in journal URL'
) )
@ -471,11 +475,13 @@ class FurAffinityBridge extends BridgeAbstract {
'username-gallery' => array( 'username-gallery' => array(
'name' => 'Username', 'name' => 'Username',
'required' => true, 'required' => true,
'exampleValue' => 'dhw',
'title' => 'Lowercase username as seen in URLs' 'title' => 'Lowercase username as seen in URLs'
), ),
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 10, 'defaultValue' => 10,
'title' => 'Limit number of submissions to return. -1 for unlimited.' 'title' => 'Limit number of submissions to return. -1 for unlimited.'
), ),
@ -496,11 +502,13 @@ class FurAffinityBridge extends BridgeAbstract {
'username-scraps' => array( 'username-scraps' => array(
'name' => 'Username', 'name' => 'Username',
'required' => true, 'required' => true,
'exampleValue' => 'dhw',
'title' => 'Lowercase username as seen in URLs' 'title' => 'Lowercase username as seen in URLs'
), ),
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 10, 'defaultValue' => 10,
'title' => 'Limit number of submissions to return. -1 for unlimited.' 'title' => 'Limit number of submissions to return. -1 for unlimited.'
), ),
@ -521,11 +529,13 @@ class FurAffinityBridge extends BridgeAbstract {
'username-favorites' => array( 'username-favorites' => array(
'name' => 'Username', 'name' => 'Username',
'required' => true, 'required' => true,
'exampleValue' => 'dhw',
'title' => 'Lowercase username as seen in URLs' 'title' => 'Lowercase username as seen in URLs'
), ),
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 10, 'defaultValue' => 10,
'title' => 'Limit number of submissions to return. -1 for unlimited.' 'title' => 'Limit number of submissions to return. -1 for unlimited.'
), ),
@ -546,17 +556,20 @@ class FurAffinityBridge extends BridgeAbstract {
'username-folder' => array( 'username-folder' => array(
'name' => 'Username', 'name' => 'Username',
'required' => true, 'required' => true,
'exampleValue' => 'kopk',
'title' => 'Lowercase username as seen in URLs' 'title' => 'Lowercase username as seen in URLs'
), ),
'folder-id' => array( 'folder-id' => array(
'name' => 'Folder ID', 'name' => 'Folder ID',
'required' => true, 'required' => true,
'exampleValue' => '1031990',
'type' => 'number', 'type' => 'number',
'title' => 'Number seen in folder URL' 'title' => 'Number seen in folder URL'
), ),
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 10, 'defaultValue' => 10,
'title' => 'Limit number of submissions to return. -1 for unlimited.' 'title' => 'Limit number of submissions to return. -1 for unlimited.'
), ),

View File

@ -14,7 +14,7 @@ class GitHubGistBridge extends BridgeAbstract {
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'title' => 'Insert Gist ID or URI', 'title' => 'Insert Gist ID or URI',
'exampleValue' => '2646763, https://gist.github.com/2646763' 'exampleValue' => '2646763'
) )
)); ));

View File

@ -11,10 +11,12 @@ class GithubIssueBridge extends BridgeAbstract {
'global' => array( 'global' => array(
'u' => array( 'u' => array(
'name' => 'User name', 'name' => 'User name',
'exampleValue' => 'RSS-Bridge',
'required' => true 'required' => true
), ),
'p' => array( 'p' => array(
'name' => 'Project name', 'name' => 'Project name',
'exampleValue' => 'rss-bridge',
'required' => true 'required' => true
) )
), ),
@ -28,6 +30,7 @@ class GithubIssueBridge extends BridgeAbstract {
'i' => array( 'i' => array(
'name' => 'Issue number', 'name' => 'Issue number',
'type' => 'number', 'type' => 'number',
'exampleValue' => '2099',
'required' => true 'required' => true
) )
) )

View File

@ -9,10 +9,12 @@ class GitHubPullRequestBridge extends GithubIssueBridge {
'global' => array( 'global' => array(
'u' => array( 'u' => array(
'name' => 'User name', 'name' => 'User name',
'exampleValue' => 'RSS-Bridge',
'required' => true 'required' => true
), ),
'p' => array( 'p' => array(
'name' => 'Project name', 'name' => 'Project name',
'exampleValue' => 'rss-bridge',
'required' => true 'required' => true
) )
), ),
@ -26,6 +28,7 @@ class GitHubPullRequestBridge extends GithubIssueBridge {
'i' => array( 'i' => array(
'name' => 'Pull Request number', 'name' => 'Pull Request number',
'type' => 'number', 'type' => 'number',
'exampleValue' => '2100',
'required' => true 'required' => true
) )
) )

View File

@ -9,6 +9,8 @@ class GithubSearchBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
's' => array( 's' => array(
'type' => 'text', 'type' => 'text',
'required' => true,
'exampleValue' => 'rss-bridge',
'name' => 'Search query' 'name' => 'Search query'
) )
)); ));

View File

@ -584,7 +584,6 @@ class GithubTrendingBridge extends BridgeAbstract {
'date_range' => array( 'date_range' => array(
'name' => 'Date range', 'name' => 'Date range',
'type' => 'list', 'type' => 'list',
'required' => false,
'values' => array( 'values' => array(
'Today' => 'today', 'Today' => 'today',
'Weekly' => 'weekly', 'Weekly' => 'weekly',

View File

@ -10,7 +10,9 @@ class GlowficBridge extends BridgeAbstract {
'Thread' => array( 'Thread' => array(
'post_id' => array( 'post_id' => array(
'name' => 'Post ID', 'name' => 'Post ID',
'title' => 'https://www.glowfic.com/posts/<POST ID>', 'title' => 'https://www.glowfic.com/posts/POST ID',
'required' => true,
'exampleValue' => '2756',
'type' => 'number' 'type' => 'number'
), ),
'start_page' => array( 'start_page' => array(

View File

@ -10,6 +10,7 @@ class GoComicsBridge extends BridgeAbstract {
'comicname' => array( 'comicname' => array(
'name' => 'comicname', 'name' => 'comicname',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'heartofthecity',
'required' => true 'required' => true
) )
)); ));

View File

@ -11,19 +11,19 @@ class GogsBridge extends BridgeAbstract {
'global' => array( 'global' => array(
'host' => array( 'host' => array(
'name' => 'Host', 'name' => 'Host',
'exampleValue' => 'https://gogs.io', 'exampleValue' => 'notabug.org',
'required' => true, 'required' => true,
'title' => 'Host name without trailing slash', 'title' => 'Host name without trailing slash',
), ),
'user' => array( 'user' => array(
'name' => 'Username', 'name' => 'Username',
'exampleValue' => 'gogs', 'exampleValue' => 'PDModdingCommunity',
'required' => true, 'required' => true,
'title' => 'User name as it appears in the URL', 'title' => 'User name as it appears in the URL',
), ),
'project' => array( 'project' => array(
'name' => 'Project name', 'name' => 'Project name',
'exampleValue' => 'gogs', 'exampleValue' => 'PD-Loader',
'required' => true, 'required' => true,
'title' => 'Project name as it appears in the URL', 'title' => 'Project name as it appears in the URL',
), ),
@ -47,7 +47,7 @@ class GogsBridge extends BridgeAbstract {
'issue' => array( 'issue' => array(
'name' => 'Issue number', 'name' => 'Issue number',
'type' => 'number', 'type' => 'number',
'exampleValue' => 102, 'exampleValue' => 100,
'required' => true, 'required' => true,
'title' => 'Issue number from the issues list', 'title' => 'Issue number from the issues list',
), ),

View File

@ -18,7 +18,8 @@ class GoogleSearchBridge extends BridgeAbstract {
const PARAMETERS = array(array( const PARAMETERS = array(array(
'q' => array( 'q' => array(
'name' => 'keyword', 'name' => 'keyword',
'required' => true 'required' => true,
'exampleValue' => 'rss-bridge',
) )
)); ));

View File

@ -9,6 +9,7 @@ class HDWallpapersBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'c' => array( 'c' => array(
'name' => 'category', 'name' => 'category',
'required' => true,
'defaultValue' => 'latest_wallpapers' 'defaultValue' => 'latest_wallpapers'
), ),
'm' => array( 'm' => array(
@ -16,8 +17,9 @@ class HDWallpapersBridge extends BridgeAbstract {
), ),
'r' => array( 'r' => array(
'name' => 'resolution', 'name' => 'resolution',
'required' => true,
'defaultValue' => 'HD', 'defaultValue' => 'HD',
'exampleValue' => 'HD, 1920x1200, 1680x1050,…' 'title' => 'e.g=HD OR 1920x1200 OR 1680x1050'
) )
)); ));

View File

@ -11,6 +11,7 @@ class HackerNewsUserThreadsBridge extends BridgeAbstract {
'name' => 'User', 'name' => 'User',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => 'nixcraft',
'title' => 'User whose threads you want to see' 'title' => 'User whose threads you want to see'
) )
)); ));

View File

@ -17,6 +17,7 @@ class HaveIBeenPwnedBridge extends BridgeAbstract {
'item_limit' => array( 'item_limit' => array(
'name' => 'Limit number of returned items', 'name' => 'Limit number of returned items',
'type' => 'number', 'type' => 'number',
'required' => true,
'defaultValue' => 20, 'defaultValue' => 20,
) )
)); ));

View File

@ -12,6 +12,7 @@ class HotUKDealsBridge extends PepperBridgeAbstract {
'q' => array( 'q' => array(
'name' => 'Keyword(s)', 'name' => 'Keyword(s)',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'lamp',
'required' => true 'required' => true
), ),
'hide_expired' => array( 'hide_expired' => array(

View File

@ -9,6 +9,7 @@ class IKWYDBridge extends BridgeAbstract {
array( array(
'ip' => array( 'ip' => array(
'name' => 'IP Address', 'name' => 'IP Address',
'exampleValue' => '8.8.8.8',
'required' => true 'required' => true
), ),
'update' => array( 'update' => array(

View File

@ -10,6 +10,7 @@ class IdenticaBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'exampleValue' => 'jxself',
'required' => true 'required' => true
) )
)); ));

View File

@ -74,6 +74,7 @@ class IndeedBridge extends BridgeAbstract {
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',
'type' => 'number', 'type' => 'number',
'required' => true,
'title' => 'Maximum number of items to return', 'title' => 'Maximum number of items to return',
'exampleValue' => 20, 'exampleValue' => 20,
) )

View File

@ -19,18 +19,21 @@ class InstagramBridge extends BridgeAbstract {
'Username' => array( 'Username' => array(
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'exampleValue' => 'aesoprockwins',
'required' => true 'required' => true
) )
), ),
'Hashtag' => array( 'Hashtag' => array(
'h' => array( 'h' => array(
'name' => 'hashtag', 'name' => 'hashtag',
'exampleValue' => 'beautifulday',
'required' => true 'required' => true
) )
), ),
'Location' => array( 'Location' => array(
'l' => array( 'l' => array(
'name' => 'location', 'name' => 'location',
'exampleValue' => 'london',
'required' => true 'required' => true
) )
), ),

View File

@ -14,7 +14,8 @@ class IvooxBridge extends BridgeAbstract {
'Search result' => array( 'Search result' => array(
's' => array( 's' => array(
'name' => 'keyword', 'name' => 'keyword',
'exampleValue' => 'test' 'required' => true,
'exampleValue' => 'car'
) )
) )
); );

View File

@ -17,6 +17,7 @@ class JustETFBridge extends BridgeAbstract {
'name' => 'ISIN', 'name' => 'ISIN',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => 'IE00B4X9L533',
'pattern' => '[a-zA-Z]{2}[a-zA-Z0-9]{10}', 'pattern' => '[a-zA-Z]{2}[a-zA-Z0-9]{10}',
'title' => 'ISIN, consisting of 2-letter country code, 9-character identifier, check character' 'title' => 'ISIN, consisting of 2-letter country code, 9-character identifier, check character'
), ),

View File

@ -62,8 +62,8 @@ class MangareaderBridge extends BridgeAbstract {
'name' => 'Path', 'name' => 'Path',
'required' => true, 'required' => true,
'pattern' => '[a-zA-Z0-9-_]*', 'pattern' => '[a-zA-Z0-9-_]*',
'exampleValue' => 'bleach, umi-no-kishidan', 'exampleValue' => 'bleach',
'title' => 'URL part of desired manga' 'title' => 'URL part of desired manga. e.g= bleach OR umi-no-kishidan'
), ),
'limit' => array( 'limit' => array(
'name' => 'Limit', 'name' => 'Limit',

View File

@ -9,6 +9,7 @@ class MarktplaatsBridge extends BridgeAbstract {
'q' => array( 'q' => array(
'name' => 'query', 'name' => 'query',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'lamp',
'required' => true, 'required' => true,
'title' => 'The search string for marktplaats', 'title' => 'The search string for marktplaats',
), ),

View File

@ -10,7 +10,8 @@ class MastodonBridge extends FeedExpander {
const PARAMETERS = array(array( const PARAMETERS = array(array(
'canusername' => array( 'canusername' => array(
'name' => 'Canonical username (ex : @sebsauvage@framapiaf.org)', 'name' => 'Canonical username',
'exampleValue' => '@sebsauvage@framapiaf.org',
'required' => true, 'required' => true,
), ),
'norep' => array( 'norep' => array(

View File

@ -10,6 +10,7 @@ class MediapartBlogsBridge extends BridgeAbstract {
'name' => 'Blog Slug', 'name' => 'Blog Slug',
'type' => 'text', 'type' => 'text',
'title' => 'Blog user name', 'title' => 'Blog user name',
'required' => true,
'exampleValue' => 'jean-vincot', 'exampleValue' => 'jean-vincot',
) )
) )

View File

@ -12,6 +12,7 @@ class MixCloudBridge extends BridgeAbstract {
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'required' => true, 'required' => true,
'exampleValue' => 'DJJazzyJeff',
) )
)); ));

View File

@ -7,7 +7,8 @@ class ModelKarteiBridge extends BridgeAbstract {
const PARAMETERS = array(array( const PARAMETERS = array(array(
'model_id' => array( 'model_id' => array(
'name' => 'Model ID', 'name' => 'Model ID',
'exampleValue' => '123456' 'required' => true,
'exampleValue' => '614931'
) )
)); ));

View File

@ -12,6 +12,7 @@ class MydealsBridge extends PepperBridgeAbstract {
'q' => array( 'q' => array(
'name' => 'Stichworten', 'name' => 'Stichworten',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'watch',
'required' => true 'required' => true
), ),
'hide_expired' => array( 'hide_expired' => array(

View File

@ -10,6 +10,7 @@ class OpenwhydBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'u' => array( 'u' => array(
'name' => 'username/id', 'name' => 'username/id',
'exampleValue' => '5247f0267e91c862b2b052d0',
'required' => true 'required' => true
) )
)); ));

View File

@ -10,6 +10,7 @@ class PatreonBridge extends BridgeAbstract {
'name' => 'Creator', 'name' => 'Creator',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => 'sanityinc',
'title' => 'Creator name as seen in their page URL' 'title' => 'Creator name as seen in their page URL'
) )
)); ));

View File

@ -10,6 +10,7 @@ class PickyWallpapersBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'c' => array( 'c' => array(
'name' => 'category', 'name' => 'category',
'exampleValue' => 'funny',
'required' => true 'required' => true
), ),
's' => array( 's' => array(

View File

@ -11,12 +11,14 @@ class PicukiBridge extends BridgeAbstract
'Username' => array( 'Username' => array(
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'exampleValue' => 'aesoprockwins',
'required' => true, 'required' => true,
), ),
), ),
'Hashtag' => array( 'Hashtag' => array(
'h' => array( 'h' => array(
'name' => 'hashtag', 'name' => 'hashtag',
'exampleValue' => 'beautifulday',
'required' => true, 'required' => true,
), ),
) )

View File

@ -10,10 +10,12 @@ class PinterestBridge extends FeedExpander {
'By username and board' => array( 'By username and board' => array(
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'exampleValue' => 'VIGOIndustries',
'required' => true 'required' => true
), ),
'b' => array( 'b' => array(
'name' => 'board', 'name' => 'board',
'exampleValue' => 'bathroom-remodels',
'required' => true 'required' => true
) )
) )

View File

@ -9,6 +9,7 @@ class PirateCommunityBridge extends BridgeAbstract {
't' => array( 't' => array(
'name' => 'Topic ID', 'name' => 'Topic ID',
'type' => 'number', 'type' => 'number',
'exampleValue' => '12651',
'title' => 'Topic ID from topic URL. If the URL contains t=12 the ID is 12.', 'title' => 'Topic ID from topic URL. If the URL contains t=12 the ID is 12.',
'required' => true 'required' => true
))); )));

View File

@ -18,7 +18,7 @@ class PixivBridge extends BridgeAbstract {
), ),
'tag' => array( 'tag' => array(
'name' => 'Query to search', 'name' => 'Query to search',
'exampleValue' => '葬送のフリーレン', 'exampleValue' => 'オリジナル',
'required' => true 'required' => true
), ),
'posts' => array( 'posts' => array(

View File

@ -11,6 +11,7 @@ class PornhubBridge extends BridgeAbstract {
const PARAMETERS = array(array( const PARAMETERS = array(array(
'q' => array( 'q' => array(
'name' => 'User name', 'name' => 'User name',
'exampleValue' => 'asa-akira',
'required' => true, 'required' => true,
), ),
'type' => array( 'type' => array(
@ -21,7 +22,7 @@ class PornhubBridge extends BridgeAbstract {
'model' => 'model', 'model' => 'model',
'pornstar' => 'pornstar', 'pornstar' => 'pornstar',
), ),
'defaultValue' => 'users', 'defaultValue' => 'pornstar',
), ),
'sort' => array( 'sort' => array(
'name' => 'Sort by', 'name' => 'Sort by',

View File

@ -9,6 +9,7 @@ class QPlayBridge extends BridgeAbstract {
'program' => array( 'program' => array(
'name' => 'Program Name', 'name' => 'Program Name',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'bridgebroken',
'required' => true, 'required' => true,
), ),
), ),

View File

@ -55,6 +55,7 @@ class RedditBridge extends BridgeAbstract {
'u' => array( 'u' => array(
'name' => 'User', 'name' => 'User',
'required' => true, 'required' => true,
'exampleValue' => 'shwikibot',
'title' => 'User name' 'title' => 'User name'
), ),
'comments' => array( 'comments' => array(

View File

@ -10,6 +10,7 @@ class ScoopItBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'u' => array( 'u' => array(
'name' => 'keyword', 'name' => 'keyword',
'exampleValue' => 'docker',
'required' => true 'required' => true
) )
)); ));

View File

@ -9,8 +9,8 @@ class ScribdBridge extends BridgeAbstract {
'name' => 'Profile URL', 'name' => 'Profile URL',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'title' => 'Profile URL. Example: https://www.scribd.com/user/489040929/number10leaks-com', 'title' => 'Profile URL. Example: https://www.scribd.com/user/217860653/Legal-Momentum',
'exampleValue' => 'https://www.scribd.com/user/' 'exampleValue' => 'https://www.scribd.com/user/217860653/Legal-Momentum'
), ),
)); ));

View File

@ -10,7 +10,8 @@ class SensCritiqueBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
's' => array( 's' => array(
'name' => 'Series', 'name' => 'Series',
'type' => 'checkbox' 'type' => 'checkbox',
'defaultValue' => 'checked'
), ),
'g' => array( 'g' => array(
'name' => 'Video Games', 'name' => 'Video Games',

View File

@ -402,8 +402,8 @@ class SkimfeedBridge extends BridgeAbstract {
'name' => 'Configuration', 'name' => 'Configuration',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'title' => 'Enter feed numbers from Skimfeed!', 'title' => 'Enter feed numbers from Skimfeed! e.g: 5,8,2,l,p,9,23',
'exampleValue' => '5,8,2,l,p,9,23' 'exampleValue' => '5'
) )
), ),
'global' => array( 'global' => array(

View File

@ -9,6 +9,7 @@ class SoundCloudBridge extends BridgeAbstract {
const PARAMETERS = array(array( const PARAMETERS = array(array(
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'exampleValue' => 'thekidlaroi',
'required' => true 'required' => true
), ),
't' => array( 't' => array(

View File

@ -10,6 +10,7 @@ class SteamCommunityBridge extends BridgeAbstract {
array( array(
'i' => array( 'i' => array(
'name' => 'App ID', 'name' => 'App ID',
'exampleValue' => '730',
'required' => true 'required' => true
), ),
'category' => array( 'category' => array(

View File

@ -16,7 +16,7 @@ class ThePirateBayBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'q' => array( 'q' => array(
'name' => 'keywords/username/category, separated by semicolons', 'name' => 'keywords/username/category, separated by semicolons',
'exampleValue' => 'first list;second list;…', 'exampleValue' => 'simpsons',
'required' => true 'required' => true
), ),
'crit' => array( 'crit' => array(

View File

@ -12,7 +12,7 @@ class ThingiverseBridge extends BridgeAbstract {
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'title' => 'Insert your search term here', 'title' => 'Insert your search term here',
'exampleValue' => 'Enter your search term' 'exampleValue' => 'vase'
), ),
'sortby' => array( 'sortby' => array(
'name' => 'Sort by', 'name' => 'Sort by',

View File

@ -8,6 +8,7 @@ class TinyLetterBridge extends BridgeAbstract {
array( array(
'username' => array( 'username' => array(
'name' => 'User Name', 'name' => 'User Name',
'required' => true,
'exampleValue' => 'forwards', 'exampleValue' => 'forwards',
) )
) )

View File

@ -13,6 +13,7 @@ class TorrentGalaxyBridge extends BridgeAbstract {
'search' => array( 'search' => array(
'name' => 'search', 'name' => 'search',
'required' => true, 'required' => true,
'exampleValue' => 'simpsons',
'title' => 'Type your query' 'title' => 'Type your query'
), ),
'lang' => array( 'lang' => array(

View File

@ -11,6 +11,7 @@ class TwitchBridge extends BridgeAbstract {
'name' => 'Channel', 'name' => 'Channel',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => 'criticalrole',
'title' => 'Lowercase channel name as seen in channel URL' 'title' => 'Lowercase channel name as seen in channel URL'
), ),
'type' => array( 'type' => array(

View File

@ -30,7 +30,7 @@ class TwitterBridge extends BridgeAbstract {
'q' => array( 'q' => array(
'name' => 'Keyword or #hashtag', 'name' => 'Keyword or #hashtag',
'required' => true, 'required' => true,
'exampleValue' => 'rss-bridge, #rss-bridge', 'exampleValue' => 'rss-bridge',
'title' => <<<EOD 'title' => <<<EOD
* To search for multiple words (must contain all of these words), put a space between them. * To search for multiple words (must contain all of these words), put a space between them.
@ -87,12 +87,13 @@ EOD
'user' => array( 'user' => array(
'name' => 'User', 'name' => 'User',
'required' => true, 'required' => true,
'exampleValue' => 'sebsauvage', 'exampleValue' => 'Scobleizer',
'title' => 'Insert a user name' 'title' => 'Insert a user name'
), ),
'list' => array( 'list' => array(
'name' => 'List', 'name' => 'List',
'required' => true, 'required' => true,
'exampleValue' => 'Tech-News',
'title' => 'Insert the list name' 'title' => 'Insert the list name'
), ),
'filter' => array( 'filter' => array(

View File

@ -12,6 +12,7 @@ class UrlebirdBridge extends BridgeAbstract {
'name' => '@username or #hashtag', 'name' => '@username or #hashtag',
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'exampleValue' => '@willsmith',
'title' => '@username or #hashtag' 'title' => '@username or #hashtag'
) )
) )

View File

@ -11,6 +11,7 @@ class ViadeoCompanyBridge extends BridgeAbstract {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'c' => array( 'c' => array(
'name' => 'Company name', 'name' => 'Company name',
'exampleValue' => 'apple',
'required' => true 'required' => true
) )
)); ));

View File

@ -12,6 +12,7 @@ class VimeoBridge extends BridgeAbstract {
'q' => array( 'q' => array(
'name' => 'Search Query', 'name' => 'Search Query',
'type' => 'text', 'type' => 'text',
'exampleValue' => 'birds',
'required' => true 'required' => true
), ),
'type' => array( 'type' => array(

View File

@ -14,6 +14,7 @@ class VkBridge extends BridgeAbstract
array( array(
'u' => array( 'u' => array(
'name' => 'Group or user name', 'name' => 'Group or user name',
'exampleValue' => 'elonmusk_tech',
'required' => true 'required' => true
), ),
'hide_reposts' => array( 'hide_reposts' => array(

View File

@ -8,6 +8,7 @@ class WallpaperflareBridge extends XPathAbstract {
'' => array( '' => array(
'search' => array( 'search' => array(
'name' => 'Search', 'name' => 'Search',
'exampleValue' => 'birds',
'required' => true 'required' => true
) )
)); ));

View File

@ -28,7 +28,7 @@ class WikiLeaksBridge extends BridgeAbstract {
'name' => 'Show teaser', 'name' => 'Show teaser',
'type' => 'checkbox', 'type' => 'checkbox',
'title' => 'If checked feeds will display the teaser', 'title' => 'If checked feeds will display the teaser',
'defaultValue' => true 'defaultValue' => 'checked'
) )
) )
); );

View File

@ -7,6 +7,7 @@ class WordPressBridge extends FeedExpander {
const PARAMETERS = array( array( const PARAMETERS = array( array(
'url' => array( 'url' => array(
'name' => 'Blog URL', 'name' => 'Blog URL',
'exampleValue' => 'https://www.wpbeginner.com/',
'required' => true 'required' => true
) )
)); ));

View File

@ -11,6 +11,7 @@ class WordPressPluginUpdateBridge extends BridgeAbstract {
array( array(
'pluginUrl' => array( 'pluginUrl' => array(
'name' => 'URL to the plugin', 'name' => 'URL to the plugin',
'exampleValue' => 'https://wordpress.org/plugins/wp-rss-aggregator/',
'required' => true 'required' => true
) )
) )

View File

@ -12,7 +12,7 @@ class YeggiBridge extends BridgeAbstract {
'type' => 'text', 'type' => 'text',
'required' => true, 'required' => true,
'title' => 'Insert your search term here', 'title' => 'Insert your search term here',
'exampleValue' => 'Enter your search term' 'exampleValue' => 'vase'
), ),
'sortby' => array( 'sortby' => array(
'name' => 'Sort by', 'name' => 'Sort by',

View File

@ -18,34 +18,36 @@ class YoutubeBridge extends BridgeAbstract {
'By username' => array( 'By username' => array(
'u' => array( 'u' => array(
'name' => 'username', 'name' => 'username',
'exampleValue' => 'test', 'exampleValue' => 'LinusTechTips',
'required' => true 'required' => true
) )
), ),
'By channel id' => array( 'By channel id' => array(
'c' => array( 'c' => array(
'name' => 'channel id', 'name' => 'channel id',
'exampleValue' => '15', 'exampleValue' => 'UCw38-8_Ibv_L6hlKChHO9dQ',
'required' => true 'required' => true
) )
), ),
'By custom name' => array( 'By custom name' => array(
'custom' => array( 'custom' => array(
'name' => 'custom name', 'name' => 'custom name',
'exampleValue' => 'nasa', 'exampleValue' => 'LinusTechTips',
'required' => true 'required' => true
) )
), ),
'By playlist Id' => array( 'By playlist Id' => array(
'p' => array( 'p' => array(
'name' => 'playlist id', 'name' => 'playlist id',
'exampleValue' => '15' 'exampleValue' => 'PL8mG-RkN2uTzJc8N0EoyhdC54prvBBLpj',
'required' => true
) )
), ),
'Search result' => array( 'Search result' => array(
's' => array( 's' => array(
'name' => 'search keyword', 'name' => 'search keyword',
'exampleValue' => 'test' 'exampleValue' => 'LinusTechTips',
'required' => true
), ),
'pa' => array( 'pa' => array(
'name' => 'page', 'name' => 'page',