mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-12 11:34:09 +02:00
[bridges] use constants instead of variable members
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
class KoreusBridge extends BridgeAbstract{
|
||||
|
||||
public $maintainer = "pit-fgfjiudghdf";
|
||||
public $name = "Koreus";
|
||||
public $uri = "http://www.koreus.com/";
|
||||
public $description = "Returns the 5 newest posts from Koreus (full text)";
|
||||
const MAINTAINER = "pit-fgfjiudghdf";
|
||||
const NAME = "Koreus";
|
||||
const URI = "http://www.koreus.com/";
|
||||
const 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