WebSub (FKA. PubSubHubbub)

설명

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.

스크린샷

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

설치

  1. Upload the pubsubhubbub directory to your /wp-content/plugins/ directory
  2. 워드프레스의 ‘플러그인’ 메뉴에서 플러그인을 활성화하세요.
  3. Select custom hubs under your WebSub/PubSubHubbub Settings (optional)

FAQ

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.

후기

2023년 5월 3일
Just learnt more on the benefits of using WebSub a.k.a PubSubHubbub and love that this plugin did the necessary code to the feed instantly. I can see it worked as a newly published blog was discovered instantly by Googlebot after publish using the marked up feed url that I had submitted to search console sitemaps.
2022년 7월 22일
Je l’installe systématiquement depuis bien longtemps sur tous mes sites!
모든 6 평가 읽기

기여자 & 개발자

“WebSub (FKA. PubSubHubbub)”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

“WebSub (FKA. PubSubHubbub)”(이)가 10 개 언어로 번역되었습니다. 기여해 주셔서 번역자님께 감사드립니다.

자국어로 “WebSub (FKA. PubSubHubbub)”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

Project maintained on GitHub at pubsubhubbub/wordpress-pubsubhubbub.

4.0.0

  • Complete code refactoring with namespaces
  • Added WebSub Subscriber API with hooks for consumer plugins
  • Added REST API callback endpoint for subscriptions
  • Added hub discovery and HMAC signature verification
  • Improved WebSub spec compliance

3.2.1

  • fix: empty option on fresh install leads to broken feed links

3.2.0

  • improved validating, sanitizing, and escaping
  • simplified code

3.1.4

  • add Content-Type header to WebSub requests

3.1.3

  • update configuration files, fix typos, update dependencies

3.1.2

  • add new WebSub Hub

3.1.1

  • fix deprecation issue (PHP8)
  • add _deprecated_function warnings

3.1.0

  • update wording (more consequent use of WebSub)
  • add category-, tag- and author-feeds support

3.0.3

  • update dependencies

3.0.2

  • better self-link generator

3.0.1

  • add donation button

3.0.0

  • optimized the DB load
  • added help section
  • better code encapsulation

2.2.2

  • temporarily remove comment-feed support to be more GDPR compliant

2.2.1

  • display topic URLs on the settings page

2.2.0

  • fixed a discovery bug
  • changed http client

2.1.0

  • save pinged URLs to add correct headers

2.0.0

  • Complete rewrite
  • Support WebSub

1.0.0

  • First attempt