mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-10 18:44:04 +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 KoreusBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
$this->maintainer = "pit-fgfjiudghdf";
|
||||
$this->name = "Koreus";
|
||||
$this->uri = "http://www.koreus.com/";
|
||||
$this->description = "Returns the 5 newest posts from Koreus (full text)";
|
||||
}
|
||||
public $maintainer = "pit-fgfjiudghdf";
|
||||
public $name = "Koreus";
|
||||
public $uri = "http://www.koreus.com/";
|
||||
public $description = "Returns the 5 newest posts from Koreus (full text)";
|
||||
|
||||
private function KoreusStripCDATA($string) {
|
||||
$string = str_replace('<![CDATA[', '', $string);
|
||||
|
Reference in New Issue
Block a user