mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-10 02:26:37 +02:00
[core + bridges] get rid of loadMetadata
if a bridge needs to modify some of the data that were initialized there, ::__construct() should be used instead. Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -1,18 +1,14 @@
|
||||
<?php
|
||||
class FourchanBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "mitsukarenai";
|
||||
$this->name = "4chan";
|
||||
$this->uri = "https://www.4chan.org/";
|
||||
$this->description = "Returns posts from the specified thread";
|
||||
|
||||
$this->parameters[] = array(
|
||||
't'=>array('name'=>'Thread URL')
|
||||
);
|
||||
}
|
||||
public $maintainer = "mitsukarenai";
|
||||
public $name = "4chan";
|
||||
public $uri = "https://www.4chan.org/";
|
||||
public $description = "Returns posts from the specified thread";
|
||||
|
||||
public $parameters = array( array(
|
||||
't'=>array('name'=>'Thread URL')
|
||||
));
|
||||
|
||||
public function collectData(){
|
||||
$param=$this->parameters[$this->queriedContext];
|
||||
|
Reference in New Issue
Block a user