updated bored
This commit is contained in:
parent
1bbd658815
commit
7a5a1de3e3
6
bored.js
6
bored.js
@ -25,7 +25,7 @@ feeds.simple_test_feed = {
|
|||||||
{
|
{
|
||||||
/* "name" : "JobServe",*/
|
/* "name" : "JobServe",*/
|
||||||
"count": 100,
|
"count": 100,
|
||||||
"feed_url": "http://xml.metafilter.com/atom.xml"
|
"feed_url": "http://www.questionablecontent.net/QCRSS.xml"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
@ -33,7 +33,7 @@ var braider_options = {
|
|||||||
feeds: feeds,
|
feeds: feeds,
|
||||||
indent: " ",
|
indent: " ",
|
||||||
date_sort_order: "desc", // Newest first
|
date_sort_order: "desc", // Newest first
|
||||||
log_level: "warn",
|
log_level: "error",
|
||||||
dedupe_fields: ['guid'],
|
dedupe_fields: ['guid'],
|
||||||
plugins_directories : [__dirname + "/plugins/"]
|
plugins_directories : [__dirname + "/plugins/"]
|
||||||
};
|
};
|
||||||
@ -58,7 +58,7 @@ rss_braider.processFeed('simple_test_feed', 'json', function (err, data) {
|
|||||||
|
|
||||||
console.log("The file was saved!");
|
console.log("The file was saved!");
|
||||||
});
|
});
|
||||||
|
|
||||||
fs.writeFile(__dirname + "/dist/" + outputFile + ".json", data, function (err) {
|
fs.writeFile(__dirname + "/dist/" + outputFile + ".json", data, function (err) {
|
||||||
if (err) {
|
if (err) {
|
||||||
return console.log(err);
|
return console.log(err);
|
||||||
|
Loading…
Reference in New Issue
Block a user