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 NiceMatinBridge extends BridgeAbstract{
|
||||
|
||||
public function loadMetadatas() {
|
||||
$this->maintainer = "pit-fgfjiudghdf";
|
||||
$this->name = "NiceMatin";
|
||||
$this->uri = "http://www.nicematin.com/";
|
||||
$this->description = "Returns the 10 newest posts from NiceMatin (full text)";
|
||||
}
|
||||
public $maintainer = "pit-fgfjiudghdf";
|
||||
public $name = "NiceMatin";
|
||||
public $uri = "http://www.nicematin.com/";
|
||||
public $description = "Returns the 10 newest posts from NiceMatin (full text)";
|
||||
|
||||
private function NiceMatinExtractContent($url) {
|
||||
$html = $this->getSimpleHTMLDOM($url);
|
||||
|
Reference in New Issue
Block a user