rss-rx
Parses an RSS/Atom feed and emits unique articles using Rx.
Observable
⏏
module.exports(url, [intervalSeconds]) ⇒ Returns an observable that emits unique items from an RSS feed. See tests for examples.
Kind: Exported function
Returns: Observable
- This observable will only complete if intervalSeconds is not specified. Otherwise it will continue to monitor the feed for new articles.
Param | Type | Description |
---|---|---|
url | String |
The location of the RSS feed. This can also be an options object that will be recognized by Request. |
[intervalSeconds] |
Integer | Boolean
|
Time between refreshes of the source. Omit to calculate the refresh time from the initial RSS pull. Set to false for a single pull. |