tech now jsons
This commit is contained in:
parent
820037c5c7
commit
70141a950e
8
tech.js
8
tech.js
@ -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!");
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user