feed-me-up-scotty-with-date
v1.4.0-beta.1
Published
RSS feeds for arbitrary websites, using CSS selectors
Downloads
12
Readme
Feed me up, Scotty!
Generate RSS feeds for websites that don't have them, using CSS selectors.
To use, create a file feeds.toml, in which you can define the feeds to create
as follows:
[funfacts]
title = "Wikipedia — did you know?"
url = "https://en.wikipedia.org/wiki/Main_Page"
entrySelector = "#mp-dyk > ul li"
titleSelector = "b"
linkSelector = "b a"
[wikivoyage]
title = "Wikivoyage recommendations"
url = "https://en.wikivoyage.org/wiki/Main_Page"
entrySelector = ".jcarousel-wrapper .jcarousel-item"
titleSelector = "h2"
linkSelector = "h2 a" Then run:
npx feed-me-up-scottyThis will generate two RSS feeds in public/funfacts.xml and
public/wikivoyage.xml. Additionally, it will generate a combined RSS feed in
public/all.xml.
