The feeds update only once

by parasar, Wednesday, June 15, 2016, 19:07 (762 days ago) @ jtojnar

Following is the source for the spout.It is same as feed.php in rss spout. I have only made changes in the params
<?PHP

namespace spouts\jenkins;

/**
* Spout for fetching an rss feed from jenkins
*
* @package spouts
* @subpackage rss
* @copyright Copyright (c) Tobias Zeising (http://www.aditu.de)
* @license GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
* @author Tobias Zeising <tobias.zeising@aditu.de>
*/
class jenkins extends \spouts\spout {

/**
* name of source
*
* @var string
*/
public $name = 'jenkins';


/**
* description of this source type
*
* @var string
*/
public $description = 'A default Jenkins Feed as source';


/**
* config params
* array of arrays with name, type, default value, required, validation type
*
* - Values for type: text, password, checkbox
* - Values for validation: alpha, email, numeric, int, alnum, notempty
*
* e.g.
* array(
* "id" => array(
* "title" => "URL",
* "type" => "text",
* "default" => "",
* "required" => true,
* "validation" => array("alnum")
* ),
* ....
* )
*
* @var bool|mixed
*/
public $params = array(
"url" => array(
"title" => "URL",
"type" => "url",
"default" => "http://xxx.xx.xxx.xx:8080/view/xxxx/rssLatest",
"required" => true,
"validation" => array("notempty")
)
);


}


Complete thread:

 RSS Feed of thread

powered by my little forum