tech now jsons

This commit is contained in:
martind2000@gmail.com 2015-07-27 23:39:14 +01:00
parent 820037c5c7
commit 70141a950e

View File

@ -98,6 +98,14 @@ rss_braider.processFeed('simple_test_feed', 'json', function (err, data) {
return console.log(err);
}
console.log("The file was saved!");
});
fs.writeFile(__dirname + "/html/" + outputFile + ".json", data, function (err) {
if (err) {
return console.log(err);
}
console.log("The file was saved!");
});
});