jackjamieson2 / yarns-microsub-server

Yarns is a Microsub server that runs as a plugin on your WordPress site.
GNU General Public License v2.0
20 stars 4 forks source link

Support Websub #33

Open dshanske opened 5 years ago

dshanske commented 5 years ago

To avoid polling entirely, implement the websub spec to receive notifications when a feed updates

jackjamieson2 commented 5 years ago

Thanks for this reminder - Adding support for websub is on my list!

jackjamieson2 commented 5 years ago

Some references for this:

https://github.com/aaronpk/Watchtower

Watchtower is a minimal API that watches web pages for changes and notifies subscribers. Its API is similar to WebSub, as well as Superfeedr subscriptions.

For HTML pages, Watchtower compares the text content with all tags removed in order to determine whether a page has changed. This prevents things like CSRF tokens from triggering a change event and redelivery of the page. For all other content types, the raw content is used to compare changes.

https://wordpress.org/plugins/pushpress/

This plugin adds WebSub/PubSubHubbub ( PuSH ) support to your WordPress powered site. The main difference between this plugin and others is that it includes the hub features of PuSH, built right in. This means the updates will be sent directly from WordPress to your PuSH subscribers.

jackjamieson2 commented 5 years ago

https://superfeedr.com/subscriber

Superfeedr is a feed API built on PubSubHubbub which is sometimes referred to as PuSH. It transforms a variety of feeds into standardized RSS, Atom or JSON format and distributes them via PubSubHubbub or XMPP. This allows subscribers to receive notifications of new or updated content from their feeds, and publishers to send those notifications. (wikipedia)