simple node program that creates rss feeds for website that don't have them
Instructions:
- Clone this repository
- Run
yarnornpm install - Copy
config.tpl.yamltoconfig.yamland edit it to configure the feeds - Run
node page2rss.jsin a cronjob as often as you want
Feeds will be stored in out/ folder from where you can serve them.
Configuration:
The config.yml looks like this:
feeds: bloomberg-tech: feed: url: https://www.bloomberg.com/topics/tech title: 'Bloomberg Tech' description: Tech news, business analysis, commentary, long-form features, polling, original video, interactive graphics, and more from the nation's leading business commentators. selectors: item: .index-page__item headline: .index-page__headline link: .index-page__headline a date: .label-and-timestamp #description: p.desc #author: div.author #picture: img date_format: MMMM DD, YYYY