mirror of
https://gitlab.silvrtree.co.uk/martind2000/rss-braider.git
synced 2025-02-10 19:19:16 +00:00
Updating dependencies and README
This commit is contained in:
parent
dfb2dcf855
commit
4bf0d619f5
@ -1,4 +1,6 @@
|
||||
[![Build Status](https://travis-ci.org/KQED/rss-braider.svg?branch=master)](https://travis-ci.org/KQED/rss-braider)
|
||||
[![Dependencies](https://david-dm.org/rKQED/rss-braider.svg?branch=master))](https://david-dm.org/KQED/rss-braider)
|
||||
|
||||
|
||||
## Summary
|
||||
Braid/aggregate one or more RSS feeds (file or url) into a single feed (RSS or JSON output). Process resulting feed through specified plugins. Automatic deduplication
|
||||
@ -14,7 +16,7 @@ npm install rss-braider
|
||||
```
|
||||
$ cd examples
|
||||
$ node simple.js (combines 3 sources)
|
||||
$ node plugins.js (combines 3 sources and runs a transformation plugin)
|
||||
$ node use_plugins.js (combines 3 sources and runs a transformation plugin)
|
||||
```
|
||||
### Code Example
|
||||
```js
|
||||
|
@ -33,8 +33,8 @@ var braider_options = {
|
||||
};
|
||||
var rss_braider = RssBraider.createClient(braider_options);
|
||||
|
||||
// Set logging level (debug, info, warn, err, off)
|
||||
rss_braider.logger.level('off');
|
||||
// Set logging level (debug, info, warn, err)
|
||||
rss_braider.logger.level('info');
|
||||
|
||||
rss_braider.processFeed('simple_test_feed', 'rss', function(err, data){
|
||||
if (err) {
|
||||
|
10
package.json
10
package.json
@ -32,16 +32,16 @@
|
||||
"author": "Kip Gebhardt <kgebhardt@kqed.org>",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"async": "^1.2.1",
|
||||
"async": "^2.1.5",
|
||||
"bunyan": "^1.4.0",
|
||||
"feedparser": "^1.1.3",
|
||||
"include-folder": "^0.9.0",
|
||||
"lodash": "^3.9.3",
|
||||
"feedparser": "^2.1.0",
|
||||
"include-folder": "^1.0.0",
|
||||
"lodash": "^4.17.4",
|
||||
"request": "^2.57.0",
|
||||
"rss": "git://github.com/rv-kip/node-rss.git#8d1420"
|
||||
},
|
||||
"devDependencies": {
|
||||
"mockdate": "^1.0.3",
|
||||
"mockdate": "^2.0.1",
|
||||
"tape": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user