mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-06 16:46:30 +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,11 +1,9 @@
|
||||
<?php
|
||||
class CADBridge extends BridgeAbstract{
|
||||
public function loadMetadatas() {
|
||||
$this->maintainer = "nyutag";
|
||||
$this->name = "CAD Bridge";
|
||||
$this->uri = "http://www.cad-comic.com/";
|
||||
$this->description = "Returns the newest articles.";
|
||||
}
|
||||
public $maintainer = "nyutag";
|
||||
public $name = "CAD Bridge";
|
||||
public $uri = "http://www.cad-comic.com/";
|
||||
public $description = "Returns the newest articles.";
|
||||
|
||||
private function CADExtractContent($url) {
|
||||
$html3 = $this->getSimpleHTMLDOM($url);
|
||||
|
Reference in New Issue
Block a user