# Feedparser: Allow float values for interval

**URL:** https://discourse.nodered.org/t/feedparser-allow-float-values-for-interval/1596
**Category:** Feature Requests
**Created:** [16 July 2018 02:06 UTC](https://discourse.nodered.org/t/feedparser-allow-float-values-for-interval/1596 "2018-07-16T02:06:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![robertsimione](https://avatars.discourse-cdn.com/v4/letter/r/f9ae1b/32.png) [@robertsimione](https://discourse.nodered.org/u/robertsimione)
#### Post date: [16 July 2018 02:06 UTC](https://discourse.nodered.org/t/feedparser-allow-float-values-for-interval/1596/1 "2018-07-16T02:06:04Z")

</div>

Some RSS feeds load with lots of interesting documents faster than every minute, for example [https://reddit.com/r/all/comments/.rss](https://reddit.com/r/all/comments/.rss)

There doesn't seem to be any reason that the minutes-interval at which the Feedparser updates be restricted to integers.

I think only a change in the interval calculation and form validator is enough to add this feature, I made a fork of the node-red-nodes repository with the differences I think are needed here: [https://github.com/node-red/node-red-nodes/compare/master...robertsimione:rssfeedparser-float-intervals](https://github.com/node-red/node-red-nodes/compare/master...robertsimione:rssfeedparser-float-intervals)

I do not know how to install the repo manually locally in order to test if this makes the necessary changes.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [16 July 2018 06:28 UTC](https://discourse.nodered.org/t/feedparser-allow-float-values-for-interval/1596/2 "2018-07-16T06:28:22Z")

</div>

You can use `npm pack` command locally to create a tgz file that you can then install with `npm i your-package.tgz`

---

<div class="post-metadata">

### Author: ![shrickus](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/shrickus/32/517_2.png) [@shrickus](https://discourse.nodered.org/u/shrickus)
#### Post date: [16 July 2018 12:38 UTC](https://discourse.nodered.org/t/feedparser-allow-float-values-for-interval/1596/3 "2018-07-16T12:38:46Z")

</div>

You can also just create a symbolic link (or soft link) inside your `~/.node-red/node_modules/` directory to wherever you are editing the forked code. This way, you can make changes to the module, restart node-red, reload the browser, and see the changes immediately -- no npm packaging needed.

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [16 July 2018 15:15 UTC](https://discourse.nodered.org/t/feedparser-allow-float-values-for-interval/1596/4 "2018-07-16T15:15:44Z")

</div>

The changes look fine to me (without testing of course :-)... so once you have tested then a Pull Request would be good.
