debugging braider
This commit is contained in:
parent
ec3ffae359
commit
5aff1549a9
10
lifestyle.js
10
lifestyle.js
@ -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!");
|
||||
});
|
||||
});
|
||||
});*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user