mirror of
https://github.com/node-red/node-red-nodes.git
synced 2025-03-01 10:37:43 +00:00
@@ -8,6 +8,7 @@ module.exports = function(RED) {
|
||||
function FeedParseNode(n) {
|
||||
RED.nodes.createNode(this,n);
|
||||
this.url = n.url;
|
||||
if (n.interval > 35790) { this.warn(RED._("feedparse.errors.invalidinterval")) }
|
||||
this.interval = (parseInt(n.interval)||15) * 60000;
|
||||
var node = this;
|
||||
this.interval_id = null;
|
||||
|
Reference in New Issue
Block a user