debugging braider

This commit is contained in:
Martin Donnelly 2015-07-31 11:46:33 +01:00
parent ec3ffae359
commit 5aff1549a9

View File

@ -196,7 +196,7 @@ var braider_options = {
indent: " ",
date_sort_order: "desc", // Newest first
log_level: "warn",
dedupe_fields: ['link', 'guid'],
dedupe_fields: [ 'guid'],
plugins_directories : [__dirname + "/plugins/"]
};
var rss_braider = RssBraider.createClient(braider_options);
@ -228,17 +228,17 @@ rss_braider.processFeed('simple_test_feed', 'json', function (err, data) {
console.log("The file was saved!");
});
fs.writeFile(__dirname + "/html/" + outputFile + ".html", ejsOutput, function (err) {
/*fs.writeFile(__dirname + "/html/" + outputFile + ".html", ejsOutput, function (err) {
if (err) {
return console.log(err);
}
console.log("The file was saved!");
});
});*/
});
rss_braider.processFeed('simple_test_feed', 'rss', function (err, data) {
/*rss_braider.processFeed('simple_test_feed', 'rss', function (err, data) {
if (err) {
return console.log(err);
}
@ -249,5 +249,5 @@ rss_braider.processFeed('simple_test_feed', 'rss', function (err, data) {
console.log("The file was saved!");
});
});
});*/