mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-08-18 06:11:33 +02:00
[bridges] use constants instead of variable members
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
This commit is contained in:
@@ -5,12 +5,12 @@ class WordPressBridge extends HttpCachingBridgeAbstract {
|
||||
|
||||
public $sitename; // Name of the site
|
||||
|
||||
public $maintainer = "aledeg";
|
||||
public $name = "Wordpress Bridge";
|
||||
public $uri = "https://wordpress.org/";
|
||||
public $description = "Returns the 3 newest full posts of a Wordpress blog";
|
||||
const MAINTAINER = "aledeg";
|
||||
const NAME = "Wordpress Bridge";
|
||||
const URI = "https://wordpress.org/";
|
||||
const DESCRIPTION = "Returns the 3 newest full posts of a Wordpress blog";
|
||||
|
||||
public $parameters = array( array(
|
||||
const PARAMETERS = array( array(
|
||||
'url'=>array(
|
||||
'name'=>'Blog URL',
|
||||
'required'=>true
|
||||
|
Reference in New Issue
Block a user