"skipFirstLoad: true" Doesn't Work?
See original GitHub issueHi, I am using this code:
const RssFeedEmitter = require('rss-feed-emitter');
const feeder = new RssFeedEmitter({ skipFirstLoad: true });
feeder.add({
url: 'http://www.nintendolife.com/feeds/news',
refresh: 2000
});
feeder.on('new-item', function (item) {
console.log(item);
})
console.log('Feed watcher bot is listening... ')
but it returns a whole mountain of posts. I would think it shouldn’t return anything but the console.log statement since the skipFirstLoad: true
was passed in… 🤔
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
jquery-bootgrid preset current and rowCount - Stack Overflow
I did the following and it works like a dream: 1) In the jquery-bootgrid.js Add an option called skipFirstLoad and set it to...
Read more >Detect lightning:recordForm change in mode attribute
Mode initialization works only once. After you manually change mode in lightning:recordForm , it doesn't fire neither component, ...
Read more >fetch_url_error: This URL returned a 524 status code #187
I noticed the error handling has changed so perhaps the timeouts were just getting ignored before instead of throwing the error? Node.js version ......
Read more >18.1.3.0, E93562-01 Source: authorization/sso-authorization.js
... in app browser when start load last page with token var skipFirstLoad = true; browserRef.addEventListener('loadstart', function (event) { if (utils.
Read more >rss-feed-emitter - npm
Ignoring the first load of items. const feeder = new RssFeedEmitter({ skipFirstLoad: true }); feeder.add({ url: ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Can confirm this issue
🎉 This issue has been resolved in version 3.1.1 🎉
The release is available on:
Your semantic-release bot 📦🚀