Last batch of bridges, all implemented !

Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
teromene 2015-11-05 15:50:18 +00:00 committed by Mitsukarenai
parent 715ad3bf3f
commit 78c9dcc705
60 changed files with 1678 additions and 604 deletions

View file

@ -1,21 +1,42 @@
<?php
/**
* PickyWallpapersBridge
* Returns the latests wallpapers from http://www.pickywallpapers.com
*
* @name PickyWallpapers Bridge
* @homepage http://www.pickywallpapers.com/
* @description Returns the latests wallpapers from PickyWallpapers
* @maintainer nel50n
* @update 2014-03-31
* @use1(c="category",s="subcategory",m="max number of wallpapers",r="resolution (1920x1200, 1680x1050, ...)")
*/
class PickyWallpapersBridge extends BridgeAbstract {
private $category;
private $subcategory;
private $resolution;
public function loadMetadatas() {
$this->maintainer = "nel50n";
$this->name = "PickyWallpapers Bridge";
$this->uri = "http://www.pickywallpapers.com/";
$this->description = "Returns the latests wallpapers from PickyWallpapers";
$this->update = "2014-03-31";
$this->parameters[] =
'[
{
"name" : "Category",
"identifier" : "c"
},
{
"name" : "subcategory",
"identifier" : "s"
},
{
"name" : "Max number of wallpapers",
"identifier" : "m",
"type" : "number"
},
{
"name" : "resolution",
"identifier" : "r",
"exampleValue" : "1920x1200, 1680x1050, ..."
}
]';
}
public function collectData(array $param){
$html = '';
if (!isset($param['c'])) {