mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-31 05:40:24 +02:00
Last batch of bridges, all implemented !
Signed-off-by: teromene <teromene@teromene.fr>
This commit is contained in:
@@ -1,21 +1,32 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* RssBridgeWordpress
|
||||
* Returns the 3 newest full posts of a Wordpress blog
|
||||
*
|
||||
* @name Wordpress Bridge
|
||||
* @homepage https://wordpress.com/
|
||||
* @description Returns the 3 newest full posts of a Wordpress blog
|
||||
* @maintainer aledeg
|
||||
* @update 2015-09-05
|
||||
* @use1(url="blog URL (required)", name="blog name")
|
||||
*/
|
||||
class WordPressBridge extends BridgeAbstract {
|
||||
|
||||
private $url;
|
||||
public $name;
|
||||
|
||||
public function loadMetadatas() {
|
||||
|
||||
$this->maintainer = "aledeg";
|
||||
$this->name = "Wordpress Bridge";
|
||||
$this->uri = "https://wordpress.com/";
|
||||
$this->description = "Returns the 3 newest full posts of a Wordpress blog";
|
||||
$this->update = "2015-09-05";
|
||||
|
||||
$this->parameters[] =
|
||||
'[
|
||||
{
|
||||
"name" : "blog URL",
|
||||
"required" : "true",
|
||||
"identifier" : "url"
|
||||
},
|
||||
{
|
||||
"name" : "Blog name",
|
||||
"identifier" : "name"
|
||||
}
|
||||
]';
|
||||
|
||||
}
|
||||
|
||||
public function collectData(array $param) {
|
||||
$this->processParams($param);
|
||||
|
||||
|
Reference in New Issue
Block a user