mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-28 10:30:12 +02:00
bridges: Remove unused functions and update scopes
Many bridges implemented getDescription() which is only applicable for bridges extending RSSExpander. Functions that are not part of the abstract class or interface should be in private scope for better readability.
This commit is contained in:
@@ -6,10 +6,10 @@ class ReporterreBridge extends BridgeAbstract{
|
||||
$this->name = "Reporterre Bridge";
|
||||
$this->uri = "http://www.reporterre.net/";
|
||||
$this->description = "Returns the newest articles.";
|
||||
$this->update = "2016-08-04";
|
||||
$this->update = "2016-08-06";
|
||||
}
|
||||
|
||||
function ExtractContentReporterre($url) {
|
||||
private function ExtractContentReporterre($url) {
|
||||
$html2 = $this->file_get_html($url);
|
||||
|
||||
foreach($html2->find('div[style=text-align:justify]') as $e) {
|
||||
|
Reference in New Issue
Block a user