RSSNext / RSSNext/Folo

Add the support of PubSubHubbub protocol

Open
#287 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
TypeScript
Stars
39k
Forks
2.1k
Avg merge
1d 4h
Merged PRs (30d)
10

Description

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
  • Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the PubSubHubbub Core 0.4 working draft and the issue's Atom feed example, then locate the feed parsing and subscription entry points in the project. Done means recognizing atom:link elements with rel="hub", registering a webhook, and handling hub-forwarded update notifications.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend-api-design
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.