mirror of
https://gitlab.silvrtree.co.uk/martind2000/rss-braider.git
synced 2025-01-29 00:06:16 +00:00
15 lines
397 B
JavaScript
15 lines
397 B
JavaScript
|
var RssBraider = require('../index'),
|
||
|
feeds = {};
|
||
|
feeds.filefeed = require("./config/feed_with_plugins").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);
|
||
|
});
|