Socket
Book a DemoInstallSign in
Socket

feed-me-up-scotty

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

feed-me-up-scotty

RSS feeds for arbitrary websites, using CSS selectors

1.10.0
latest
npmnpm
Version published
Weekly downloads
1.5K
-14.29%
Maintainers
1
Weekly downloads
 
Created
Source

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-scotty

This 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.

FAQs

Package last updated on 25 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.