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,12 +1,10 @@
|
||||
<?php
|
||||
class NextInpactBridge extends BridgeAbstract {
|
||||
|
||||
public function loadMetadatas() {
|
||||
$this->maintainer = "qwertygc";
|
||||
$this->name = "NextInpact Bridge";
|
||||
$this->uri = "http://www.nextinpact.com/";
|
||||
$this->description = "Returns the newest articles.";
|
||||
}
|
||||
public $maintainer = "qwertygc";
|
||||
public $name = "NextInpact Bridge";
|
||||
public $uri = "http://www.nextinpact.com/";
|
||||
public $description = "Returns the newest articles.";
|
||||
|
||||
private function StripCDATA($string) {
|
||||
$string = str_replace('<![CDATA[', '', $string);
|
||||
|
Reference in New Issue
Block a user