mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-01 06:10:22 +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 DeveloppezDotComBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
$this->maintainer = "polopollo";
|
||||
$this->name = "Developpez.com Actus (FR)";
|
||||
$this->uri = "http://www.developpez.com/";
|
||||
$this->description = "Returns the 15 newest posts from DeveloppezDotCom (full text).";
|
||||
}
|
||||
public $maintainer = "polopollo";
|
||||
public $name = "Developpez.com Actus (FR)";
|
||||
public $uri = "http://www.developpez.com/";
|
||||
public $description = "Returns the 15 newest posts from DeveloppezDotCom (full text).";
|
||||
|
||||
private function DeveloppezDotComStripCDATA($string) {
|
||||
$string = str_replace('<![CDATA[', '', $string);
|
||||
|
Reference in New Issue
Block a user