News fix
This commit is contained in:
parent
b8aa6dda1f
commit
9acbba6843
6
news.js
6
news.js
@ -3,6 +3,8 @@ var outputFile = 'news', RssBraider = require('rss-braider'), fs = require('fs')
|
|||||||
join(__dirname, '/templates/rss.ejs'),
|
join(__dirname, '/templates/rss.ejs'),
|
||||||
'utf8'), feeds = {};
|
'utf8'), feeds = {};
|
||||||
|
|
||||||
|
var argv = require('yargs').argv;
|
||||||
|
|
||||||
var log4js = require('log4js');
|
var log4js = require('log4js');
|
||||||
var logger = log4js.getLogger();
|
var logger = log4js.getLogger();
|
||||||
|
|
||||||
@ -63,10 +65,10 @@ feeds.simple_test_feed = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
,
|
,
|
||||||
{
|
/*{
|
||||||
"count": 100,
|
"count": 100,
|
||||||
"feed_url": "http://feeds.reuters.com/reuters/globalmarketsNews"
|
"feed_url": "http://feeds.reuters.com/reuters/globalmarketsNews"
|
||||||
},
|
},*/
|
||||||
{
|
{
|
||||||
"count": 100,
|
"count": 100,
|
||||||
"feed_url": "http://hosted2.ap.org/atom/APDEFAULT/cae69a7523db45408eeb2b3a98c0c9c5"
|
"feed_url": "http://hosted2.ap.org/atom/APDEFAULT/cae69a7523db45408eeb2b3a98c0c9c5"
|
||||||
|
Loading…
Reference in New Issue
Block a user