mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-07 00:56:34 +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,14 +1,10 @@
|
||||
<?php
|
||||
Class FierPandaBridge extends BridgeAbstract{
|
||||
class FierPandaBridge extends BridgeAbstract {
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "snroki";
|
||||
$this->name = "Fier Panda Bridge";
|
||||
$this->uri = "http://www.fier-panda.fr/";
|
||||
$this->description = "Returns latest articles from Fier Panda.";
|
||||
|
||||
}
|
||||
public $maintainer = "snroki";
|
||||
public $name = "Fier Panda Bridge";
|
||||
public $uri = "http://www.fier-panda.fr/";
|
||||
public $description = "Returns latest articles from Fier Panda.";
|
||||
|
||||
public function collectData(){
|
||||
$link = 'http://www.fier-panda.fr/';
|
||||
|
Reference in New Issue
Block a user