Socket
Socket
Sign inDemoInstall

feed-me-up-scotty

Package Overview
Dependencies
5
Maintainers
1
Versions
97
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    feed-me-up-scotty

RSS feeds for arbitrary websites, using CSS selectors


Version published
Weekly downloads
33K
increased by6.85%
Maintainers
1
Created
Weekly downloads
 

Readme

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

Last updated on 25 Jan 2024

Did you know?

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc