mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 13:50:23 +02:00
Last batch of bridges, all implemented !
Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
@@ -1,17 +1,28 @@
|
||||
<?php
|
||||
/**
|
||||
* RssBridgeKonachan
|
||||
* Returns images from given page
|
||||
* 2014-05-25
|
||||
*
|
||||
* @name Konachan
|
||||
* @homepage http://konachan.com/
|
||||
* @description Returns images from given page
|
||||
* @maintainer mitsukarenai
|
||||
* @use1(p="page",t="tags")
|
||||
*/
|
||||
class KonachanBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "mitsukarenai";
|
||||
$this->name = "Konachan";
|
||||
$this->uri = "http://konachan.com/";
|
||||
$this->description = "Returns images from given page";
|
||||
$this->update = "2014-05-25";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "page",
|
||||
"identifier" : "p",
|
||||
"type" : "number"
|
||||
},
|
||||
{
|
||||
"name" : "tags",
|
||||
"identifier" : "t"
|
||||
}
|
||||
]';
|
||||
}
|
||||
|
||||
public function collectData(array $param){
|
||||
$page = 1;$tags='';
|
||||
if (isset($param['p'])) {
|
||||
|
Reference in New Issue
Block a user