mirror of
https://gitlab.silvrtree.co.uk/martind2000/rss-braider.git
synced 2025-01-25 21:16:17 +00:00
15 lines
381 B
JavaScript
15 lines
381 B
JavaScript
var RssBraider = require('../index'),
|
|
feeds = {};
|
|
feeds.filefeed = require("./filefeed").feed;
|
|
var braider_options = {
|
|
feeds : feeds,
|
|
indent : " "
|
|
};
|
|
var rss_braider = RssBraider.createClient(braider_options);
|
|
|
|
rss_braider.processFeed('filefeed', 'rss', function(err, data){
|
|
if (err) {
|
|
return console.log(err);
|
|
}
|
|
console.log(data);
|
|
}); |