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 URI = "http://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(
'name'=>'category', 'name' => 'category',
'type'=>'list', 'type' => 'list',
'required'=>true, 'required' =>true,
'exampleValue'=>'Faux Raccord', 'exampleValue' => 'Faux Raccord',
'title'=>'Select your category', 'title' => 'Select your category',
'values'=>array( 'values' => array(
'Faux Raccord'=>'faux-raccord', 'Faux Raccord' => 'faux-raccord',
'Top 5'=>'top-5', 'Top 5' => 'top-5',
'Tueurs en Séries'=>'tueurs-en-serie' 'Tueurs en Séries' => 'tueurs-en-serie'
) )
) )
)); ));

View File

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

View File

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

View File

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

View File

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

View File

@ -9,17 +9,17 @@ class BooruprojectBridge extends GelbooruBridge
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(
'p'=>array( 'p' => array(
'name'=>'page', 'name' => 'page',
'type'=>'number' 'type' => 'number'
), ),
't'=>array('name'=>'tags') 't' => array('name' => 'tags')
), ),
'Booru subdomain (subdomain.booru.org)'=>array( 'Booru subdomain (subdomain.booru.org)' => array(
'i'=>array( 'i' => array(
'name'=>'Subdomain', 'name' => 'Subdomain',
'required'=>true '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 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( const PARAMETERS = array( array(
'topic'=>array('name'=>'Topic name') 'topic' => array('name' => 'Topic name')
)); ));
public function collectData() public function collectData()

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -11,18 +11,18 @@ class DuckDuckGoBridge extends BridgeAbstract
const SORT_RELEVANCE = ''; const SORT_RELEVANCE = '';
const PARAMETERS = array( array( const PARAMETERS = array( array(
'u'=>array( 'u' => array(
'name'=>'keyword', 'name' => 'keyword',
'required'=>true), 'required' =>true),
'sort'=>array( 'sort' => array(
'name'=>'sort by', 'name' => 'sort by',
'type'=>'list', 'type' => 'list',
'required'=>false, 'required' =>false,
'values'=>array( 'values' => array(
'date'=>self::SORT_DATE, 'date' =>self::SORT_DATE,
'relevance'=>self::SORT_RELEVANCE '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 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( const PARAMETERS = array( array(
'i'=>array( 'i' => array(
'name'=>'Show ids', 'name' => 'Show ids',
'exampleValue'=>'showID1,showID2,…', 'exampleValue' => 'showID1,showID2,…',
'required'=>true 'required' =>true
) )
)); ));

View File

@ -8,11 +8,11 @@ class ElsevierBridge extends BridgeAbstract
const DESCRIPTION = 'Returns the recent articles published in Elsevier journals'; const DESCRIPTION = 'Returns the recent articles published in Elsevier journals';
const PARAMETERS = array( array( const PARAMETERS = array( array(
'j'=>array( 'j' => array(
'name'=>'Journal name', 'name' => 'Journal name',
'required'=>true, 'required' =>true,
'exampleValue'=>'academic-pediactrics', 'exampleValue' => 'academic-pediactrics',
'title'=>'Insert html-part of your journal' '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 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( const PARAMETERS =array( array(
'u'=>array( 'u' => array(
'name'=>'Username', 'name' => 'Username',
'required'=>true 'required' =>true
) )
)); ));
@ -95,8 +95,8 @@ class FacebookBridge extends BridgeAbstract
$http_options = array( $http_options = array(
'http' => array( 'http' => array(
'method' => 'POST', 'method' => 'POST',
'user_agent'=> ini_get('user_agent'), '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"), '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), 'content' => http_build_query($captcha_fields),
), ),
); );

View File

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

View File

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

View File

@ -7,72 +7,72 @@ class FuturaSciencesBridge extends FeedExpander
const DESCRIPTION = 'Returns the newest articles.'; const DESCRIPTION = 'Returns the newest articles.';
const PARAMETERS = array( array( const PARAMETERS = array( array(
'feed'=> array( 'feed' => array(
'name'=>'Feed', 'name' => 'Feed',
'type'=>'list', 'type' => 'list',
'values'=>array( 'values' => array(
'Les flux multi-magazines'=>array( 'Les flux multi-magazines' => array(
'Les dernières actualités de Futura-Sciences'=>'actualites', 'Les dernières actualités de Futura-Sciences' => 'actualites',
'Les dernières définitions de Futura-Sciences'=>'definitions', 'Les dernières définitions de Futura-Sciences' => 'definitions',
'Les dernières photos de Futura-Sciences'=>'photos', 'Les dernières photos de Futura-Sciences' => 'photos',
'Les dernières questions - réponses de Futura-Sciences'=>'questions-reponses', 'Les dernières questions - réponses de Futura-Sciences' => 'questions-reponses',
'Les derniers dossiers de Futura-Sciences'=>'dossiers' 'Les derniers dossiers de Futura-Sciences' => 'dossiers'
), ),
'Les flux Services'=> array( 'Les flux Services' => array(
'Les cartes virtuelles de Futura-Sciences'=>'services/cartes-virtuelles', 'Les cartes virtuelles de Futura-Sciences' => 'services/cartes-virtuelles',
'Les fonds d\'écran de Futura-Sciences'=>'services/fonds-ecran' 'Les fonds d\'écran de Futura-Sciences' => 'services/fonds-ecran'
), ),
'Les flux Santé'=>array( 'Les flux Santé' => array(
'Les dernières actualités de Futura-Santé'=>'sante/actualites', 'Les dernières actualités de Futura-Santé' => 'sante/actualites',
'Les dernières définitions de Futura-Santé'=>'sante/definitions', 'Les dernières définitions de Futura-Santé' => 'sante/definitions',
'Les dernières questions-réponses de Futura-Santé'=>'sante/question-reponses', 'Les dernières questions-réponses de Futura-Santé' => 'sante/question-reponses',
'Les derniers dossiers de Futura-Santé'=>'sante/dossiers' 'Les derniers dossiers de Futura-Santé' => 'sante/dossiers'
), ),
'Les flux High-Tech'=>array( 'Les flux High-Tech' => array(
'Les dernières actualités de Futura-High-Tech'=>'high-tech/actualites', '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 astuces de Futura-High-Tech' => 'high-tech/question-reponses',
'Les dernières définitions de Futura-High-Tech'=>'high-tech/definitions', 'Les dernières définitions de Futura-High-Tech' => 'high-tech/definitions',
'Les derniers dossiers de Futura-High-Tech'=>'high-tech/dossiers' 'Les derniers dossiers de Futura-High-Tech' => 'high-tech/dossiers'
), ),
'Les flux Espace'=>array( 'Les flux Espace' => array(
'Les dernières actualités de Futura-Espace'=>'espace/actualites', 'Les dernières actualités de Futura-Espace' => 'espace/actualites',
'Les dernières définitions de Futura-Espace'=>'espace/definitions', 'Les dernières définitions de Futura-Espace' => 'espace/definitions',
'Les dernières questions-réponses de Futura-Espace'=>'espace/question-reponses', 'Les dernières questions-réponses de Futura-Espace' => 'espace/question-reponses',
'Les derniers dossiers de Futura-Espace'=>'espace/dossiers' 'Les derniers dossiers de Futura-Espace' => 'espace/dossiers'
), ),
'Les flux Environnement'=>array( 'Les flux Environnement' => array(
'Les dernières actualités de Futura-Environnement'=>'environnement/actualites', 'Les dernières actualités de Futura-Environnement' => 'environnement/actualites',
'Les dernières définitions de Futura-Environnement'=>'environnement/definitions', 'Les dernières définitions de Futura-Environnement' => 'environnement/definitions',
'Les dernières questions-réponses de Futura-Environnement'=>'environnement/question-reponses', 'Les dernières questions-réponses de Futura-Environnement' => 'environnement/question-reponses',
'Les derniers dossiers de Futura-Environnement'=>'environnement/dossiers' 'Les derniers dossiers de Futura-Environnement' => 'environnement/dossiers'
), ),
'Les flux Maison'=>array( 'Les flux Maison' => array(
'Les dernières actualités de Futura-Maison'=>'maison/actualites', 'Les dernières actualités de Futura-Maison' => 'maison/actualites',
'Les dernières astuces de Futura-Maison'=>'maison/question-reponses', 'Les dernières astuces de Futura-Maison' => 'maison/question-reponses',
'Les dernières définitions de Futura-Maison'=>'maison/definitions', 'Les dernières définitions de Futura-Maison' => 'maison/definitions',
'Les derniers dossiers de Futura-Maison'=>'maison/dossiers' 'Les derniers dossiers de Futura-Maison' => 'maison/dossiers'
), ),
'Les flux Nature'=>array( 'Les flux Nature' => array(
'Les dernières actualités de Futura-Nature'=>'nature/actualites', 'Les dernières actualités de Futura-Nature' => 'nature/actualites',
'Les dernières définitions de Futura-Nature'=>'nature/definitions', 'Les dernières définitions de Futura-Nature' => 'nature/definitions',
'Les dernières questions-réponses de Futura-Nature'=>'nature/question-reponses', 'Les dernières questions-réponses de Futura-Nature' => 'nature/question-reponses',
'Les derniers dossiers de Futura-Nature'=>'nature/dossiers' 'Les derniers dossiers de Futura-Nature' => 'nature/dossiers'
), ),
'Les flux Terre'=>array( 'Les flux Terre' => array(
'Les dernières actualités de Futura-Terre'=>'terre/actualites', 'Les dernières actualités de Futura-Terre' => 'terre/actualites',
'Les dernières définitions de Futura-Terre'=>'terre/definitions', 'Les dernières définitions de Futura-Terre' => 'terre/definitions',
'Les dernières questions-réponses de Futura-Terre'=>'terre/question-reponses', 'Les dernières questions-réponses de Futura-Terre' => 'terre/question-reponses',
'Les derniers dossiers de Futura-Terre'=>'terre/dossiers' 'Les derniers dossiers de Futura-Terre' => 'terre/dossiers'
), ),
'Les flux Matière'=>array( 'Les flux Matière' => array(
'Les dernières actualités de Futura-Matière'=>'matiere/actualites', '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 définitions de Futura-Matière' => 'matiere/definitions',
'Les dernières questions-réponses de Futura-Matière'=>'matiere/question-reponses', 'Les dernières questions-réponses de Futura-Matière' => 'matiere/question-reponses',
'Les derniers dossiers de Futura-Matière'=>'matiere/dossiers' 'Les derniers dossiers de Futura-Matière' => 'matiere/dossiers'
), ),
'Les flux Mathématiques'=>array( 'Les flux Mathématiques' => array(
'Les dernières actualités de Futura-Mathématiques'=>'mathematiques/actualites', 'Les dernières actualités de Futura-Mathématiques' => 'mathematiques/actualites',
'Les derniers dossiers de Futura-Mathématiques'=>'mathematiques/dossiers' '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 DESCRIPTION = 'GBAtemp is a user friendly underground video game community.';
const PARAMETERS = array( array( const PARAMETERS = array( array(
'type'=>array( 'type' => array(
'name'=>'Type', 'name' => 'Type',
'type'=>'list', 'type' => 'list',
'required'=>true, 'required' =>true,
'values'=>array( 'values' => array(
'News'=>'N', 'News' => 'N',
'Reviews'=>'R', 'Reviews' => 'R',
'Tutorials'=>'T', 'Tutorials' => 'T',
'Forum'=>'F' 'Forum' => 'F'
) )
) )
)); ));

View File

@ -10,13 +10,13 @@ class GiphyBridge extends BridgeAbstract
const DESCRIPTION = "Bridge for giphy.com"; const DESCRIPTION = "Bridge for giphy.com";
const PARAMETERS = array( array( const PARAMETERS = array( array(
's'=>array( 's' => array(
'name'=>'search tag', 'name' => 'search tag',
'required'=>true 'required' =>true
), ),
'n'=>array( 'n' => array(
'name'=>'max number of returned items', 'name' => 'max number of returned items',
'type'=>'number' '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 DESCRIPTION = 'Returns the issues or comments of an issue of a github project';
const PARAMETERS=array( const PARAMETERS=array(
'global'=>array( 'global' => array(
'u'=>array( 'u' => array(
'name'=>'User name', 'name' => 'User name',
'required'=>true 'required' =>true
), ),
'p'=>array( 'p' => array(
'name'=>'Project name', 'name' => 'Project name',
'required'=>true 'required' =>true
) )
), ),
'Project Issues'=>array( 'Project Issues' => array(
'c'=>array( 'c' => array(
'name'=>'Show Issues Comments', 'name' => 'Show Issues Comments',
'type'=>'checkbox' 'type' => 'checkbox'
) )
), ),
'Issue comments'=>array( 'Issue comments' => array(
'i'=>array( 'i' => array(
'name'=>'Issue number', 'name' => 'Issue number',
'type'=>'number', 'type' => 'number',
'required'=>'true' 'required' => 'true'
) )
) )
); );

View File

@ -11,9 +11,9 @@ class GooglePlusPostBridge extends BridgeAbstract
const DESCRIPTION = "Returns user public post (without API)."; const DESCRIPTION = "Returns user public post (without API).";
const PARAMETERS = array( array( const PARAMETERS = array( array(
'username'=>array( 'username' => array(
'name'=>'username or Id', 'name' => 'username or Id',
'required'=>true 'required' =>true
) )
)); ));
@ -22,7 +22,7 @@ class GooglePlusPostBridge extends BridgeAbstract
// get content parsed // get content parsed
// $html = getSimpleHTMLDOM(__DIR__ . '/../posts2.html' // $html = getSimpleHTMLDOM(__DIR__ . '/../posts2.html'
$html = getSimpleHTMLDOM(self::URI . urlencode($this->getInput('username')) . '/posts' $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" '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.'); ) 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 DESCRIPTION = "Returns most recent results from Google search.";
const PARAMETERS = array( array( const PARAMETERS = array( array(
'q'=>array( 'q' => array(
'name'=>"keyword", 'name' "" =>keyword",
'required'=>true 'required' =>true
) )
)); ));

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -7,12 +7,12 @@ class MoebooruBridge extends BridgeAbstract
const DESCRIPTION = "Returns images from given page"; const DESCRIPTION = "Returns images from given page";
const PARAMETERS = array( array( const PARAMETERS = array( array(
'p'=>array( 'p' => array(
'name'=>'page', 'name' => 'page',
'defaultValue'=>1, 'defaultValue' =>1,
'type'=>'number' 'type' => 'number'
), ),
't'=>array('name'=>'tags') 't' => array('name' => 'tags')
)); ));
protected function getFullURI() 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 DESCRIPTION = 'USA Federal technology news, best practices, and web 2.0 tools.';
const PARAMETERS = array( array( const PARAMETERS = array( array(
'category'=>array( 'category' => array(
'name'=>'Category', 'name' => 'Category',
'type'=>'list', 'type' => 'list',
'values'=>array( 'values' => array(
'All'=>'all', 'All' => 'all',
'Technology News'=>'technology-news', 'Technology News' => 'technology-news',
'CIO Briefing'=>'cio-briefing', 'CIO Briefing' => 'cio-briefing',
'Emerging Tech'=>'emerging-tech', 'Emerging Tech' => 'emerging-tech',
'Cloud'=>'cloud-computing', 'Cloud' => 'cloud-computing',
'Cybersecurity'=>'cybersecurity', 'Cybersecurity' => 'cybersecurity',
'Mobile'=>'mobile', 'Mobile' => 'mobile',
'Health'=>'health', 'Health' => 'health',
'Defense'=>'defense', 'Defense' => 'defense',
'Big Data'=>'big-data' 'Big Data' => 'big-data'
) )
) )
)); ));

View File

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

View File

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

View File

@ -9,19 +9,19 @@ class ParuVenduImmoBridge extends BridgeAbstract
const PARAMETERS = array( array( const PARAMETERS = array( array(
'minarea'=>array( 'minarea' => array(
'name'=>'Minimal surface m²', 'name' => 'Minimal surface m²',
'type'=>'number' 'type' => 'number'
), ),
'maxprice'=>array( 'maxprice' => array(
'name'=>'Max price', 'name' => 'Max price',
'type'=>'number' 'type' => 'number'
), ),
'pa'=>array( 'pa' => array(
'name'=>'Country code', 'name' => 'Country code',
'exampleValue'=>'FR' '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() public function collectData()

View File

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

View File

@ -8,10 +8,10 @@ class RTBFBridge extends BridgeAbstract
const MAINTAINER = "Frenzie"; const MAINTAINER = "Frenzie";
const PARAMETERS = array( array( const PARAMETERS = array( array(
'c'=>array( 'c' => array(
'name'=>'series id', 'name' => 'series id',
'exampleValue'=>9500, 'exampleValue' =>9500,
'required'=>true '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 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( const PARAMETERS = array( array(
'q'=>array( 'q' => array(
'name'=>'keywords, separated by semicolons', 'name' => 'keywords, separated by semicolons',
'exampleValue'=>'first list;second list;...', 'exampleValue' => 'first list;second list;...',
'required'=>true 'required' =>true
), ),
)); ));

View File

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

View File

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

View File

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

View File

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

View File

@ -8,9 +8,9 @@ class TagBoardBridge extends BridgeAbstract
const DESCRIPTION = "Returns most recent results from TagBoard."; const DESCRIPTION = "Returns most recent results from TagBoard.";
const PARAMETERS = array( array( const PARAMETERS = array( array(
'u'=>array( 'u' => array(
'name'=>'keyword', 'name' => 'keyword',
'required'=>true '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 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( const PARAMETERS = array( array(
'q'=>array( 'q' => array(
'name'=>'keywords, separated by semicolons', 'name' => 'keywords, separated by semicolons',
'exampleValue'=>'first list;second list;…', 'exampleValue' => 'first list;second list;…',
'required'=>true 'required' =>true
), ),
'crit'=>array( 'crit' => array(
'type'=>'list', 'type' => 'list',
'name'=>'Search type', 'name' => 'Search type',
'values'=>array( 'values' => array(
'search'=>'search', 'search' => 'search',
'category'=>'cat', 'category' => 'cat',
'user'=>'usr' 'user' => 'usr'
) )
), ),
'cat_check'=>array( 'cat_check' => array(
'type'=>'checkbox', 'type' => 'checkbox',
'name'=>'Specify category for normal search ?', 'name' => 'Specify category for normal search ?',
), ),
'cat'=>array( 'cat' => array(
'name'=>'Category number', 'name' => 'Category number',
'exampleValue'=>'100, 200… See TPB for 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 CACHE_TIMEOUT = 300; // 5min
const DESCRIPTION='returns tweets'; const DESCRIPTION='returns tweets';
const PARAMETERS=array( const PARAMETERS=array(
'global'=>array( 'global' => array(
'nopic'=>array( 'nopic' => array(
'name'=>'Hide profile pictures', 'name' => 'Hide profile pictures',
'type'=>'checkbox', 'type' => 'checkbox',
'title'=>'Activate to hide profile pictures in content' 'title' => 'Activate to hide profile pictures in content'
) )
), ),
'By keyword or hashtag' => array( 'By keyword or hashtag' => array(
'q'=>array( 'q' => array(
'name'=>'Keyword or #hashtag', 'name' => 'Keyword or #hashtag',
'required'=>true, 'required' =>true,
'exampleValue'=>'rss-bridge, #rss-bridge', 'exampleValue' => 'rss-bridge, #rss-bridge',
'title'=>'Insert a keyword or hashtag' 'title' => 'Insert a keyword or hashtag'
) )
), ),
'By username' => array( 'By username' => array(
'u'=>array( 'u' => array(
'name'=>'username', 'name' => 'username',
'required'=>true, 'required' =>true,
'exampleValue'=>'sebsauvage', 'exampleValue' => 'sebsauvage',
'title'=>'Insert a user name' 'title' => 'Insert a user name'
), ),
'norep'=>array( 'norep' => array(
'name'=>'Without replies', 'name' => 'Without replies',
'type'=>'checkbox', 'type' => 'checkbox',
'title'=>'Only return initial tweets' 'title' => 'Only return initial tweets'
) )
) )
); );

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -16,34 +16,34 @@ class YoutubeBridge extends BridgeAbstract
const PARAMETERS = array( const PARAMETERS = array(
'By username' => array( 'By username' => array(
'u'=>array( 'u' => array(
'name'=>'username', 'name' => 'username',
'exampleValue'=>'test', 'exampleValue' => 'test',
'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' "" =>15",
'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' "" =>15"
) )
), ),
'Search result' => array( 'Search result' => array(
's'=>array( 's' => array(
'name'=>'search keyword', 'name' => 'search keyword',
'exampleValue'=>'test' 'exampleValue' => 'test'
), ),
'pa'=>array( 'pa' => array(
'name'=>'page', 'name' => 'page',
'type'=>'number', 'type' => 'number',
'exampleValue'=>1 'exampleValue' =>1
) )
) )
); );

View File

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

View File

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