mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-21 23:55:56 +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 MsnMondeBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
$this->maintainer = "kranack";
|
||||
$this->name = 'MSN Actu Monde';
|
||||
$this->uri = 'http://www.msn.com/fr-fr/actualite/monde';
|
||||
$this->description = "Returns the 10 newest posts from MSN Actualités (full text)";
|
||||
}
|
||||
public $maintainer = "kranack";
|
||||
public $name = 'MSN Actu Monde';
|
||||
public $uri = 'http://www.msn.com/fr-fr/actualite/monde';
|
||||
public $description = "Returns the 10 newest posts from MSN Actualités (full text)";
|
||||
|
||||
private function MsnMondeExtractContent($url, &$item) {
|
||||
$html2 = $this->getSimpleHTMLDOM($url);
|
||||
|
Reference in New Issue
Block a user