Who is this for?
This is intended primarily for River4 users.
The instructions are brief. ;-)
It's probably sample code
I wanted to show people how to parse a river, and keep track of which items you've seen, and to stream them out to a service like Twitter.
It might be too much work to set up your own nodeStorage server. Feel free to substitute any code of your own to send a message. You could send an email, or a WhatsApp message, or whatever.
You can use my Twitter gateway if you want, as long as you're not sending hundreds of tweets a day.
It might be easier to understand the code reading in an outliner.
It runs in Node.js.
Edit config.json. For each river, give it a name. The name must be unique among the other rivers in config.json.
If you're running your own nodeStorage server, substitute the address of your server for mine. (If so, the values of token and tokenSecret will come from your nodeStorage installation, not mine.)
The token and tokenSecret are the values used in Radio3 (which is the domain the gateway is serving).
I'm running this code
Post questions on the River4 mail list.