RSS-Bridge turns updates from supported websites into feeds you can subscribe to in an RSS reader. Each bridge handles a particular site or task, such as tracking posts from a profile or pulling updates from part of a page.
Use Cases - AI Feed Link Generation
RSS is still one of my favorite ways to keep up with the news while being exposed to minimal ads. My preferred feed server is FreshRSS, and I read my feeds in Reeder Classic on my iPad and Capy Reader on my Android phone. But I’d really like to talk about RSS Bridge.
A lot of the secondhand coverage I come across repeats the same announcement, adds little commentary, and surrounds it with ads. This is one of the many reasons I prefer to get my news from as close to the orignal source as possible (also because this is what public schools taught kids in the 90s). Quite a few blogs I follow don’t support RSS, and that’s where RSS-Bridge comes in. It can turn a blog’s list of posts into a feed. Figuring out the right settings can be troublesome, time consuming, and annoying; all the workings for a good task for an AI agent. I can give it a blog URL, ask it to identify the page elements that mark each post, and have it format a link for a RSS Bridge feed (usually through CSS Selector).
OpenAI Developers Blog Example
I use RSS-Bridge to follow the OpenAI Developers blog in FreshRSS. Here is an example of what this would look like as an RSS Bridge Link:
http://rss[.]example[.]com/?action=display&bridge=CssSelectorBridge&home_page=https%3A%2F%2Fdevelopers.openai.com%2Fblog&url_selector=a.resource-item&content_selector=article%23mainContent&content_cleanup=script%2C+style%2C+button%2C+nav&title_cleanup=+%7C+OpenAI+Developers&limit=20&format=Atom
How the feed URL works
The address before ? is a placeholder for the RSS-Bridge server. Everything after ? tells it how to build the feed. The settings are separated by &, and the values below are shown decoded so you can read them as RSS-Bridge does.
action=displaytells RSS-Bridge to return a feed.bridge=CssSelectorBridgeselects the bridge that finds content using CSS selectors.home_page=https://developers.openai.com/blogtells the bridge where to look for posts.url_selector=a.resource-itemfinds links with theresource-itemclass on that page. The bridge follows those links to the individual posts.content_selector=article#mainContenttells the bridge to extract the<article>element with the IDmainContentfrom each post.content_cleanup=script, style, button, navstrips scripts, style blocks, buttons, and navigation from the extracted content.title_cleanupremoves the literal text| OpenAI Developersfrom titles.limit=20caps the feed at 20 entries.format=Atomreturns the entries as an Atom feed that FreshRSS can subscribe to.
Docker Compose
services:
rss-bridge:
labels:
com.centurylinklabs.watchtower.enable: 'true'
image: rssbridge/rss-bridge:latest
volumes:
- ./config:/config
ports:
- '3100:80'
restart: unless-stopped