mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-05 02:24:35 +02:00
Last batch of bridges, all implemented !
Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
parent
715ad3bf3f
commit
78c9dcc705
60 changed files with 1678 additions and 604 deletions
|
@ -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'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue