mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 11:34:09 +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,15 +1,10 @@
|
||||
<?php
|
||||
class CopieDoubleBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "superbaillot.net";
|
||||
$this->name = "CopieDouble";
|
||||
$this->uri = "http://www.copie-double.com/";
|
||||
$this->description = "CopieDouble";
|
||||
|
||||
}
|
||||
|
||||
public $maintainer = "superbaillot.net";
|
||||
public $name = "CopieDouble";
|
||||
public $uri = "http://www.copie-double.com/";
|
||||
public $description = "CopieDouble";
|
||||
|
||||
public function collectData(){
|
||||
$html = $this->getSimpleHTMLDOM('http://www.copie-double.com/') or $this->returnServerError('Could not request CopieDouble.');
|
||||
|
Reference in New Issue
Block a user