Title: WebSub (FKA. PubSubHubbub)
Author: joshfraz
Published: <strong>15 Tháng 5, 2009</strong>
Last modified: 22 Tháng 1, 2026

---

Tìm kiếm plugin

![](https://ps.w.org/pubsubhubbub/assets/banner-772x250.png?rev=3085446)

![](https://ps.w.org/pubsubhubbub/assets/icon.svg?rev=3086356)

# WebSub (FKA. PubSubHubbub)

 Bởi [joshfraz](https://profiles.wordpress.org/joshfraz/)

[Tải về](https://downloads.wordpress.org/plugin/pubsubhubbub.4.0.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/pubsubhubbub/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/pubsubhubbub/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/pubsubhubbub/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/pubsubhubbub/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/pubsubhubbub/)

## Mô tả

This plugin implements the [WebSub](https://www.w3.org/TR/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

 * [WebSub W3C Recommendation](https://www.w3.org/TR/websub/)
 * [PubSubHubbub 0.4](https://pubsubhubbub.github.io/PubSubHubbub/pubsubhubbub-core-0.4.html)

### Default Hubs

By default this plugin will ping the following hubs:

 * [Demo hub on Google App Engine](https://pubsubhubbub.appspot.com)
 * [SuperFeedr](https://pubsubhubbub.superfeedr.com)
 * [WebSubHub](https://websubhub.com)

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

## Ảnh màn hình

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

## Cài đặt

 1. Upload the `pubsubhubbub` directory to your `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Select custom hubs under your WebSub/PubSubHubbub Settings (optional)

## Hỏi đáp

### 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?

 * [W3C WebSub Recommendation](https://www.w3.org/TR/websub/)
 * [WebSub on GitHub](https://github.com/w3c/websub)
 * [WebSub.rocks – WebSub validator](https://websub.rocks/)

### 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](https://github.com/pubsubhubbub/wordpress-pubsubhubbub/blob/main/docs/subscriber-api.md)
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](https://github.com/pubsubhubbub/wordpress-pubsubhubbub/wiki).

## Đánh giá

![](https://secure.gravatar.com/avatar/81b91dca4a4b4bf3cdd5e296e7c5771b5da4de1f70e856177d4b8ccb449475af?
s=60&d=retro&r=g)

### 󠀁[Works No Problems](https://wordpress.org/support/topic/works-no-problems-6/)󠁿

 [totalgaz](https://profiles.wordpress.org/totalgaz/) 3 Tháng 5, 2023

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.

![](https://secure.gravatar.com/avatar/c9b3e49821ea5614dbb23d78d8fc9efc9d2bfb6fcdb3ddf5148e2fbd0619db77?
s=60&d=retro&r=g)

### 󠀁[Good Plugin](https://wordpress.org/support/topic/good-plugin-6317/)󠁿

 [upgradeorid](https://profiles.wordpress.org/updateorid/) 20 Tháng 2, 2023

Good and simple plugin

![](https://secure.gravatar.com/avatar/0771f018c5c481aecb62b5789070e663f32e747831b01c657b7246e43dc9ed21?
s=60&d=retro&r=g)

### 󠀁[Indispensable?](https://wordpress.org/support/topic/indispensable-241/)󠁿

 [dmsr](https://profiles.wordpress.org/dmsr/) 22 Tháng 7, 2022

Je l’installe systématiquement depuis bien longtemps sur tous mes sites!

![](https://secure.gravatar.com/avatar/60c13b341a258564c1ea64f00fb1e0ff41a1a00f761c465c31fc4b112b217550?
s=60&d=retro&r=g)

### 󠀁[Best Update Plugin](https://wordpress.org/support/topic/best-update-plugin/)󠁿

 [Adebowale Adekoya](https://profiles.wordpress.org/adebo4all/) 5 Tháng 2, 2020

This is the best update plugin so far.

 [ Đọc tất cả 6 đánh giá ](https://wordpress.org/support/plugin/pubsubhubbub/reviews/)

## Người đóng góp & Lập trình viên

“WebSub (FKA. PubSubHubbub)” là mã nguồn mở. Những người sau đã đóng góp vào plugin
này.

Những người đóng góp

 *   [ joshfraz ](https://profiles.wordpress.org/joshfraz/)
 *   [ Matthias Pfefferle ](https://profiles.wordpress.org/pfefferle/)
 *   [ IndieWeb ](https://profiles.wordpress.org/indieweb/)

“WebSub (FKA. PubSubHubbub)” đã được dịch qua 10 ngôn ngữ. Cảm ơn [những người tham gia dịch](https://translate.wordpress.org/projects/wp-plugins/pubsubhubbub/contributors)
vì đóng góp của họ.

[Dịch “WebSub (FKA. PubSubHubbub)” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/pubsubhubbub)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/pubsubhubbub/), check out
[SVN repository](https://plugins.svn.wordpress.org/pubsubhubbub/), hoặc theo dõi
[nhật ký phát triển](https://plugins.trac.wordpress.org/log/pubsubhubbub/) qua [RSS](https://plugins.trac.wordpress.org/log/pubsubhubbub/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

Project maintained on GitHub at [pubsubhubbub/wordpress-pubsubhubbub](https://github.com/pubsubhubbub/wordpress-pubsubhubbub).

### 4.0.0

 * Added WebSub Subscriber API with hooks for consumer plugins
 * Deprecated all `pubsubhubbub_*` hooks in favor of `websub_*` prefix (old hooks
   still work)
 * Replaced Grunt and Docker with wp-env for local development
 * Fixed double-escaping issues in feed discovery
 * Improved WebSub spec compliance and PHP 8 compatibility

### 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

## Plugin cộng đồng

Plugin này được phát triển và hỗ trợ bởi một cộng đồng. [Đóng góp cho plugin này](https://github.com/pubsubhubbub/wordpress-pubsubhubbub/)

## Meta

 *  Phiên bản **4.0.0**
 *  Cập nhật lần cuối **4 tháng trước**
 *  Số lượt cài đặt **100.000+**
 *  Phiên bản WordPress ** 4.5 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.9.4**
 *  Phiên bản PHP ** 7.2 hoặc cao hơn **
 *  Ngôn ngữ
 * [Dutch](https://nl.wordpress.org/plugins/pubsubhubbub/), [Dutch (Belgium)](https://nl-be.wordpress.org/plugins/pubsubhubbub/),
   [English (UK)](https://en-gb.wordpress.org/plugins/pubsubhubbub/), [English (US)](https://wordpress.org/plugins/pubsubhubbub/),
   [Galician](https://gl.wordpress.org/plugins/pubsubhubbub/), [German](https://de.wordpress.org/plugins/pubsubhubbub/),
   [Japanese](https://ja.wordpress.org/plugins/pubsubhubbub/), [Russian](https://ru.wordpress.org/plugins/pubsubhubbub/),
   [Spanish (Chile)](https://cl.wordpress.org/plugins/pubsubhubbub/), [Spanish (Spain)](https://es.wordpress.org/plugins/pubsubhubbub/),
   và [Spanish (Venezuela)](https://ve.wordpress.org/plugins/pubsubhubbub/).
 *  [Dịch sang ngôn ngữ của bạn](https://translate.wordpress.org/projects/wp-plugins/pubsubhubbub)
 * Thẻ
 * [feed](https://vi.wordpress.org/plugins/tags/feed/)[indieweb](https://vi.wordpress.org/plugins/tags/indieweb/)
   [pubsub](https://vi.wordpress.org/plugins/tags/pubsub/)[pubsubhubbub](https://vi.wordpress.org/plugins/tags/pubsubhubbub/)
   [websub](https://vi.wordpress.org/plugins/tags/websub/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/pubsubhubbub/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  6 5-star reviews     ](https://wordpress.org/support/plugin/pubsubhubbub/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/pubsubhubbub/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/pubsubhubbub/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/pubsubhubbub/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/pubsubhubbub/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/pubsubhubbub/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/pubsubhubbub/reviews/)

## Những người đóng góp

 *   [ joshfraz ](https://profiles.wordpress.org/joshfraz/)
 *   [ Matthias Pfefferle ](https://profiles.wordpress.org/pfefferle/)
 *   [ IndieWeb ](https://profiles.wordpress.org/indieweb/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/pubsubhubbub/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://notiz.blog/donate/)