sandywp / plugins / pubsubhubbub

WebSub (FKA. PubSubHubbub)

5.0 out of 5 stars. 5.0 6 reviews

A WebSub plugin for WordPress that enables real-time publishing and subscription capabilities.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v4.0.1 100,000+ installs WP 4.5+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
WebSub (FKA. PubSubHubbub) running inside a SandyWP sandbox

What you get inside

1 screen
  • The WebSub Settings page allows you to define which hubs you want to use

About this plugin

This plugin implements the WebSub protocol (formerly known as PubSubHubbub) for WordPress. It enables real-time notifications when your blog is updated and provides a subscriber API for other plugins to consume WebSub-enabled feeds.

Publisher Features

When you publish or update a post, this plugin automatically notifies WebSub hubs, which then distribute the update to all subscribers in real-time.

  • Sends realtime notifications when you update your blog
  • Supports multi-user installations (WordPress MU)
  • Supports multiple hubs
  • Supports all feed formats used by WordPress (Atom, RSS2, RDF)
  • Adds <link rel="hub"> and <link rel="self"> declarations to feeds and HTML

Subscriber Features

The plugin provides a subscriber API that allows other plugins (like feed readers) to subscribe to WebSub-enabled feeds using WordPress hooks.

  • REST API callback endpoint for subscription verification and content delivery
  • Hub discovery from topic URLs (HTTP Link headers and feed content)
  • HMAC signature verification (SHA1, SHA256, SHA384, SHA512)
  • Full lifecycle hooks for integration with other plugins

Supported Specifications

Default Hubs

By default this plugin will ping the following hubs:

Please contact us if you operate a hub that you would like to be included as a default option.

Questions

What is WebSub?

WebSub provides a common mechanism for communication between publishers of any kind of Web content and their subscribers, based on HTTP web hooks. Subscription requests are relayed through hubs, which validate and verify the request. Hubs then distribute new and updated content to subscribers when it becomes available. WebSub was previously known as PubSubHubbub.

Where can I learn more about WebSub?

What is a Hub?

A WebSub Hub is an implementation that handles subscription requests and distributes content to subscribers when the corresponding topic URL has been updated.

What is a Publisher?

A WebSub Publisher is an implementation that advertises a topic and hub URL on one or more resource URLs. This plugin acts as a publisher for your WordPress site.

What is a Subscriber?

A WebSub Subscriber is an implementation that discovers the hub and topic URL given a resource URL, subscribes to updates at the hub, and accepts content distribution requests from the hub. This plugin provides a subscriber API for other plugins to use.

How can I use the Subscriber API in my plugin?

The Subscriber API allows other plugins to subscribe to WebSub-enabled feeds using WordPress hooks. See the Subscriber API documentation for detailed examples and usage.

Where can I find a list of available hooks?

For a complete list of available actions and filters, see the Hooks Wiki.

5.0

6 reviews

  • 5 ★ 6
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.