1
0
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:
teromene
2015-11-05 15:50:18 +00:00
committed by Mitsukarenai
parent 715ad3bf3f
commit 78c9dcc705
60 changed files with 1678 additions and 604 deletions

View File

@@ -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);