jobs fix, reverted
This commit is contained in:
parent
e97794fa6c
commit
d929b2cfc3
50
jobs-new.js
50
jobs-new.js
@ -1,7 +1,7 @@
|
||||
const outputFile = 'jobs-new', RssBraider = require('rss-braider'), fs = require('fs'), ejs = require(
|
||||
'ejs'), read = require('fs').readFileSync, join = require('path').join, str = read(
|
||||
join(__dirname, '/templates/rss.ejs'),
|
||||
'utf8'), feeds = {};
|
||||
'ejs'), read = require('fs').readFileSync, join = require('path').join, str = read(
|
||||
join(__dirname, '/templates/rss.ejs'),
|
||||
'utf8'), feeds = {};
|
||||
|
||||
const argv = require('yargs').argv;
|
||||
|
||||
@ -25,21 +25,41 @@ feeds.simple_test_feed = {
|
||||
|
||||
],
|
||||
'custom_namespaces' : {
|
||||
"content" : "http://purl.org/rss/1.0/modules/content/",
|
||||
"slash" : "http://purl.org/rss/1.0/modules/slash/",
|
||||
"media" : "http://search.yahoo.com/mrss/",
|
||||
"ev" : "http://purl.org/rss/2.0/modules/event/",
|
||||
"sy" : "http://purl.org/rss/1.0/modules/syndication/",
|
||||
"wfw" : "http://wellformedweb.org/CommentAPI/",
|
||||
"dc" : "http://purl.org/dc/elements/1.1/",
|
||||
"atom" : "http://www.w3.org/2005/Atom"
|
||||
},
|
||||
"content" : "http://purl.org/rss/1.0/modules/content/",
|
||||
"slash" : "http://purl.org/rss/1.0/modules/slash/",
|
||||
"media" : "http://search.yahoo.com/mrss/",
|
||||
"ev" : "http://purl.org/rss/2.0/modules/event/",
|
||||
"sy" : "http://purl.org/rss/1.0/modules/syndication/",
|
||||
"wfw" : "http://wellformedweb.org/CommentAPI/",
|
||||
"dc" : "http://purl.org/dc/elements/1.1/",
|
||||
"atom" : "http://www.w3.org/2005/Atom"
|
||||
},
|
||||
"sources": [
|
||||
{
|
||||
|
||||
"count": 100,
|
||||
"feed_url": "http://www.jobserve.com/MySearch/6DA9769BA89834AA.rss"
|
||||
}
|
||||
"count": 100,
|
||||
"feed_url": "http://www.jobserve.com/MySearch/6DA9769BA89834AA.rss"
|
||||
},
|
||||
{
|
||||
|
||||
"count": 100,
|
||||
"feed_url": "http://www.JobServe.com/MySearch/EDF47BEA6B31EF.rss"
|
||||
},
|
||||
{
|
||||
|
||||
"count": 100,
|
||||
"feed_url": "http://www.JobServe.com/MySearch/3CAD044BEF2BFA.rss"
|
||||
},
|
||||
{
|
||||
|
||||
"count": 100,
|
||||
"feed_url": "http://www.JobServe.com/MySearch/C7B25D86D0844A.rss"
|
||||
},
|
||||
{
|
||||
|
||||
"count": 100,
|
||||
"feed_url": "http://www.JobServe.com/MySearch/64A3EEF615FA4C.rss"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user