banner
DIYgod

Hi, DIYgod

写代码是热爱,写到世界充满爱!
github
twitter
follow
bilibili
telegram
email
steam
playstation
nintendo switch

RSSHub Radar - Subscribing to an RSS feed shouldn't be this difficult.

If you ask me whether RSSHub can change the fate of RSS, I don't know, but what I know is that not accepting fate is the fate of RSSHub. - "Ne Zha"

If you still don't know about RSS: "I have special RSS usage skills" (https://diygod.me/ohmyrss/)
If you still don't know about RSSHub: "Subscribe to websites that don't support RSS through RSSHub" (https://sspai.com/post/47100)

First of all, the biggest respect goes to the 244 contributors of RSSHub (https://docs.rsshub.app/#contributors)

Subscribing to an RSS feed is too difficult#

First, the website needs to provide RSS (which is usually not the case); then we have to randomly find the RSS link on the page; then copy the link, open RSS services like Feedly or Inoreader, click on add subscription, paste the link, and add it.

See, smoothly subscribing to an RSS feed requires the right timing (finding the RSS randomly), the right place (the website providing RSS), and the right people (not giving up halfway because the subscription process is too complicated), all three are necessary.

It's already 9102, the world shouldn't be like this.

Solving this problem#

To solve this problem, RSSHub Radar was born.

Chrome Web Store | GitHub

RSSHub Radar is a derivative project of RSSHub. It is a browser extension that helps you quickly discover and subscribe to RSS and RSSHub on the current website.

Using it is very simple. When we enter a new page, RSSHub Radar will automatically detect if the current page supports RSS and RSSHub. If it is detected, a badge will be displayed in the lower right corner. If we want to subscribe to the RSS of the current page, we can click on the extension icon, and a list will pop up, as shown in the figure. The list contains three items: RSS on the current page, RSSHub applicable to the current page, and RSSHub applicable to the current website. You can choose to copy the link or subscribe with one click to Feedly, Inoreader, or TinyTinyRSS.

The settings page allows you to use your own RSSHub domain, set shortcuts, update rules immediately, choose to subscribe with one click to TinyTinyRSS or Feedly, and choose whether to enable badge reminders, etc.

The support list lists the currently supported RSSHub rules.

How does RSSHub Radar work#

RSSHub Radar is open source. You can directly go to GitHub to see the source code.

When we enter a new page, RSSHub Radar starts detecting the RSS and RSSHub of the current page.

RSS built into the current page

Analyzing every link on the page is obviously unrealistic, but fortunately, the standard specifies a special MIME type link tag to indicate the RSS link, link[type="application/rss+xml"] and link[type="application/atom+xml"]. RSSHub Radar detects whether the page has built-in RSS through this tag. The specific implementation is here.

RSSHub applicable to the current page

Using the given rules, RSSHub Radar obtains the RSSHub link based on the URL or DOM of the current page. The specific meanings of the fields in the rules can be found in the documentation. The specific implementation is here.

The rules are updated remotely from GitHub every 5 hours.

One-click subscription

Feedly, Inoreader, and TinyTinyRSS all provide interfaces for subscription. The difference is that Feedly requires confirmation on the page, while the other two will subscribe directly.

For example, visiting this URL can quickly subscribe to my blog using Feedly (requires clicking FOLLOW to confirm):
https://feedly.com/i/subscription/feed/https://diygod.me/atom.xml

This URL can quickly subscribe to my blog using Inoreader:
https://www.inoreader.com/feed/https://diygod.me/atom.xml

Join us#

If you are interested in RSSHub, welcome to participate or support us.

Finally, I wish Ne Zha's box office to exceed 5 billion, and those who haven't watched it must go watch it!

rsshub-radar4

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.