added scoring
This commit is contained in:
parent
63fe19f8e7
commit
7c1f66296a
@ -207,17 +207,18 @@ rss_braider.logger.level('error');
|
||||
function doFeeds() {
|
||||
console.log('Doing feeds...');
|
||||
rss_braider.processFeed('simple_test_feed', 'json', function (err, data) {
|
||||
console.log('Moving on..');
|
||||
if (err) {
|
||||
return console.log(err);
|
||||
}
|
||||
|
||||
var j = JSON.parse(data);
|
||||
let j = JSON.parse(data);
|
||||
|
||||
j = processJson(j);
|
||||
/*for (let mm in j) {
|
||||
console.log(mm);
|
||||
}*/
|
||||
var ejsOutput = ejs.compile(str)(j);
|
||||
let ejsOutput = ejs.compile(str)(j);
|
||||
|
||||
fs.writeFile(__dirname + "/dist/" + outputFile + ".html",
|
||||
ejsOutput,
|
||||
|
Loading…
Reference in New Issue
Block a user