add spaces between =>

This commit is contained in:
Alexis CHEMEL 2016-12-06 02:17:10 +01:00
parent baa9a7e145
commit a73ce0e450
62 changed files with 854 additions and 854 deletions

View File

@ -7,16 +7,16 @@ class AllocineFRBridge extends BridgeAbstract
const URI = "http://www.allocine.fr/";
const DESCRIPTION = "Bridge for allocine.fr";
const PARAMETERS = array( array(
'category'=>array(
'name'=>'category',
'type'=>'list',
'required'=>true,
'exampleValue'=>'Faux Raccord',
'title'=>'Select your category',
'values'=>array(
'Faux Raccord'=>'faux-raccord',
'Top 5'=>'top-5',
'Tueurs en Séries'=>'tueurs-en-serie'
'category' => array(
'name' => 'category',
'type' => 'list',
'required' =>true,
'exampleValue' => 'Faux Raccord',
'title' => 'Select your category',
'values' => array(
'Faux Raccord' => 'faux-raccord',
'Top 5' => 'top-5',
'Tueurs en Séries' => 'tueurs-en-serie'
)
)
));

View File

@ -7,14 +7,14 @@ class AnimeUltimeBridge extends BridgeAbstract
const CACHE_TIMEOUT = 10800; // 3h
const DESCRIPTION = 'Returns the 10 newest releases posted on Anime-Ultime';
const PARAMETERS = array( array(
'type'=>array(
'name'=>'Type',
'type'=>'list',
'values'=>array(
'Everything'=>'',
'Anime'=>'A',
'Drama'=>'D',
'Tokusatsu'=>'T'
'type' => array(
'name' => 'Type',
'type' => 'list',
'values' => array(
'Everything' => '',
'Anime' => 'A',
'Drama' => 'D',
'Tokusatsu' => 'T'
)
)
));

View File

@ -8,37 +8,37 @@
const DESCRIPTION = "Returns newest videos from ARTE +7";
const PARAMETERS = array(
'Catégorie (Français)' => array(
'catfr'=>array(
'type'=>'list',
'name'=>'Catégorie',
'values'=>array(
'Toutes les vidéos (français)'=>'toutes-les-videos',
'Actu & société'=>'actu-société',
'Séries & fiction'=>'séries-fiction',
'Cinéma'=>'cinéma',
'Arts & spectacles classiques'=>'arts-spectacles-classiques',
'Culture pop'=>'culture-pop',
'Découverte'=>'découverte',
'Histoire'=>'histoire',
'Junior'=>'junior'
'catfr' => array(
'type' => 'list',
'name' => 'Catégorie',
'values' => array(
'Toutes les vidéos (français)' => 'toutes-les-videos',
'Actu & société' => 'actu-société',
'Séries & fiction' => 'séries-fiction',
'Cinéma' => 'cinéma',
'Arts & spectacles classiques' => 'arts-spectacles-classiques',
'Culture pop' => 'culture-pop',
'Découverte' => 'découverte',
'Histoire' => 'histoire',
'Junior' => 'junior'
)
)
),
'Catégorie (Allemand)' => array(
'catde'=>array(
'type'=>'list',
'name'=>'Catégorie',
'values'=>array(
'Alle Videos (deutsch)'=>'alle-videos',
'Aktuelles & Gesellschaft'=>'aktuelles-gesellschaft',
'Fernsehfilme & Serien'=>'fernsehfilme-serien',
'Kino'=>'kino',
'Kunst & Kultur'=>'kunst-kultur',
'Popkultur & Alternativ'=>'popkultur-alternativ',
'Entdeckung'=>'entdeckung',
'Geschichte'=>'geschichte',
'Junior'=>'junior'
'catde' => array(
'type' => 'list',
'name' => 'Catégorie',
'values' => array(
'Alle Videos (deutsch)' => 'alle-videos',
'Aktuelles & Gesellschaft' => 'aktuelles-gesellschaft',
'Fernsehfilme & Serien' => 'fernsehfilme-serien',
'Kino' => 'kino',
'Kunst & Kultur' => 'kunst-kultur',
'Popkultur & Alternativ' => 'popkultur-alternativ',
'Entdeckung' => 'entdeckung',
'Geschichte' => 'geschichte',
'Junior' => 'junior'
)
)
)

View File

@ -7,10 +7,10 @@ class AskfmBridge extends BridgeAbstract
const CACHE_TIMEOUT = 300; //5 min
const DESCRIPTION = "Returns answers from an Ask.fm user";
const PARAMETERS = array(
'Ask.fm username'=>array(
'u'=>array(
'name'=>'Username',
'required'=>true
'Ask.fm username' => array(
'u' => array(
'name' => 'Username',
'required' =>true
)
)
);

View File

@ -7,10 +7,10 @@ class BandcampBridge extends BridgeAbstract
const CACHE_TIMEOUT = 600; // 10min
const DESCRIPTION = "New bandcamp release by tag";
const PARAMETERS = array( array(
'tag'=>array(
'name'=>'tag',
'type'=>'text',
'required'=>true
'tag' => array(
'name' => 'tag',
'type' => 'text',
'required' =>true
)
));

View File

@ -9,17 +9,17 @@ class BooruprojectBridge extends GelbooruBridge
const DESCRIPTION = "Returns images from given page of booruproject";
const PARAMETERS = array(
'global'=>array(
'p'=>array(
'name'=>'page',
'type'=>'number'
'global' => array(
'p' => array(
'name' => 'page',
'type' => 'number'
),
't'=>array('name'=>'tags')
't' => array('name' => 'tags')
),
'Booru subdomain (subdomain.booru.org)'=>array(
'i'=>array(
'name'=>'Subdomain',
'required'=>true
'Booru subdomain (subdomain.booru.org)' => array(
'i' => array(
'name' => 'Subdomain',
'required' =>true
)
)
);

View File

@ -8,7 +8,7 @@ class CNETBridge extends BridgeAbstract
const DESCRIPTION = 'Returns the newest articles. <br /> You may specify a topic found in some section URLs, else all topics are selected.';
const PARAMETERS = array( array(
'topic'=>array('name'=>'Topic name')
'topic' => array('name' => 'Topic name')
));
public function collectData()

View File

@ -10,21 +10,21 @@ class CastorusBridge extends BridgeAbstract
const PARAMETERS = array(
'Get latest changes' => array(),
'Get latest changes via ZIP code' => array(
'zip'=>array(
'name'=>'ZIP code',
'type'=>'text',
'required'=>true,
'exampleValue'=>'74910, 74',
'title'=>'Insert ZIP code (complete or partial)'
'zip' => array(
'name' => 'ZIP code',
'type' => 'text',
'required' =>true,
'exampleValue' => '74910, 74',
'title' => 'Insert ZIP code (complete or partial)'
)
),
'Get latest changes via city name' => array(
'city'=>array(
'name'=>'City name',
'type'=>'text',
'required'=>true,
'exampleValue'=>'Seyssel, Seys',
'title'=>'Insert city name (complete or partial)'
'city' => array(
'name' => 'City name',
'type' => 'text',
'required' =>true,
'exampleValue' => 'Seyssel, Seys',
'title' => 'Insert city name (complete or partial)'
)
)
);

View File

@ -8,10 +8,10 @@ class CpasbienBridge extends BridgeAbstract
const DESCRIPTION = "Returns latest torrents from a request query";
const PARAMETERS = array( array(
'q'=>array(
'name'=>'Search',
'required'=>true,
'title'=>'Type your search'
'q' => array(
'name' => 'Search',
'required' =>true,
'title' => 'Type your search'
)
));

View File

@ -8,11 +8,11 @@ class CryptomeBridge extends BridgeAbstract
const DESCRIPTION = "Returns the N most recent documents.";
const PARAMETERS = array( array(
'n'=>array(
'name'=>'number of elements',
'type'=>'number',
'defaultValue'=>20,
'exampleValue'=>10
'n' => array(
'name' => 'number of elements',
'type' => 'number',
'defaultValue' =>20,
'exampleValue' =>10
)
));

View File

@ -9,27 +9,27 @@ class DailymotionBridge extends BridgeAbstract
const PARAMETERS = array(
'By username' => array(
'u'=>array(
'name'=>'username',
'required'=>true
'u' => array(
'name' => 'username',
'required' =>true
)
),
'By playlist id' => array(
'p'=>array(
'name'=>'playlist id',
'required'=>true
'p' => array(
'name' => 'playlist id',
'required' =>true
)
),
'From search results' => array(
's'=>array(
'name'=>'Search keyword',
'required'=>true
's' => array(
'name' => 'Search keyword',
'required' =>true
),
'pa'=>array(
'name'=>'Page',
'type'=>'number'
'pa' => array(
'name' => 'Page',
'type' => 'number'
)
)
);

View File

@ -8,15 +8,15 @@ class DanbooruBridge extends BridgeAbstract
const DESCRIPTION = "Returns images from given page";
const PARAMETERS = array(
'global'=>array(
'p'=>array(
'name'=>'page',
'defaultValue'=>1,
'type'=>'number'
'global' => array(
'p' => array(
'name' => 'page',
'defaultValue' =>1,
'type' => 'number'
),
't'=>array('name'=>'tags')
't' => array('name' => 'tags')
),
0=>array()
0=> array()
);
const PATHTODATA='article';

View File

@ -8,25 +8,25 @@ class DauphineLibereBridge extends FeedExpander
const DESCRIPTION = "Returns the newest articles.";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'Catégorie de l\'article',
'type'=>'list',
'values'=>array(
'À la une'=>'',
'France Monde'=>'france-monde',
'Faits Divers'=>'faits-divers',
'Économie et Finance'=>'economie-et-finance',
'Politique'=>'politique',
'Sport'=>'sport',
'Ain'=>'ain',
'Alpes-de-Haute-Provence'=>'haute-provence',
'Hautes-Alpes'=>'hautes-alpes',
'Ardèche'=>'ardeche',
'Drôme'=>'drome',
'Isère Sud'=>'isere-sud',
'Savoie'=>'savoie',
'Haute-Savoie'=>'haute-savoie',
'Vaucluse'=>'vaucluse'
'u' => array(
'name' => 'Catégorie de l\'article',
'type' => 'list',
'values' => array(
'À la une' => '',
'France Monde' => 'france-monde',
'Faits Divers' => 'faits-divers',
'Économie et Finance' => 'economie-et-finance',
'Politique' => 'politique',
'Sport' => 'sport',
'Ain' => 'ain',
'Alpes-de-Haute-Provence' => 'haute-provence',
'Hautes-Alpes' => 'hautes-alpes',
'Ardèche' => 'ardeche',
'Drôme' => 'drome',
'Isère Sud' => 'isere-sud',
'Savoie' => 'savoie',
'Haute-Savoie' => 'haute-savoie',
'Vaucluse' => 'vaucluse'
)
)
));

View File

@ -8,28 +8,28 @@ class DemoBridge extends BridgeAbstract
const PARAMETERS = array(
'testCheckbox' => array(
'testCheckbox'=>array(
'type'=>'checkbox',
'name'=>'test des checkbox'
'testCheckbox' => array(
'type' => 'checkbox',
'name' => 'test des checkbox'
)
),
'testList' => array(
'testList'=>array(
'type'=>'list',
'name'=>'test des listes',
'values'=>array(
'Test'=>'test',
'Test 2'=>'test2'
'testList' => array(
'type' => 'list',
'name' => 'test des listes',
'values' => array(
'Test' => 'test',
'Test 2' => 'test2'
)
)
),
'testNumber' => array(
'testNumber'=>array(
'type'=>'number',
'name'=>'test des numéros',
'exampleValue'=>'1515632'
'testNumber' => array(
'type' => 'number',
'name' => 'test des numéros',
'exampleValue' => '1515632'
)
)
);

View File

@ -11,18 +11,18 @@ class DuckDuckGoBridge extends BridgeAbstract
const SORT_RELEVANCE = '';
const PARAMETERS = array( array(
'u'=>array(
'name'=>'keyword',
'required'=>true),
'sort'=>array(
'name'=>'sort by',
'type'=>'list',
'required'=>false,
'values'=>array(
'date'=>self::SORT_DATE,
'relevance'=>self::SORT_RELEVANCE
'u' => array(
'name' => 'keyword',
'required' =>true),
'sort' => array(
'name' => 'sort by',
'type' => 'list',
'required' =>false,
'values' => array(
'date' =>self::SORT_DATE,
'relevance' =>self::SORT_RELEVANCE
),
'defaultValue'=>self::SORT_DATE
'defaultValue' =>self::SORT_DATE
)
));

View File

@ -7,10 +7,10 @@ class EZTVBridge extends BridgeAbstract
const DESCRIPTION = "Returns list of *recent* torrents for a specific show 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,…',
'required'=>true
'i' => array(
'name' => 'Show ids',
'exampleValue' => 'showID1,showID2,…',
'required' =>true
)
));

View File

@ -8,11 +8,11 @@ class ElsevierBridge extends BridgeAbstract
const DESCRIPTION = 'Returns the recent articles published in Elsevier journals';
const PARAMETERS = array( array(
'j'=>array(
'name'=>'Journal name',
'required'=>true,
'exampleValue'=>'academic-pediactrics',
'title'=>'Insert html-part of your journal'
'j' => array(
'name' => 'Journal name',
'required' =>true,
'exampleValue' => 'academic-pediactrics',
'title' => 'Insert html-part of your journal'
)
));

View File

@ -8,9 +8,9 @@ class FacebookBridge extends BridgeAbstract
const DESCRIPTION = "Input a page title or a profile log. For a profile log, please insert the parameter as follow : myExamplePage/132621766841117";
const PARAMETERS =array( array(
'u'=>array(
'name'=>'Username',
'required'=>true
'u' => array(
'name' => 'Username',
'required' =>true
)
));
@ -95,8 +95,8 @@ class FacebookBridge extends BridgeAbstract
$http_options = array(
'http' => array(
'method' => 'POST',
'user_agent'=> ini_get('user_agent'),
'header'=>array("Content-type: application/x-www-form-urlencoded\r\nReferer: $captcha_action\r\nCookie: noscript=1\r\n"),
'user_agent' => ini_get('user_agent'),
'header' => array("Content-type: application/x-www-form-urlencoded\r\nReferer: $captcha_action\r\nCookie: noscript=1\r\n"),
'content' => http_build_query($captcha_fields),
),
);

View File

@ -9,16 +9,16 @@ class FlickrTagBridge extends BridgeAbstract
const PARAMETERS = array(
'By keyword' => array(
'q'=>array(
'name'=>'keyword',
'required'=>true
'q' => array(
'name' => 'keyword',
'required' =>true
)
),
'By username' => array(
'u'=>array(
'name'=>'Username',
'required'=>true
'u' => array(
'name' => 'Username',
'required' =>true
)
),
);

View File

@ -8,14 +8,14 @@ class FourchanBridge extends BridgeAbstract
const DESCRIPTION = "Returns posts from the specified thread";
const PARAMETERS = array( array(
'c'=>array(
'name'=>'Thread category',
'required'=>true
'c' => array(
'name' => 'Thread category',
'required' =>true
),
't'=>array(
'name'=>'Thread number',
'type'=>'number',
'required'=>true
't' => array(
'name' => 'Thread number',
'type' => 'number',
'required' =>true
)
));

View File

@ -7,72 +7,72 @@ class FuturaSciencesBridge extends FeedExpander
const DESCRIPTION = 'Returns the newest articles.';
const PARAMETERS = array( array(
'feed'=> array(
'name'=>'Feed',
'type'=>'list',
'values'=>array(
'Les flux multi-magazines'=>array(
'Les dernières actualités de Futura-Sciences'=>'actualites',
'Les dernières définitions de Futura-Sciences'=>'definitions',
'Les dernières photos de Futura-Sciences'=>'photos',
'Les dernières questions - réponses de Futura-Sciences'=>'questions-reponses',
'Les derniers dossiers de Futura-Sciences'=>'dossiers'
'feed' => array(
'name' => 'Feed',
'type' => 'list',
'values' => array(
'Les flux multi-magazines' => array(
'Les dernières actualités de Futura-Sciences' => 'actualites',
'Les dernières définitions de Futura-Sciences' => 'definitions',
'Les dernières photos de Futura-Sciences' => 'photos',
'Les dernières questions - réponses de Futura-Sciences' => 'questions-reponses',
'Les derniers dossiers de Futura-Sciences' => 'dossiers'
),
'Les flux Services'=> array(
'Les cartes virtuelles de Futura-Sciences'=>'services/cartes-virtuelles',
'Les fonds d\'écran de Futura-Sciences'=>'services/fonds-ecran'
'Les flux Services' => array(
'Les cartes virtuelles de Futura-Sciences' => 'services/cartes-virtuelles',
'Les fonds d\'écran de Futura-Sciences' => 'services/fonds-ecran'
),
'Les flux Santé'=>array(
'Les dernières actualités de Futura-Santé'=>'sante/actualites',
'Les dernières définitions de Futura-Santé'=>'sante/definitions',
'Les dernières questions-réponses de Futura-Santé'=>'sante/question-reponses',
'Les derniers dossiers de Futura-Santé'=>'sante/dossiers'
'Les flux Santé' => array(
'Les dernières actualités de Futura-Santé' => 'sante/actualites',
'Les dernières définitions de Futura-Santé' => 'sante/definitions',
'Les dernières questions-réponses de Futura-Santé' => 'sante/question-reponses',
'Les derniers dossiers de Futura-Santé' => 'sante/dossiers'
),
'Les flux High-Tech'=>array(
'Les dernières actualités de Futura-High-Tech'=>'high-tech/actualites',
'Les dernières astuces de Futura-High-Tech'=>'high-tech/question-reponses',
'Les dernières définitions de Futura-High-Tech'=>'high-tech/definitions',
'Les derniers dossiers de Futura-High-Tech'=>'high-tech/dossiers'
'Les flux High-Tech' => array(
'Les dernières actualités de Futura-High-Tech' => 'high-tech/actualites',
'Les dernières astuces de Futura-High-Tech' => 'high-tech/question-reponses',
'Les dernières définitions de Futura-High-Tech' => 'high-tech/definitions',
'Les derniers dossiers de Futura-High-Tech' => 'high-tech/dossiers'
),
'Les flux Espace'=>array(
'Les dernières actualités de Futura-Espace'=>'espace/actualites',
'Les dernières définitions de Futura-Espace'=>'espace/definitions',
'Les dernières questions-réponses de Futura-Espace'=>'espace/question-reponses',
'Les derniers dossiers de Futura-Espace'=>'espace/dossiers'
'Les flux Espace' => array(
'Les dernières actualités de Futura-Espace' => 'espace/actualites',
'Les dernières définitions de Futura-Espace' => 'espace/definitions',
'Les dernières questions-réponses de Futura-Espace' => 'espace/question-reponses',
'Les derniers dossiers de Futura-Espace' => 'espace/dossiers'
),
'Les flux Environnement'=>array(
'Les dernières actualités de Futura-Environnement'=>'environnement/actualites',
'Les dernières définitions de Futura-Environnement'=>'environnement/definitions',
'Les dernières questions-réponses de Futura-Environnement'=>'environnement/question-reponses',
'Les derniers dossiers de Futura-Environnement'=>'environnement/dossiers'
'Les flux Environnement' => array(
'Les dernières actualités de Futura-Environnement' => 'environnement/actualites',
'Les dernières définitions de Futura-Environnement' => 'environnement/definitions',
'Les dernières questions-réponses de Futura-Environnement' => 'environnement/question-reponses',
'Les derniers dossiers de Futura-Environnement' => 'environnement/dossiers'
),
'Les flux Maison'=>array(
'Les dernières actualités de Futura-Maison'=>'maison/actualites',
'Les dernières astuces de Futura-Maison'=>'maison/question-reponses',
'Les dernières définitions de Futura-Maison'=>'maison/definitions',
'Les derniers dossiers de Futura-Maison'=>'maison/dossiers'
'Les flux Maison' => array(
'Les dernières actualités de Futura-Maison' => 'maison/actualites',
'Les dernières astuces de Futura-Maison' => 'maison/question-reponses',
'Les dernières définitions de Futura-Maison' => 'maison/definitions',
'Les derniers dossiers de Futura-Maison' => 'maison/dossiers'
),
'Les flux Nature'=>array(
'Les dernières actualités de Futura-Nature'=>'nature/actualites',
'Les dernières définitions de Futura-Nature'=>'nature/definitions',
'Les dernières questions-réponses de Futura-Nature'=>'nature/question-reponses',
'Les derniers dossiers de Futura-Nature'=>'nature/dossiers'
'Les flux Nature' => array(
'Les dernières actualités de Futura-Nature' => 'nature/actualites',
'Les dernières définitions de Futura-Nature' => 'nature/definitions',
'Les dernières questions-réponses de Futura-Nature' => 'nature/question-reponses',
'Les derniers dossiers de Futura-Nature' => 'nature/dossiers'
),
'Les flux Terre'=>array(
'Les dernières actualités de Futura-Terre'=>'terre/actualites',
'Les dernières définitions de Futura-Terre'=>'terre/definitions',
'Les dernières questions-réponses de Futura-Terre'=>'terre/question-reponses',
'Les derniers dossiers de Futura-Terre'=>'terre/dossiers'
'Les flux Terre' => array(
'Les dernières actualités de Futura-Terre' => 'terre/actualites',
'Les dernières définitions de Futura-Terre' => 'terre/definitions',
'Les dernières questions-réponses de Futura-Terre' => 'terre/question-reponses',
'Les derniers dossiers de Futura-Terre' => 'terre/dossiers'
),
'Les flux Matière'=>array(
'Les dernières actualités de Futura-Matière'=>'matiere/actualites',
'Les dernières définitions de Futura-Matière'=>'matiere/definitions',
'Les dernières questions-réponses de Futura-Matière'=>'matiere/question-reponses',
'Les derniers dossiers de Futura-Matière'=>'matiere/dossiers'
'Les flux Matière' => array(
'Les dernières actualités de Futura-Matière' => 'matiere/actualites',
'Les dernières définitions de Futura-Matière' => 'matiere/definitions',
'Les dernières questions-réponses de Futura-Matière' => 'matiere/question-reponses',
'Les derniers dossiers de Futura-Matière' => 'matiere/dossiers'
),
'Les flux Mathématiques'=>array(
'Les dernières actualités de Futura-Mathématiques'=>'mathematiques/actualites',
'Les derniers dossiers de Futura-Mathématiques'=>'mathematiques/dossiers'
'Les flux Mathématiques' => array(
'Les dernières actualités de Futura-Mathématiques' => 'mathematiques/actualites',
'Les derniers dossiers de Futura-Mathématiques' => 'mathematiques/dossiers'
)
)
)

View File

@ -7,15 +7,15 @@ class GBAtempBridge extends BridgeAbstract
const DESCRIPTION = 'GBAtemp is a user friendly underground video game community.';
const PARAMETERS = array( array(
'type'=>array(
'name'=>'Type',
'type'=>'list',
'required'=>true,
'values'=>array(
'News'=>'N',
'Reviews'=>'R',
'Tutorials'=>'T',
'Forum'=>'F'
'type' => array(
'name' => 'Type',
'type' => 'list',
'required' =>true,
'values' => array(
'News' => 'N',
'Reviews' => 'R',
'Tutorials' => 'T',
'Forum' => 'F'
)
)
));

View File

@ -10,13 +10,13 @@ class GiphyBridge extends BridgeAbstract
const DESCRIPTION = "Bridge for giphy.com";
const PARAMETERS = array( array(
's'=>array(
'name'=>'search tag',
'required'=>true
's' => array(
'name' => 'search tag',
'required' =>true
),
'n'=>array(
'name'=>'max number of returned items',
'type'=>'number'
'n' => array(
'name' => 'max number of returned items',
'type' => 'number'
)
));

View File

@ -8,28 +8,28 @@ class GithubIssueBridge extends BridgeAbstract
const DESCRIPTION = 'Returns the issues or comments of an issue of a github project';
const PARAMETERS=array(
'global'=>array(
'u'=>array(
'name'=>'User name',
'required'=>true
'global' => array(
'u' => array(
'name' => 'User name',
'required' =>true
),
'p'=>array(
'name'=>'Project name',
'required'=>true
'p' => array(
'name' => 'Project name',
'required' =>true
)
),
'Project Issues'=>array(
'c'=>array(
'name'=>'Show Issues Comments',
'type'=>'checkbox'
'Project Issues' => array(
'c' => array(
'name' => 'Show Issues Comments',
'type' => 'checkbox'
)
),
'Issue comments'=>array(
'i'=>array(
'name'=>'Issue number',
'type'=>'number',
'required'=>'true'
'Issue comments' => array(
'i' => array(
'name' => 'Issue number',
'type' => 'number',
'required' => 'true'
)
)
);

View File

@ -11,9 +11,9 @@ class GooglePlusPostBridge extends BridgeAbstract
const DESCRIPTION = "Returns user public post (without API).";
const PARAMETERS = array( array(
'username'=>array(
'name'=>'username or Id',
'required'=>true
'username' => array(
'name' => 'username or Id',
'required' =>true
)
));
@ -22,7 +22,7 @@ class GooglePlusPostBridge extends BridgeAbstract
// get content parsed
// $html = getSimpleHTMLDOM(__DIR__ . '/../posts2.html'
$html = getSimpleHTMLDOM(self::URI . urlencode($this->getInput('username')) . '/posts'
// force language, false, stream_context_create(array('http'=> array(
// force language, false, stream_context_create(array('http' => array(
'header' => 'Accept-Language: fr,fr-be,fr-fr;q=0.8,en;q=0.4,en-us;q=0.2;*' . "\r\n"
)))
) or returnServerError('No results for this query.');

View File

@ -16,9 +16,9 @@ class GoogleSearchBridge extends BridgeAbstract
const DESCRIPTION = "Returns most recent results from Google search.";
const PARAMETERS = array( array(
'q'=>array(
'name'=>"keyword",
'required'=>true
'q' => array(
'name' "" =>keyword",
'required' =>true
)
));

View File

@ -8,15 +8,15 @@ class HDWallpapersBridge extends BridgeAbstract
const DESCRIPTION = "Returns the latests wallpapers from HDWallpapers";
const PARAMETERS = array( array(
'c'=>array(
'name'=>'category',
'defaultValue'=>'latest_wallpapers'
'c' => array(
'name' => 'category',
'defaultValue' => 'latest_wallpapers'
),
'm'=>array('name'=>'max number of wallpapers'),
'r'=>array(
'name'=>'resolution',
'defaultValue'=>'1920x1200',
'exampleValue'=>'1920x1200, 1680x1050,…'
'm' => array('name' => 'max number of wallpapers'),
'r' => array(
'name' => 'resolution',
'defaultValue' => '1920x1200',
'exampleValue' => '1920x1200, 1680x1050,…'
)
));

View File

@ -8,9 +8,9 @@ class IdenticaBridge extends BridgeAbstract
const DESCRIPTION = "Returns user timelines";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'username',
'required'=>true
'u' => array(
'name' => 'username',
'required' =>true
)
));

View File

@ -7,9 +7,9 @@ class InstagramBridge extends BridgeAbstract
const DESCRIPTION = "Returns the newest images";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'username',
'required'=>true
'u' => array(
'name' => 'username',
'required' =>true
)
));

View File

@ -14,17 +14,17 @@ class IsoHuntBridge extends BridgeAbstract
* Elements are sorted by name ascending!
*/
'By "Latest" category' => array(
'latest_category'=>array(
'name'=>'Latest category',
'type'=>'list',
'required'=>true,
'title'=>'Select your category',
'defaultValue'=>'news',
'values'=>array(
'Hot Torrents'=>'hot_torrents',
'News'=>'news',
'Releases'=>'releases',
'Torrents'=>'torrents'
'latest_category' => array(
'name' => 'Latest category',
'type' => 'list',
'required' =>true,
'title' => 'Select your category',
'defaultValue' => 'news',
'values' => array(
'Hot Torrents' => 'hot_torrents',
'News' => 'news',
'Releases' => 'releases',
'Torrents' => 'torrents'
)
)
),
@ -35,28 +35,28 @@ class IsoHuntBridge extends BridgeAbstract
* Elements are sorted by name ascending!
*/
'By "Torrent" category' => array(
'torrent_category'=>array(
'name'=>'Torrent category',
'type'=>'list',
'required'=>true,
'title'=>'Select your category',
'defaultValue'=>'anime',
'values'=>array(
'Adult'=>'adult',
'Anime'=>'anime',
'Books'=>'books',
'Games'=>'games',
'Movies'=>'movies',
'Music'=>'music',
'Other'=>'other',
'Series & TV'=>'series_tv',
'Software'=>'software'
'torrent_category' => array(
'name' => 'Torrent category',
'type' => 'list',
'required' =>true,
'title' => 'Select your category',
'defaultValue' => 'anime',
'values' => array(
'Adult' => 'adult',
'Anime' => 'anime',
'Books' => 'books',
'Games' => 'games',
'Movies' => 'movies',
'Music' => 'music',
'Other' => 'other',
'Series & TV' => 'series_tv',
'Software' => 'software'
)
),
'torrent_popularity'=>array(
'name'=>'Sort by popularity',
'type'=>'checkbox',
'title'=>'Activate to receive results by popularity'
'torrent_popularity' => array(
'name' => 'Sort by popularity',
'type' => 'checkbox',
'title' => 'Activate to receive results by popularity'
)
),
@ -64,28 +64,28 @@ class IsoHuntBridge extends BridgeAbstract
* Get feeds for a specific search request
*/
'Search torrent by name' => array(
'search_name'=>array(
'name'=>'Name',
'required'=>true,
'title'=>'Insert your search query',
'exampleValue'=>'Bridge'
'search_name' => array(
'name' => 'Name',
'required' =>true,
'title' => 'Insert your search query',
'exampleValue' => 'Bridge'
),
'search_category'=>array(
'name'=>'Category',
'type'=>'list',
'title'=>'Select your category',
'defaultValue'=>'all',
'values'=>array(
'Adult'=>'adult',
'All'=>'all',
'Anime'=>'anime',
'Books'=>'books',
'Games'=>'games',
'Movies'=>'movies',
'Music'=>'music',
'Other'=>'other',
'Series & TV'=>'series_tv',
'Software'=>'software'
'search_category' => array(
'name' => 'Category',
'type' => 'list',
'title' => 'Select your category',
'defaultValue' => 'all',
'values' => array(
'Adult' => 'adult',
'All' => 'all',
'Anime' => 'anime',
'Books' => 'books',
'Games' => 'games',
'Movies' => 'movies',
'Music' => 'music',
'Other' => 'other',
'Series & TV' => 'series_tv',
'Software' => 'software'
)
)
)

View File

@ -7,9 +7,9 @@ class JapanExpoBridge extends BridgeAbstract
const CACHE_TIMEOUT = 14400; // 4h
const DESCRIPTION = 'Returns most recent entries from Japan Expo actualités.';
const PARAMETERS = array( array(
'mode'=>array(
'name'=>'Show full contents',
'type'=>'checkbox',
'mode' => array(
'name' => 'Show full contents',
'type' => 'checkbox',
)
));

View File

@ -9,33 +9,33 @@ class KununuBridge extends BridgeAbstract
const PARAMETERS = array(
'global' => array(
'site'=>array(
'name'=>'Site',
'type'=>'list',
'required'=>true,
'title'=>'Select your site',
'values'=>array(
'Austria'=>'at',
'Germany'=>'de',
'Switzerland'=>'ch',
'United States'=>'us'
'site' => array(
'name' => 'Site',
'type' => 'list',
'required' =>true,
'title' => 'Select your site',
'values' => array(
'Austria' => 'at',
'Germany' => 'de',
'Switzerland' => 'ch',
'United States' => 'us'
)
),
'full'=>array(
'name'=>'Load full article',
'type'=>'checkbox',
'required'=>false,
'exampleValue'=>'checked',
'title'=>'Activate to load full article'
'full' => array(
'name' => 'Load full article',
'type' => 'checkbox',
'required' =>false,
'exampleValue' => 'checked',
'title' => 'Activate to load full article'
)
),
array(
'company'=>array(
'name'=>'Company',
'required'=>true,
'exampleValue'=>'kununu-us',
'title'=>'Insert company name (i.e. Kununu US) or URI path (i.e. kununu-us)'
'company' => array(
'name' => 'Company',
'required' =>true,
'exampleValue' => 'kununu-us',
'title' => 'Insert company name (i.e. Kununu US) or URI path (i.e. kununu-us)'
)
)
);

View File

@ -7,130 +7,130 @@ class LeBonCoinBridge extends BridgeAbstract
const DESCRIPTION = "Returns most recent results from LeBonCoin for a region, and optionally a category and a keyword .";
const PARAMETERS = array( array(
'k'=>array('name'=>'Mot Clé'),
'r'=>array(
'name'=>'Région',
'type'=>'list',
'values'=>array(
'Toute la France'=>'ile_de_france/occasions',
'Alsace'=>'alsace',
'Aquitaine'=>'aquitaine',
'Auvergne'=>'auvergne',
'Basse Normandie'=>'basse_normandie',
'Bourgogne'=>'bourgogne',
'Bretagne'=>'bretagne',
'Centre'=>'centre',
'Champagne Ardenne'=>'champagne_ardenne',
'Corse'=>'corse',
'Franche Comté'=>'franche_comte',
'Haute Normandie'=>'haute_normandie',
'Ile de France'=>'ile_de_france',
'Languedoc Roussillon'=>'languedoc_roussillon',
'Limousin'=>'limousin',
'Lorraine'=>'lorraine',
'Midi Pyrénées'=>'midi_pyrenees',
'Nord Pas De Calais'=>'nord_pas_de_calais',
'Pays de la Loire'=>'pays_de_la_loire',
'Picardie'=>'picardie',
'Poitou Charentes'=>'poitou_charentes',
'Provence Alpes Côte d\'Azur'=>'provence_alpes_cote_d_azur',
'Rhône-Alpes'=>'rhone_alpes',
'Guadeloupe'=>'guadeloupe',
'Martinique'=>'martinique',
'Guyane'=>'guyane',
'Réunion'=>'reunion'
'k' => array('name' => 'Mot Clé'),
'r' => array(
'name' => 'Région',
'type' => 'list',
'values' => array(
'Toute la France' => 'ile_de_france/occasions',
'Alsace' => 'alsace',
'Aquitaine' => 'aquitaine',
'Auvergne' => 'auvergne',
'Basse Normandie' => 'basse_normandie',
'Bourgogne' => 'bourgogne',
'Bretagne' => 'bretagne',
'Centre' => 'centre',
'Champagne Ardenne' => 'champagne_ardenne',
'Corse' => 'corse',
'Franche Comté' => 'franche_comte',
'Haute Normandie' => 'haute_normandie',
'Ile de France' => 'ile_de_france',
'Languedoc Roussillon' => 'languedoc_roussillon',
'Limousin' => 'limousin',
'Lorraine' => 'lorraine',
'Midi Pyrénées' => 'midi_pyrenees',
'Nord Pas De Calais' => 'nord_pas_de_calais',
'Pays de la Loire' => 'pays_de_la_loire',
'Picardie' => 'picardie',
'Poitou Charentes' => 'poitou_charentes',
'Provence Alpes Côte d\'Azur' => 'provence_alpes_cote_d_azur',
'Rhône-Alpes' => 'rhone_alpes',
'Guadeloupe' => 'guadeloupe',
'Martinique' => 'martinique',
'Guyane' => 'guyane',
'Réunion' => 'reunion'
)
),
'c'=>array(
'name'=>'Catégorie',
'type'=>'list',
'values'=>array(
'TOUS'=>'',
'EMPLOI'=>'_emploi_',
'VEHICULES'=>array(
'Tous'=>'_vehicules_',
'Voitures'=>'voitures',
'Motos'=>'motos',
'Caravaning'=>'caravaning',
'Utilitaires'=>'utilitaires',
'Équipement Auto'=>'equipement_auto',
'Équipement Moto'=>'equipement_moto',
'Équipement Caravaning'=>'equipement_caravaning',
'Nautisme'=>'nautisme',
'Équipement Nautisme'=>'equipement_nautisme'
'c' => array(
'name' => 'Catégorie',
'type' => 'list',
'values' => array(
'TOUS' => '',
'EMPLOI' => '_emploi_',
'VEHICULES' => array(
'Tous' => '_vehicules_',
'Voitures' => 'voitures',
'Motos' => 'motos',
'Caravaning' => 'caravaning',
'Utilitaires' => 'utilitaires',
'Équipement Auto' => 'equipement_auto',
'Équipement Moto' => 'equipement_moto',
'Équipement Caravaning' => 'equipement_caravaning',
'Nautisme' => 'nautisme',
'Équipement Nautisme' => 'equipement_nautisme'
),
'IMMOBILIER'=>array(
'Tous'=>'_immobilier_',
'Ventes immobilières'=>'ventes_immobilieres',
'Locations'=>'locations',
'Colocations'=>'colocations',
'Bureaux & Commerces'=>'bureaux_commerces'
'IMMOBILIER' => array(
'Tous' => '_immobilier_',
'Ventes immobilières' => 'ventes_immobilieres',
'Locations' => 'locations',
'Colocations' => 'colocations',
'Bureaux & Commerces' => 'bureaux_commerces'
),
'VACANCES'=>array(
'Tous'=>'_vacances_',
'Location gîtes'=>'locations_gites',
'Chambres d\'hôtes'=>'chambres_d_hotes',
'Campings'=>'campings',
'Hôtels'=>'hotels',
'Hébergements insolites'=>'hebergements_insolites'
'VACANCES' => array(
'Tous' => '_vacances_',
'Location gîtes' => 'locations_gites',
'Chambres d\'hôtes' => 'chambres_d_hotes',
'Campings' => 'campings',
'Hôtels' => 'hotels',
'Hébergements insolites' => 'hebergements_insolites'
),
'MULTIMEDIA'=>array(
'Tous'=>'_multimedia_',
'Informatique'=>'informatique',
'Consoles & Jeux vidéo'=>'consoles_jeux_video',
'Image & Son'=>'image_son',
'Téléphonie'=>'telephonie'
'MULTIMEDIA' => array(
'Tous' => '_multimedia_',
'Informatique' => 'informatique',
'Consoles & Jeux vidéo' => 'consoles_jeux_video',
'Image & Son' => 'image_son',
'Téléphonie' => 'telephonie'
),
'LOISIRS'=>array(
'Tous'=>'_loisirs_',
'DVD / Films'=>'dvd_films',
'CD / Musique'=>'cd_musique',
'Livres'=>'livres',
'Animaux'=>'animaux',
'Vélos'=>'velos',
'Sports & Hobbies'=>'sports_hobbies',
'Instruments de musique'=>'instruments_de_musique',
'Collection'=>'collection',
'Jeux & Jouets'=>'jeux_jouets',
'Vins & Gastronomie'=>'vins_gastronomie'
'LOISIRS' => array(
'Tous' => '_loisirs_',
'DVD / Films' => 'dvd_films',
'CD / Musique' => 'cd_musique',
'Livres' => 'livres',
'Animaux' => 'animaux',
'Vélos' => 'velos',
'Sports & Hobbies' => 'sports_hobbies',
'Instruments de musique' => 'instruments_de_musique',
'Collection' => 'collection',
'Jeux & Jouets' => 'jeux_jouets',
'Vins & Gastronomie' => 'vins_gastronomie'
),
'MATÉRIEL PROFESSIONNEL'=>array(
'Tous'=>'_materiel_professionnel_',
'Matériel Agricole'=>'mateiel_agricole',
'Transport - Manutention'=>'transport_manutention',
'BTP - Chantier - Gros-œuvre'=>'btp_chantier_gros_oeuvre',
'Outillage - Matériaux 2nd-œuvre'=>'outillage_materiaux_2nd_oeuvre',
'Équipements Industriels'=>'equipement_industriels',
'Restauration - Hôtellerie'=>'restauration_hotellerie',
'Fournitures de Bureau'=>'fournitures_de_bureau',
'Commerces & Marchés'=>'commerces_marches',
'Matériel médical'=>'materiel_medical'
'MATÉRIEL PROFESSIONNEL' => array(
'Tous' => '_materiel_professionnel_',
'Matériel Agricole' => 'mateiel_agricole',
'Transport - Manutention' => 'transport_manutention',
'BTP - Chantier - Gros-œuvre' => 'btp_chantier_gros_oeuvre',
'Outillage - Matériaux 2nd-œuvre' => 'outillage_materiaux_2nd_oeuvre',
'Équipements Industriels' => 'equipement_industriels',
'Restauration - Hôtellerie' => 'restauration_hotellerie',
'Fournitures de Bureau' => 'fournitures_de_bureau',
'Commerces & Marchés' => 'commerces_marches',
'Matériel médical' => 'materiel_medical'
),
'SERVICES'=>array(
'Tous'=>'_services_',
'Prestations de services'=>'prestations_de_services',
'Billetterie'=>'billetterie',
'Évènements'=>'evenements',
'Cours particuliers'=>'cours_particuliers',
'Covoiturage'=>'covoiturage'
'SERVICES' => array(
'Tous' => '_services_',
'Prestations de services' => 'prestations_de_services',
'Billetterie' => 'billetterie',
'Évènements' => 'evenements',
'Cours particuliers' => 'cours_particuliers',
'Covoiturage' => 'covoiturage'
),
'MAISON'=>array(
'Tous'=>'_maison_',
'Ameublement'=>'ameublement',
'Électroménager'=>'electromenager',
'Arts de la table'=>'arts_de_la_table',
'Décoration'=>'decoration',
'Linge de maison'=>'linge_de_maison',
'Bricolage'=>'bricolage',
'Jardinage'=>'jardinage',
'Vêtements'=>'vetements',
'Chaussures'=>'chaussures',
'Accessoires & Bagagerie'=>'accessoires_bagagerie',
'Montres & Bijoux'=>'montres_bijoux',
'Équipement bébé'=>'equipement_bebe',
'Vêtements bébé'=>'vetements_bebe'
'MAISON' => array(
'Tous' => '_maison_',
'Ameublement' => 'ameublement',
'Électroménager' => 'electromenager',
'Arts de la table' => 'arts_de_la_table',
'Décoration' => 'decoration',
'Linge de maison' => 'linge_de_maison',
'Bricolage' => 'bricolage',
'Jardinage' => 'jardinage',
'Vêtements' => 'vetements',
'Chaussures' => 'chaussures',
'Accessoires & Bagagerie' => 'accessoires_bagagerie',
'Montres & Bijoux' => 'montres_bijoux',
'Équipement bébé' => 'equipement_bebe',
'Vêtements bébé' => 'vetements_bebe'
),
'AUTRES'=>'autres'
'AUTRES' => 'autres'
)
)
)

View File

@ -8,9 +8,9 @@ class LinkedInCompanyBridge extends BridgeAbstract
const DESCRIPTION = "Returns most recent actus from Company on LinkedIn. (https://www.linkedin.com/company/<strong style=\"font-weight:bold;\">apple</strong>)";
const PARAMETERS = array( array(
'c'=>array(
'name'=>'Company name',
'required'=>true
'c' => array(
'name' => 'Company name',
'required' =>true
)
));

View File

@ -7,12 +7,12 @@ class MoebooruBridge extends BridgeAbstract
const DESCRIPTION = "Returns images from given page";
const PARAMETERS = array( array(
'p'=>array(
'name'=>'page',
'defaultValue'=>1,
'type'=>'number'
'p' => array(
'name' => 'page',
'defaultValue' =>1,
'type' => 'number'
),
't'=>array('name'=>'tags')
't' => array('name' => 'tags')
));
protected function getFullURI()

View File

@ -7,20 +7,20 @@ class NextgovBridge extends FeedExpander
const DESCRIPTION = 'USA Federal technology news, best practices, and web 2.0 tools.';
const PARAMETERS = array( array(
'category'=>array(
'name'=>'Category',
'type'=>'list',
'values'=>array(
'All'=>'all',
'Technology News'=>'technology-news',
'CIO Briefing'=>'cio-briefing',
'Emerging Tech'=>'emerging-tech',
'Cloud'=>'cloud-computing',
'Cybersecurity'=>'cybersecurity',
'Mobile'=>'mobile',
'Health'=>'health',
'Defense'=>'defense',
'Big Data'=>'big-data'
'category' => array(
'name' => 'Category',
'type' => 'list',
'values' => array(
'All' => 'all',
'Technology News' => 'technology-news',
'CIO Briefing' => 'cio-briefing',
'Emerging Tech' => 'emerging-tech',
'Cloud' => 'cloud-computing',
'Cybersecurity' => 'cybersecurity',
'Mobile' => 'mobile',
'Health' => 'health',
'Defense' => 'defense',
'Big Data' => 'big-data'
)
)
));

View File

@ -7,10 +7,10 @@ class NovelUpdatesBridge extends BridgeAbstract
const CACHE_TIMEOUT = 21600; // 6h
const DESCRIPTION = "Returns releases from Novel Updates";
const PARAMETERS = array( array(
'n'=>array(
'name'=>'Novel name as found in the url',
'exampleValue'=>'spirit-realm',
'required'=>true
'n' => array(
'name' => 'Novel name as found in the url',
'exampleValue' => 'spirit-realm',
'required' =>true
)
));

View File

@ -8,20 +8,20 @@ class OpenClassroomsBridge extends BridgeAbstract
const DESCRIPTION = "Returns latest tutorials from OpenClassrooms.";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'Catégorie',
'type'=>'list',
'required'=>true,
'values'=>array(
'Arts & Culture'=>'arts',
'Code'=>'code',
'Design'=>'design',
'Entreprise'=>'business',
'Numérique'=>'digital',
'Sciences'=>'sciences',
'Sciences Humaines'=>'humainities',
'Systèmes d\'information'=>'it',
'Autres'=>'others'
'u' => array(
'name' => 'Catégorie',
'type' => 'list',
'required' =>true,
'values' => array(
'Arts & Culture' => 'arts',
'Code' => 'code',
'Design' => 'design',
'Entreprise' => 'business',
'Numérique' => 'digital',
'Sciences' => 'sciences',
'Sciences Humaines' => 'humainities',
'Systèmes d\'information' => 'it',
'Autres' => 'others'
)
)
));

View File

@ -9,19 +9,19 @@ class ParuVenduImmoBridge extends BridgeAbstract
const PARAMETERS = array( array(
'minarea'=>array(
'name'=>'Minimal surface m²',
'type'=>'number'
'minarea' => array(
'name' => 'Minimal surface m²',
'type' => 'number'
),
'maxprice'=>array(
'name'=>'Max price',
'type'=>'number'
'maxprice' => array(
'name' => 'Max price',
'type' => 'number'
),
'pa'=>array(
'name'=>'Country code',
'exampleValue'=>'FR'
'pa' => array(
'name' => 'Country code',
'exampleValue' => 'FR'
),
'lo'=>array('name'=>'department numbers or postal codes, comma-separated')
'lo' => array('name' => 'department numbers or postal codes, comma-separated')
));
public function collectData()

View File

@ -8,21 +8,21 @@ class PickyWallpapersBridge extends BridgeAbstract
const DESCRIPTION = "Returns the latests wallpapers from PickyWallpapers";
const PARAMETERS = array( array(
'c'=>array(
'name'=>'category',
'required'=>true
'c' => array(
'name' => 'category',
'required' =>true
),
's'=>array('name'=>'subcategory'),
'm'=>array(
'name'=>'Max number of wallpapers',
'defaultValue'=>12,
'type'=>'number'
's' => array('name' => 'subcategory'),
'm' => array(
'name' => 'Max number of wallpapers',
'defaultValue' =>12,
'type' => 'number'
),
'r'=>array(
'name'=>'resolution',
'exampleValue'=>'1920x1200, 1680x1050,…',
'defaultValue'=>'1920x1200',
'pattern'=>'[0-9]{3,4}x[0-9]{3,4}'
'r' => array(
'name' => 'resolution',
'exampleValue' => '1920x1200, 1680x1050,…',
'defaultValue' => '1920x1200',
'pattern' => '[0-9]{3,4}x[0-9]{3,4}'
)
));

View File

@ -8,10 +8,10 @@ class RTBFBridge extends BridgeAbstract
const MAINTAINER = "Frenzie";
const PARAMETERS = array( array(
'c'=>array(
'name'=>'series id',
'exampleValue'=>9500,
'required'=>true
'c' => array(
'name' => 'series id',
'exampleValue' =>9500,
'required' =>true
)
));

View File

@ -7,10 +7,10 @@ class ReadComicsBridge extends BridgeAbstract
const DESCRIPTION = "Enter the comics as they appear in the website uri, separated by semicolons, ex: good-comic-1;good-comic-2; ...";
const PARAMETERS = array( array(
'q'=>array(
'name'=>'keywords, separated by semicolons',
'exampleValue'=>'first list;second list;...',
'required'=>true
'q' => array(
'name' => 'keywords, separated by semicolons',
'exampleValue' => 'first list;second list;...',
'required' =>true
),
));

View File

@ -8,9 +8,9 @@ class ScoopItBridge extends BridgeAbstract
const DESCRIPTION = "Returns most recent results from ScoopIt.";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'keyword',
'required'=>true
'u' => array(
'name' => 'keyword',
'required' =>true
)
));

View File

@ -8,29 +8,29 @@ class SensCritiqueBridge extends BridgeAbstract
const DESCRIPTION = "Sens Critique news";
const PARAMETERS = array( array(
'm'=>array(
'name'=>'Movies',
'type'=>'checkbox'
'm' => array(
'name' => 'Movies',
'type' => 'checkbox'
),
's'=>array(
'name'=>'Series',
'type'=>'checkbox'
's' => array(
'name' => 'Series',
'type' => 'checkbox'
),
'g'=>array(
'name'=>'Video Games',
'type'=>'checkbox'
'g' => array(
'name' => 'Video Games',
'type' => 'checkbox'
),
'b'=>array(
'name'=>'Books',
'type'=>'checkbox'
'b' => array(
'name' => 'Books',
'type' => 'checkbox'
),
'bd'=>array(
'name'=>'BD',
'type'=>'checkbox'
'bd' => array(
'name' => 'BD',
'type' => 'checkbox'
),
'mu'=>array(
'name'=>'Music',
'type'=>'checkbox'
'mu' => array(
'name' => 'Music',
'type' => 'checkbox'
)
));

View File

@ -8,9 +8,9 @@ class SoundCloudBridge extends BridgeAbstract
const DESCRIPTION = "Returns 10 newest music from user profile";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'username',
'required'=>true
'u' => array(
'name' => 'username',
'required' =>true
)
));

View File

@ -8,18 +8,18 @@ class SuperbWallpapersBridge extends BridgeAbstract
const DESCRIPTION = "Returns the latests wallpapers from SuperbWallpapers";
const PARAMETERS = array( array(
'c'=>array(
'name'=>'category',
'required'=>true
'c' => array(
'name' => 'category',
'required' =>true
),
'm'=>array(
'name'=>'Max number of wallpapers',
'type'=>'number'
'm' => array(
'name' => 'Max number of wallpapers',
'type' => 'number'
),
'r'=>array(
'name'=>'resolution',
'exampleValue'=>'1920x1200, 1680x1050,…',
'defaultValue'=>'1920x1200'
'r' => array(
'name' => 'resolution',
'exampleValue' => '1920x1200, 1680x1050,…',
'defaultValue' => '1920x1200'
)
));

View File

@ -7,9 +7,9 @@ class T411Bridge extends BridgeAbstract
const DESCRIPTION = 'Returns the 10 newest torrents with specified search terms <br /> Use url part after "?" mark when using their search engine.';
const PARAMETERS = array( array(
'search'=>array(
'name'=>'Search criteria',
'required'=>true
'search' => array(
'name' => 'Search criteria',
'required' =>true
)
));

View File

@ -8,9 +8,9 @@ class TagBoardBridge extends BridgeAbstract
const DESCRIPTION = "Returns most recent results from TagBoard.";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'keyword',
'required'=>true
'u' => array(
'name' => 'keyword',
'required' =>true
)
));

View File

@ -7,27 +7,27 @@ class ThePirateBayBridge extends BridgeAbstract
const DESCRIPTION = "Returns results for the keywords. You can put several list of keywords by separating them with a semicolon (e.g. \"one show;another show\"). Category based search needs the category number as input. User based search takes the Uploader name. Search can be done in a specified category";
const PARAMETERS = array( array(
'q'=>array(
'name'=>'keywords, separated by semicolons',
'exampleValue'=>'first list;second list;…',
'required'=>true
'q' => array(
'name' => 'keywords, separated by semicolons',
'exampleValue' => 'first list;second list;…',
'required' =>true
),
'crit'=>array(
'type'=>'list',
'name'=>'Search type',
'values'=>array(
'search'=>'search',
'category'=>'cat',
'user'=>'usr'
'crit' => array(
'type' => 'list',
'name' => 'Search type',
'values' => array(
'search' => 'search',
'category' => 'cat',
'user' => 'usr'
)
),
'cat_check'=>array(
'type'=>'checkbox',
'name'=>'Specify category for normal search ?',
'cat_check' => array(
'type' => 'checkbox',
'name' => 'Specify category for normal search ?',
),
'cat'=>array(
'name'=>'Category number',
'exampleValue'=>'100, 200… See TPB for category number'
'cat' => array(
'name' => 'Category number',
'exampleValue' => '100, 200… See TPB for category number'
),
));

View File

@ -6,32 +6,32 @@ class TwitterBridge extends BridgeAbstract
const CACHE_TIMEOUT = 300; // 5min
const DESCRIPTION='returns tweets';
const PARAMETERS=array(
'global'=>array(
'nopic'=>array(
'name'=>'Hide profile pictures',
'type'=>'checkbox',
'title'=>'Activate to hide profile pictures in content'
'global' => array(
'nopic' => array(
'name' => 'Hide profile pictures',
'type' => 'checkbox',
'title' => 'Activate to hide profile pictures in content'
)
),
'By keyword or hashtag' => array(
'q'=>array(
'name'=>'Keyword or #hashtag',
'required'=>true,
'exampleValue'=>'rss-bridge, #rss-bridge',
'title'=>'Insert a keyword or hashtag'
'q' => array(
'name' => 'Keyword or #hashtag',
'required' =>true,
'exampleValue' => 'rss-bridge, #rss-bridge',
'title' => 'Insert a keyword or hashtag'
)
),
'By username' => array(
'u'=>array(
'name'=>'username',
'required'=>true,
'exampleValue'=>'sebsauvage',
'title'=>'Insert a user name'
'u' => array(
'name' => 'username',
'required' =>true,
'exampleValue' => 'sebsauvage',
'title' => 'Insert a user name'
),
'norep'=>array(
'name'=>'Without replies',
'type'=>'checkbox',
'title'=>'Only return initial tweets'
'norep' => array(
'name' => 'Without replies',
'type' => 'checkbox',
'title' => 'Only return initial tweets'
)
)
);

View File

@ -8,20 +8,20 @@ class UnsplashBridge extends BridgeAbstract
const DESCRIPTION = "Returns the latests photos from Unsplash";
const PARAMETERS = array( array(
'm'=>array(
'name'=>'Max number of photos',
'type'=>'number',
'defaultValue'=>20
'm' => array(
'name' => 'Max number of photos',
'type' => 'number',
'defaultValue' =>20
),
'w'=>array(
'name'=>'Width',
'exampleValue'=>'1920, 1680, …',
'defaultValue'=>'1920'
'w' => array(
'name' => 'Width',
'exampleValue' => '1920, 1680, …',
'defaultValue' => '1920'
),
'q'=>array(
'name'=>'JPEG quality',
'type'=>'number',
'defaultValue'=>75
'q' => array(
'name' => 'JPEG quality',
'type' => 'number',
'defaultValue' =>75
)
));

View File

@ -8,9 +8,9 @@ class ViadeoCompanyBridge extends BridgeAbstract
const DESCRIPTION = "Returns most recent actus from Company on Viadeo. (http://www.viadeo.com/fr/company/<strong style=\"font-weight:bold;\">apple</strong>)";
const PARAMETERS = array( array(
'c'=>array(
'name'=>'Company name',
'required'=>true
'c' => array(
'name' => 'Company name',
'required' =>true
)
));

View File

@ -7,9 +7,9 @@ class VineBridge extends BridgeAbstract
const DESCRIPTION = "Returns the latests vines from vine user page";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'User id',
'required'=>true
'u' => array(
'name' => 'User id',
'required' =>true
)
));

View File

@ -8,9 +8,9 @@ class VkBridge extends BridgeAbstract
const CACHE_TIMEOUT = 300; // 5min
const DESCRIPTION = "Working with open pages";
const PARAMETERS=array( array(
'u'=>array(
'name'=>'Group or user name',
'required'=>true
'u' => array(
'name' => 'Group or user name',
'required' =>true
)
)
);

View File

@ -8,17 +8,17 @@ class WallpaperStopBridge extends BridgeAbstract
const DESCRIPTION = "Returns the latests wallpapers from WallpaperStop";
const PARAMETERS = array( array(
'c'=>array('name'=>'Category'),
's'=>array('name'=>'subcategory'),
'm'=>array(
'name'=>'Max number of wallpapers',
'type'=>'number',
'defaultValue'=>20
'c' => array('name' => 'Category'),
's' => array('name' => 'subcategory'),
'm' => array(
'name' => 'Max number of wallpapers',
'type' => 'number',
'defaultValue' =>20
),
'r'=>array(
'name'=>'resolution',
'exampleValue'=>'1920x1200, 1680x1050,…',
'defaultValue'=>'1920x1200'
'r' => array(
'name' => 'resolution',
'exampleValue' => '1920x1200, 1680x1050,…',
'defaultValue' => '1920x1200'
)
));

View File

@ -8,9 +8,9 @@ class WhydBridge extends BridgeAbstract
const DESCRIPTION = "Returns 10 newest music from user profile";
const PARAMETERS = array( array(
'u'=>array(
'name'=>'username/id',
'required'=>true
'u' => array(
'name' => 'username/id',
'required' =>true
)
));

View File

@ -11,35 +11,35 @@ class WikipediaBridge extends BridgeAbstract
const DESCRIPTION = 'Returns articles for a language of your choice';
const PARAMETERS = array( array(
'language'=>array(
'name'=>'Language',
'type'=>'list',
'required'=>true,
'title'=>'Select your language',
'exampleValue'=>'English',
'values'=>array(
'English'=>'en',
'Dutch'=>'nl',
'Esperanto'=>'eo',
'French'=>'fr',
'German'=>'de',
'language' => array(
'name' => 'Language',
'type' => 'list',
'required' =>true,
'title' => 'Select your language',
'exampleValue' => 'English',
'values' => array(
'English' => 'en',
'Dutch' => 'nl',
'Esperanto' => 'eo',
'French' => 'fr',
'German' => 'de',
)
),
'subject'=>array(
'name'=>'Subject',
'type'=>'list',
'required'=>true,
'title'=>'What subject are you interested in?',
'exampleValue'=>'Today\'s featured article',
'values'=>array(
'Today\'s featured article'=>'tfa',
'Did you know…'=>'dyk'
'subject' => array(
'name' => 'Subject',
'type' => 'list',
'required' =>true,
'title' => 'What subject are you interested in?',
'exampleValue' => 'Today\'s featured article',
'values' => array(
'Today\'s featured article' => 'tfa',
'Did you know…' => 'dyk'
)
),
'fullarticle'=>array(
'name'=>'Load full article',
'type'=>'checkbox',
'title'=>'Activate to always load the full article'
'fullarticle' => array(
'name' => 'Load full article',
'type' => 'checkbox',
'title' => 'Activate to always load the full article'
)
));

View File

@ -8,9 +8,9 @@ class WordPressBridge extends FeedExpander
const DESCRIPTION = "Returns the newest full posts of a Wordpress powered website";
const PARAMETERS = array( array(
'url'=>array(
'name'=>'Blog URL',
'required'=>true
'url' => array(
'name' => 'Blog URL',
'required' =>true
)
));

View File

@ -7,21 +7,21 @@ class WorldOfTanksBridge extends BridgeAbstract
const DESCRIPTION = "News about the tank slaughter game.";
const PARAMETERS = array( array(
'category'=>array(
'category' => array(
// TODO: should be a list
'name'=>'nom de la catégorie'
'name' => 'nom de la catégorie'
),
'lang'=>array(
'name'=>'Langue',
'type'=>'list',
'values'=>array(
'Français'=>'fr',
'English'=>'en',
'Español'=>'es',
'Deutsch'=>'de',
'Čeština'=>'cs',
'Polski'=>'pl',
'Türkçe'=>'tr'
'lang' => array(
'name' => 'Langue',
'type' => 'list',
'values' => array(
'Français' => 'fr',
'English' => 'en',
'Español' => 'es',
'Deutsch' => 'de',
'Čeština' => 'cs',
'Polski' => 'pl',
'Türkçe' => 'tr'
)
)
));

View File

@ -16,34 +16,34 @@ class YoutubeBridge extends BridgeAbstract
const PARAMETERS = array(
'By username' => array(
'u'=>array(
'name'=>'username',
'exampleValue'=>'test',
'required'=>true
'u' => array(
'name' => 'username',
'exampleValue' => 'test',
'required' =>true
)
),
'By channel id' => array(
'c'=>array(
'name'=>'channel id',
'exampleValue'=>"15",
'required'=>true
'c' => array(
'name' => 'channel id',
'exampleValue' "" =>15",
'required' =>true
)
),
'By playlist Id' => array(
'p'=>array(
'name'=>'playlist id',
'exampleValue'=>"15"
'p' => array(
'name' => 'playlist id',
'exampleValue' "" =>15"
)
),
'Search result' => array(
's'=>array(
'name'=>'search keyword',
'exampleValue'=>'test'
's' => array(
'name' => 'search keyword',
'exampleValue' => 'test'
),
'pa'=>array(
'name'=>'page',
'type'=>'number',
'exampleValue'=>1
'pa' => array(
'name' => 'page',
'type' => 'number',
'exampleValue' =>1
)
)
);

View File

@ -8,152 +8,152 @@ class ZDNetBridge extends BridgeAbstract
//http://www.zdnet.com/zdnet.opml
const PARAMETERS = array( array(
'feed'=>array(
'name'=>'Feed',
'type'=>'list',
'values'=>array(
'Subscribe to ZDNet RSS Feeds'=>array(
'All Blogs'=>'blog',
'Just News'=>'news',
'All Reviews'=>'topic/reviews',
'Latest Downloads'=>'downloads!recent',
'Latest Articles'=>'/',
'Latest Australia Articles'=>'au',
'Latest UK Articles'=>'uk',
'Latest US Articles'=>'us',
'Latest Asia Articles'=>'as'
'feed' => array(
'name' => 'Feed',
'type' => 'list',
'values' => array(
'Subscribe to ZDNet RSS Feeds' => array(
'All Blogs' => 'blog',
'Just News' => 'news',
'All Reviews' => 'topic/reviews',
'Latest Downloads' => 'downloads!recent',
'Latest Articles' => '/',
'Latest Australia Articles' => 'au',
'Latest UK Articles' => 'uk',
'Latest US Articles' => 'us',
'Latest Asia Articles' => 'as'
),
'Keep up with ZDNet Blogs RSS:'=>array(
'Transforming the Datacenter'=>'blog/transforming-datacenter',
'SMB India'=>'blog/smb-india',
'Indonesia BizTech'=>'blog/indonesia-biztech',
'Hong Kong Techie'=>'blog/hong-kong-techie',
'Tech Taiwan'=>'blog/tech-taiwan',
'Startup India'=>'blog/startup-india',
'Starting Up Asia'=>'blog/starting-up-asia',
'Next-Gen Partner'=>'blog/partner',
'Post-PC Developments'=>'blog/post-pc',
'Benelux'=>'blog/benelux',
'Heat Sink'=>'blog/heat-sink',
'Italy\'s got tech'=>'blog/italy',
'African Enterprise'=>'blog/african-enterprise',
'New Tech for Old India'=>'blog/new-india',
'Estonia Uncovered'=>'blog/estonia',
'IT Iberia'=>'blog/iberia',
'Brazil Tech'=>'blog/brazil',
'500 words into the future'=>'blog/500-words-into-the-future',
'ÜberTech'=>'blog/ubertech',
'All About Microsoft'=>'blog/microsoft',
'Back office'=>'blog/back-office',
'Barker Bites Back'=>'blog/barker-bites-back',
'Between the Lines'=>'blog/btl',
'Big on Data'=>'blog/big-data',
'bootstrappr'=>'blog/bootstrappr',
'By The Way'=>'blog/by-the-way',
'Central European Processing'=>'blog/central-europe',
'Cloud Builders'=>'blog/cloud-builders',
'Communication Breakdown'=>'blog/communication-breakdown',
'Collaboration 2.0'=>'blog/collaboration',
'Constellation Research'=>'blog/constellation',
'Consumerization: BYOD'=>'blog/consumerization',
'DIY-IT'=>'blog/diy-it',
'Enterprise Web 2.0'=>'blog/hinchcliffe',
'Five Nines: The Next Gen Datacenter'=>'blog/datacenter',
'Forrester Research'=>'blog/forrester',
'Full Duplex'=>'blog/full-duplex',
'Gen Why?'=>'blog/gen-why',
'Hardware 2.0'=>'blog/hardware',
'Identity Matters'=>'blog/identity',
'iGeneration'=>'blog/igeneration',
'Internet of Everything'=>'blog/cisco',
'Beyond IT Failure'=>'blog/projectfailures',
'Jamie\'s Mostly Linux Stuff'=>'blog/jamies-mostly-linux-stuff',
'Jack\'s Blog'=>'blog/jacks-blog',
'Laptops & Desktops'=>'blog/computers',
'Linux and Open Source'=>'blog/open-source',
'London Calling'=>'blog/london',
'Mapping Babel'=>'blog/mapping-babel',
'Mixed Signals'=>'blog/mixed-signals',
'Mobile India'=>'blog/mobile-india',
'Mobile News'=>'blog/mobile-news',
'Networking'=>'blog/networking',
'Norse Code'=>'blog/norse-code',
'Null Pointer'=>'blog/null-pointer',
'The Full Tilt'=>'blog/the-full-tilt',
'Pinoy Post'=>'blog/pinoy-post',
'Practically Tech'=>'blog/practically-tech',
'Product Central'=>'blog/product-central',
'Pulp Tech'=>'blog/violetblue',
'Qubits and Pieces'=>'blog/qubits-and-pieces',
'Securify This!'=>'blog/securify-this',
'Service Oriented'=>'blog/service-oriented',
'Small Talk'=>'blog/small-talk',
'Small Business Matters'=>'blog/small-business-matters',
'Smartphones and Cell Phones'=>'blog/cell-phones',
'Social Business'=>'blog/feeds',
'Social CRM: The Conversation'=>'blog/crm',
'Software & Services Safari'=>'blog/sommer',
'Storage Bits'=>'blog/storage',
'Stacking up Open Clouds'=>'blog/apac-redhat',
'Techie Isles'=>'blog/techie-isles',
'Technolatte'=>'blog/technolatte',
'Tech Podium'=>'blog/tech-podium',
'Tel Aviv Tech'=>'blog/tel-aviv',
'Tech Broiler'=>'blog/perlow',
'The SANMAN'=>'blog/the-sanman',
'The open source revolution'=>'blog/the-open-source-revolution',
'The German View'=>'blog/german',
'The Ed Bott Report'=>'blog/bott',
'The Mobile Gadgeteer'=>'blog/mobile-gadgeteer',
'The Apple Core'=>'blog/apple',
'Tom Foremski: IMHO'=>'blog/foremski',
'Twisted Wire'=>'blog/twisted-wire',
'Vive la tech'=>'blog/france',
'Virtually Speaking'=>'blog/virtualization',
'View from China'=>'blog/china',
'Web design & Free Software'=>'blog/web-design-and-free-software',
'ZDNet Government'=>'blog/government',
'ZDNet UK Book Reviews'=>'blog/zdnet-uk-book-reviews',
'ZDNet UK First Take'=>'blog/zdnet-uk-first-take',
'Zero Day'=>'blog/security'
'Keep up with ZDNet Blogs RSS:' => array(
'Transforming the Datacenter' => 'blog/transforming-datacenter',
'SMB India' => 'blog/smb-india',
'Indonesia BizTech' => 'blog/indonesia-biztech',
'Hong Kong Techie' => 'blog/hong-kong-techie',
'Tech Taiwan' => 'blog/tech-taiwan',
'Startup India' => 'blog/startup-india',
'Starting Up Asia' => 'blog/starting-up-asia',
'Next-Gen Partner' => 'blog/partner',
'Post-PC Developments' => 'blog/post-pc',
'Benelux' => 'blog/benelux',
'Heat Sink' => 'blog/heat-sink',
'Italy\'s got tech' => 'blog/italy',
'African Enterprise' => 'blog/african-enterprise',
'New Tech for Old India' => 'blog/new-india',
'Estonia Uncovered' => 'blog/estonia',
'IT Iberia' => 'blog/iberia',
'Brazil Tech' => 'blog/brazil',
'500 words into the future' => 'blog/500-words-into-the-future',
'ÜberTech' => 'blog/ubertech',
'All About Microsoft' => 'blog/microsoft',
'Back office' => 'blog/back-office',
'Barker Bites Back' => 'blog/barker-bites-back',
'Between the Lines' => 'blog/btl',
'Big on Data' => 'blog/big-data',
'bootstrappr' => 'blog/bootstrappr',
'By The Way' => 'blog/by-the-way',
'Central European Processing' => 'blog/central-europe',
'Cloud Builders' => 'blog/cloud-builders',
'Communication Breakdown' => 'blog/communication-breakdown',
'Collaboration 2.0' => 'blog/collaboration',
'Constellation Research' => 'blog/constellation',
'Consumerization: BYOD' => 'blog/consumerization',
'DIY-IT' => 'blog/diy-it',
'Enterprise Web 2.0' => 'blog/hinchcliffe',
'Five Nines: The Next Gen Datacenter' => 'blog/datacenter',
'Forrester Research' => 'blog/forrester',
'Full Duplex' => 'blog/full-duplex',
'Gen Why?' => 'blog/gen-why',
'Hardware 2.0' => 'blog/hardware',
'Identity Matters' => 'blog/identity',
'iGeneration' => 'blog/igeneration',
'Internet of Everything' => 'blog/cisco',
'Beyond IT Failure' => 'blog/projectfailures',
'Jamie\'s Mostly Linux Stuff' => 'blog/jamies-mostly-linux-stuff',
'Jack\'s Blog' => 'blog/jacks-blog',
'Laptops & Desktops' => 'blog/computers',
'Linux and Open Source' => 'blog/open-source',
'London Calling' => 'blog/london',
'Mapping Babel' => 'blog/mapping-babel',
'Mixed Signals' => 'blog/mixed-signals',
'Mobile India' => 'blog/mobile-india',
'Mobile News' => 'blog/mobile-news',
'Networking' => 'blog/networking',
'Norse Code' => 'blog/norse-code',
'Null Pointer' => 'blog/null-pointer',
'The Full Tilt' => 'blog/the-full-tilt',
'Pinoy Post' => 'blog/pinoy-post',
'Practically Tech' => 'blog/practically-tech',
'Product Central' => 'blog/product-central',
'Pulp Tech' => 'blog/violetblue',
'Qubits and Pieces' => 'blog/qubits-and-pieces',
'Securify This!' => 'blog/securify-this',
'Service Oriented' => 'blog/service-oriented',
'Small Talk' => 'blog/small-talk',
'Small Business Matters' => 'blog/small-business-matters',
'Smartphones and Cell Phones' => 'blog/cell-phones',
'Social Business' => 'blog/feeds',
'Social CRM: The Conversation' => 'blog/crm',
'Software & Services Safari' => 'blog/sommer',
'Storage Bits' => 'blog/storage',
'Stacking up Open Clouds' => 'blog/apac-redhat',
'Techie Isles' => 'blog/techie-isles',
'Technolatte' => 'blog/technolatte',
'Tech Podium' => 'blog/tech-podium',
'Tel Aviv Tech' => 'blog/tel-aviv',
'Tech Broiler' => 'blog/perlow',
'The SANMAN' => 'blog/the-sanman',
'The open source revolution' => 'blog/the-open-source-revolution',
'The German View' => 'blog/german',
'The Ed Bott Report' => 'blog/bott',
'The Mobile Gadgeteer' => 'blog/mobile-gadgeteer',
'The Apple Core' => 'blog/apple',
'Tom Foremski: IMHO' => 'blog/foremski',
'Twisted Wire' => 'blog/twisted-wire',
'Vive la tech' => 'blog/france',
'Virtually Speaking' => 'blog/virtualization',
'View from China' => 'blog/china',
'Web design & Free Software' => 'blog/web-design-and-free-software',
'ZDNet Government' => 'blog/government',
'ZDNet UK Book Reviews' => 'blog/zdnet-uk-book-reviews',
'ZDNet UK First Take' => 'blog/zdnet-uk-first-take',
'Zero Day' => 'blog/security'
),
'ZDNet Hot Topics RSS:'=>array(
'Apple'=>'topic/apple',
'Collaboration'=>'topic/collaboration',
'Enterprise Software'=>'topic/enterprise-software',
'Google'=>'topic/google',
'Great debate'=>'topic/great-debate',
'Hardware'=>'topic/hardware',
'IBM'=>'topic/ibm',
'iOS'=>'topic/ios',
'iPhone'=>'topic/iphone',
'iPad'=>'topic/ipad',
'IT Priorities'=>'topic/it-priorities',
'Laptops'=>'topic/laptops',
'Legal'=>'topic/legal',
'Linux'=>'topic/linux',
'Microsoft'=>'topic/microsoft',
'Mobile OS'=>'topic/mobile-os',
'Mobility'=>'topic/mobility',
'Networking'=>'topic/networking',
'Oracle'=>'topic/oracle',
'Processors'=>'topic/processors',
'Samsung'=>'topic/samsung',
'Security'=>'topic/security',
'Small business: going big on mobility'=>'topic/small-business-going-big-on-mobility'
'ZDNet Hot Topics RSS:' => array(
'Apple' => 'topic/apple',
'Collaboration' => 'topic/collaboration',
'Enterprise Software' => 'topic/enterprise-software',
'Google' => 'topic/google',
'Great debate' => 'topic/great-debate',
'Hardware' => 'topic/hardware',
'IBM' => 'topic/ibm',
'iOS' => 'topic/ios',
'iPhone' => 'topic/iphone',
'iPad' => 'topic/ipad',
'IT Priorities' => 'topic/it-priorities',
'Laptops' => 'topic/laptops',
'Legal' => 'topic/legal',
'Linux' => 'topic/linux',
'Microsoft' => 'topic/microsoft',
'Mobile OS' => 'topic/mobile-os',
'Mobility' => 'topic/mobility',
'Networking' => 'topic/networking',
'Oracle' => 'topic/oracle',
'Processors' => 'topic/processors',
'Samsung' => 'topic/samsung',
'Security' => 'topic/security',
'Small business: going big on mobility' => 'topic/small-business-going-big-on-mobility'
),
'Product Blogs:'=>array(
'Digital Cameras & Camcorders'=>'blog/digitalcameras',
'Home Theater'=>'blog/home-theater',
'Laptops and Desktops'=>'blog/computers',
'The Mobile Gadgeteer'=>'blog/mobile-gadgeteer',
'Smartphones and Cell Phones'=>'blog/cell-phones',
'The ToyBox'=>'blog/gadgetreviews'
'Product Blogs:' => array(
'Digital Cameras & Camcorders' => 'blog/digitalcameras',
'Home Theater' => 'blog/home-theater',
'Laptops and Desktops' => 'blog/computers',
'The Mobile Gadgeteer' => 'blog/mobile-gadgeteer',
'Smartphones and Cell Phones' => 'blog/cell-phones',
'The ToyBox' => 'blog/gadgetreviews'
),
'Vertical Blogs:'=>array(
'ZDNet Education'=>'blog/education',
'ZDNet Healthcare'=>'blog/healthcare',
'ZDNet Government'=>'blog/government'
'Vertical Blogs:' => array(
'ZDNet Education' => 'blog/education',
'ZDNet Healthcare' => 'blog/healthcare',
'ZDNet Government' => 'blog/government'
)
)
)

View File

@ -44,12 +44,12 @@ function getContents($url, $use_include_path = false, $context = null, $offset =
//TODO
case stristr($header, 'brotli'):
//TODO
returnServerError($header . '=> Not implemented yet');
returnServerError($header . ' => Not implemented yet');
break;
case stristr($header, 'identity'):
break;
default:
returnServerError($header . '=> Unknown compression');
returnServerError($header . ' => Unknown compression');
}
}
}