RSSNext / Follow

🧡 Follow your favorites in one inbox
https://follow.is
GNU General Public License v3.0
17.33k stars 715 forks source link

Add the support of PubSubHubbub protocol #287

Open ArcticLampyrid opened 2 months ago

ArcticLampyrid commented 2 months ago

Clear and concise description of the problem

PubSubHubbub (though still a working draft) is an open, simple, web-scale and decentralized pubsub protocol. In RSS channel which expects a real-time pushing, it is used to send the notification.

Suggested solution

To subscribe, the process is straightforward. Simply parse the //atom:link tag:

<feed xmlns="http://www.w3.org/2005/Atom">
   <link href="https://alampy.com/atom.xml" rel="self"/>
   <link href="https://pubsubhubbub.appspot.com/" rel="hub"/>
</feed>

Afterward, periodically send a request to register a Webhook.

Once the feed is updated, the owner will notify the hub (e.g., Google PubSubHubbub Hub), which will then forward the event to all registered Webhooks.

Alternative

No response

Additional context

Validations

linear[bot] commented 2 months ago

FOL-71 Add the support of PubSubHubbub protocol

DIYgod commented 2 months ago

I've never seen anyone use it. Can you provide specific use cases and explain its benefits?

ArcticLampyrid commented 2 months ago

Most plugins for self-hosted blogs will support this, but I do not know how many users will adopt it.

ArcticLampyrid commented 2 months ago

Some large websites that support this feature include:

ArcticLampyrid commented 2 months ago

its benefits

This is for obtaining updates in a more timely (almost real-time) manner, of course.