1.1.6 • Published 7 years ago
rss-rx v1.1.6
rss-rx
Parses an RSS/Atom feed and emits unique articles using Rx.
module.exports(url, intervalSeconds) ⇒ Observable ⏏
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. |