Emits hook.io events on new feed items.
Will "subscribe" to a web RSS/Atom/JSON feed and emit any new items it reads from it. The events are in the form of
name is the name of the feed. So if you are using the example
config.json that looks like this
"feeds":"name": "cnn""url": """interval": 10"emitOnStart": false
Programatically, this is how you would listen for new feed items..
hookon'*::cnn:item'console.log'New Story!:' itemtitle;;hookon'*::item'console.log'New Story from: ' feedname;console.logfeeditem;;
It uses feedsub to read feeds. Take a look at its constructor API for all the options that can be passed to it.
npm -g install hook.io-feedsub
The single test is written with vows