simple node program that creates rss feeds for website that don't have them
Instructions:
- Clone this repository
- Run
yarn
ornpm install
- Copy
config.tpl.yaml
toconfig.yaml
and edit it to configure the feeds - Run
node page2rss.js
in 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