Panduan WebSub

WebSub (formerly PubSubHubbub) adalah sebuah push protocol itu broadcasts RSS/Atom feed perubahan untuk mesin pencari like Google di nyata time — what ini adalah, how ini berfungsi, dan -nya limits.

Pertama kali diterbitkan: 26 Jun 2026 · Terakhir diperbarui: 3 Agu 2026 · Advanced
Bahasa

WebSub (formerly PubSubHubbub) adalah sebuah W3C push protocol — sebuah Recommendation since Jan 2018, republished dengan security fixes di June 2026 — itu broadcasts RSS/Atom feed perubahan untuk mesin pencari moment Anda publish, alih-alih waiting untuk them untuk poll Anda feed. Anda advertise sebuah hub di Anda feed (Google runs one di pubsubhubbub.appspot.com, confirmed live) dan ping ini pada publish; hub fans update out untuk subscribers. Google confirms ini mendukung WebSub untuk Atom/RSS. tetapi ini hanya berfungsi untuk feeds — not arbitrary halaman — dan ini hanya speeds penemuan, tidak pernah guaranteeing sebuah crawl atau indeks. untuk pushing umum halaman, IndexNow (Bing dan others) adalah right alat, not WebSub; Bing's separate news-hanya PubHub stopped taking baru publishers di June 2025.

TL;DR — WebSub (formerly PubSubHubbub; sebuah W3C Recommendation since January 2018, reaffirmed dengan sebuah security-focused update di June 2026) adalah push complement untuk RSS/Atom’s pull. sebuah publisher advertises sebuah hub di -nya feed (<link rel="hub">), subscribers register dengan itu hub, dan pada publish publisher pings hub so ini fans updated feed out untuk setiap subscriber. Search services dapat subscribe, tetapi WebSub itself membuat no promise itu apa pun search mesin akan crawl atau indeks sebuah URL. ini adalah designed sekitar topic resources such sebagai feeds, not sebagai sebuah umum pengindeksan API. untuk participating mesin pencari, IndexNow adalah sebuah separate URL-notification protocol — dan sebagai dari mid-2025, Bing memiliki juga stopped taking baru sign-ups untuk -nya own news-feed submission program (more below), which narrows field further.

Evidence for this claim WebSub is a W3C publish-subscribe protocol in which publishers advertise hubs and subscribers receive content-change notifications. Scope: WebSub protocol; notification is not search indexing. Confidence: high · Verified: W3C Recommendation: WebSub Evidence for this claim WebSub has no standardized guarantee of search-engine crawling or indexing; search push protocols such as IndexNow have separate participants and semantics. Scope: Distinction between feed subscription and IndexNow URL notification. Confidence: high · Verified: IndexNow protocol documentation

WebSub adalah push half dari feeds

di penemuan hub I split penemuan ke pull dan push. RSS/Atom feeds adalah sebuah pull channel: mesin polls Anda feed pada -nya own cadence (Google’s Feedfetcher, misalnya, won’t pull sebagian besar feeds more daripada tentang once sebuah hour). WebSub adalah what turns itu pull ke sebuah push — alih-alih waiting untuk menjadi re-fetched, Anda feed broadcasts perubahan moment Anda publish.

itu’s whole nilai proposition: near-nyata-time notification dari feed updates, alih-alih waiting untuk next scheduled poll.

PubSubHubbub vs WebSub — sama protocol, berbeda name

ini trips people up di documentation searches. protocol adalah originally called PubSubHubbub (abbreviated PSH). ini adalah renamed WebSub di October 2017 dan published sebagai sebuah W3C Recommendation di January 2018. Pre-2018 artikel say “PubSubHubbub” (terjemahan) “PubSubHubbub”; post-2018 artikel say “WebSub.” (terjemahan) “WebSub.” mereka’re yang sama thing, dan Google’s hub masih jawaban untuk both — which John Mueller confirmed di time dari rename (“Yes, finally dug it up! We support both.” (terjemahan) “Yes, finally dug ini up! kami mendukung both.”).

spec itself hasn’t stood masih since 2018, either: W3C republished WebSub sebagai sebuah baru Recommendation pada 2 June 2026, menambahkan cross-situs-scripting (XSS) mitigations untuk Security Considerations bagian. itu’s sebuah security-hardening update, not sebuah mechanics perubahan — actors, penemuan relations, dan subscribe/ publish flow described below adalah yang sama protocol sebagai 2018 versi. jika Anda’re implementing (not hanya consuming) WebSub, read saat ini Recommendation rather daripada sebuah copy dari 2018 text.

How WebSub actually berfungsi

ada three actors:

  • Publisher — Anda situs (specifically, Anda feed).
  • Hub — sebuah relay server itu handles subscriptions dan fan-out.
  • Subscriber — sebuah mesin pencari (atau apa pun client) itu ingin updates.

W3C spec frames flow plainly: “Subscribers discover the hub of a topic URL, and makes a POST to one or more of the advertised hubs in order to receive updates when the topic changes. Publishers notify their hub(s) URLs when their topic(s) change. When the hub identifies a change in the topic, it sends a content distribution notification to all registered subscribers.” (terjemahan) “Subscribers menemukan hub dari sebuah topic URL, dan membuat sebuah POST untuk one atau more dari advertised hubs di order untuk menerima updates when topic perubahan. Publishers notify mereka hub(s) URLs when mereka topic(s) perubahan. When hub identifies sebuah perubahan di topic, ini mengirim sebuah konten distribution notification untuk semua registered subscribers.”

Evidence for this claim WebSub is a W3C publish-subscribe protocol in which publishers advertise hubs and subscribers receive content-change notifications. Scope: WebSub protocol; notification is not search indexing. Confidence: high · Verified: W3C Recommendation: WebSub

dalam praktik, untuk SEO:

  1. Anda feed advertises sebuah hub dengan sebuah <link rel="hub" href="..."> tag (plus sebuah <link rel="self" href="..."> pointing di feed’s own URL).
  2. Subscribers (mesin pencari) register dengan itu hub untuk Anda feed.
  3. When Anda publish, Anda situs notifies hub itu Anda feed changed.
  4. hub fetches Anda updated feed dan fans ini out untuk setiap subscriber via sebuah HTTP POST untuk mereka callback URL.

langkah 2 adalah doing more berfungsi daripada “register” (terjemahan) “register” implies. spec breaks subscription ke separate states: sebuah subscription permintaan, sebuah verification langkah where hub confirms subscriber actually ingin topic (so nobody dapat subscribe sebuah stranger’s callback URL without mereka say-so), sebuah lease subscription holds untuk sebuah bounded time, dan sebuah renewal subscriber memiliki untuk membuat sebelum itu lease expires (there’s no such thing sebagai sebuah permanent subscription) — plus sebuah explicit unsubscribe path. None dari itu adalah something Anda, sebagai publisher, manage; ini adalah hub-dan-subscriber side dari handshake. tetapi ini adalah worth knowing ini exists, because ini adalah why “I pinged the hub” (terjemahan) “I pinged hub” dan “a search engine has an active subscription to my feed” (terjemahan) “sebuah mesin pencari memiliki sebuah active subscription untuk my feed” adalah two berbeda, independently-failable things.

langkah 3 adalah juga less standardized daripada sebagian besar WebSub write-ups let pada: spec itself says “the specific mechanism for the publisher to inform the hub is left unspecified,” (terjemahan) “ spesifik mechanism untuk publisher untuk inform hub adalah left unspecified,” dan hanya notes, sebagai sebuah contoh, itu beberapa public hubs — including Google’s — accept sebuah POST dengan hub.mode=publish dan hub.url atur ke changed feed. itu convention adalah universal enough dalam praktik itu “ping the hub” (terjemahan) “ping hub” dan “POST hub.mode=publish(terjemahan) “POST undefined” adalah effectively synonyms — tetapi ini adalah sebuah widely-adopted convention documented sebagai sebuah contoh, not sebuah hard requirement dari Recommendation.

W3C spec adalah technically broader daripada feeds — ini dapat carry apa pun HTTP resource — tetapi Google’s documentation scopes -nya recommendation untuk Atom/RSS feeds. spec adalah wide; SEO gunakan case adalah narrow.

WebSub dan Google

Google’s mendukung adalah pada record, di bangun Sitemap docs: “If you use Atom or RSS, you can use WebSub to broadcast your changes to search engines, including Google.” (terjemahan) “jika Anda gunakan Atom atau RSS, Anda dapat gunakan WebSub untuk broadcast Anda perubahan untuk mesin pencari, including Google.” ini adalah sebuah single subordinate kalimat — Google doesn’t give WebSub -nya own bagian — tetapi ini adalah confirmed.

Google’s hub adalah di pubsubhubbub.appspot.com, run oleh Google sebagai sebuah service — I confirmed ini adalah masih live dan answering sebagai dari 2026-07-18. itu’s hub Anda advertise di Anda feed dan ping pada publish. Community hubs exist too, tetapi mereka’ve historically telah less durable daripada Google’s — periksa bahwa apa pun ketiga-party hub Anda’re considering adalah actually masih responding sebelum Anda commit Anda feed untuk ini, rather daripada trusting sebuah old blog post itu says ini berfungsi.

crawler behind curtain adalah Feedfetcher (Feedfetcher-Google), which adalah how Google melakukan crawl RSS/Atom feeds untuk Google News dan WebSub. One penting nuance dari Feedfetcher’s own docs: “only podcast feeds get indexed in Google Search” (terjemahan) “hanya podcast feeds get terindeks di Google Search” melalui itu path. So untuk sebuah normal blog feed, WebSub accelerates Google’s awareness dari feed update, tetapi actual pengindeksan dari setiap halaman masih comes dari Googlebot following URLs inside feed melalui normal crawl → indeks pipeline. WebSub adalah sebuah penemuan accelerant, not sebuah pengindeksan shortcut.

WebSub dan Bing

Bing’s documented WebSub-style mendukung memiliki lived di bawah Bing News PubHub — i.e., ini adalah news/feed-scoped, parallel untuk how Google’s Feedfetcher path adalah oriented toward News dan podcasts. tetapi PubHub itself adalah winding down: Microsoft stopped accepting baru publisher applications untuk PubHub di June 2025, saying ini adalah moving Bing News toward automatically identifying dan peringkat eligible news konten alih-alih manual submissions. Publishers sudah approved sebelum lalu stay terindeks; submission portal untuk baru applicants adalah closed. itu’s sebuah program-tingkat retirement dari manual news submission, not sebuah perubahan untuk IndexNow.

untuk pushing umum halaman web untuk Bing, right alat adalah IndexNow, not WebSub atau PubHub. IndexNow adalah Bing’s (dan Yandex’s, Naver’s, Seznam’s, Yep’s) preferred nyata-time push untuk arbitrary URLs, unaffected oleh PubHub perubahan — dan notably, Google melakukan not participate di IndexNow (confirmed pada indexnow.org’s own participant list sebagai dari ini review). So clean split adalah: WebSub untuk feeds (where Google’s hub adalah practical option), IndexNow untuk umum halaman pada mesin itu mendukung ini.

cara implement WebSub

langkah 1 — advertise hub di Anda feed. tambahkan sebuah hub tautan dan sebuah self tautan. paling umum form adalah embedded di feed itself:

<link rel="hub" href="https://pubsubhubbub.appspot.com/" />
<link rel="self" href="https://example.com/feed.xml" />

Google’s hub juga accepts equivalent sebagai respons header HTTP pada feed permintaan alih-alih embedded tags — berguna jika Anda tidak control feed’s XML directly (sebuah ketiga-party feed generator, misalnya):

Link: <https://pubsubhubbub.appspot.com/>; rel="hub"
Link: <https://example.com/feed.xml>; rel="self"

Either form tells sebuah subscriber yang sama thing: which hub untuk register dengan, dan what ini feed’s own canonical URL adalah. itu kedua bagian penting jika Anda ever move feed — poin old URL di baru one dengan sebuah HTTP redirect dan, per spec, sebuah subscriber renewing -nya lease akan ikuti redirect dan pick up baru hub/self pair automatically, alih-alih silently going stale.

langkah 2 — ping hub when Anda publish. POST untuk hub URL dengan publish mode dan Anda feed URL — ini adalah widely-digunakan convention Google’s hub (dan sebagian besar others) expect, described above:

curl -i -d "hub.mode=publish&hub.url=https://example.com/feed.xml" \
  https://pubsubhubbub.appspot.com/

dalam praktik, Anda CMS handles both langkah. WordPress’s PubSubHubbub plugin menggunakan Google’s hub oleh default; Blogger, WordPress.com, dan Medium mendukung WebSub natively. untuk sebuah custom situs, Anda wire publish-ping ke Anda publishing flow.

Verify — tetapi know what Anda’re actually confirming. sebuah 2xx dari hub hanya proves hub accepted Anda notification; ini doesn’t prove apa pun subscriber diterima ini, dan sebagai publisher Anda umumnya dapat’t observe itu last hop directly. What Anda dapat periksa dari Anda own side: publish sebuah test post, confirm hub mengembalikan sebuah 2xx untuk Anda ping, lalu watch untuk Feedfetcher-Google hitting Anda feed di Anda server logs shortly setelah — itu confirms hub re-fetched, which adalah sebagai far sebagai publisher-side verification goes. See Validation Tests lens untuk full staged breakdown (feed markup, ping respons, hub re-fetch) dengan what setiap one melakukan dan doesn’t prove.

What WebSub adalah not

sebuah few myths worth killing:

  • ini melakukan not indeks halaman instantly. ini notifies hub dari sebuah feed update; Google masih melakukan crawl dan indeks setiap URL melalui normal processes.
  • ini melakukan not berfungsi untuk arbitrary halaman. Feeds hanya. untuk non-feed URLs, itu’s IndexNow (Bing) atau pemeriksaan URL (Google).
  • ini melakukan not replace sitemaps. WebSub dan sitemaps adalah complementary — sitemaps cover whole situs; WebSub pushes nyata-time feed perubahan. Google recommends both.
  • Google’s hub adalah not deprecated. pubsubhubbub.appspot.com adalah active dan run oleh Google — confirmed live sebagai dari 2026-07-18. Bing’s PubHub adalah sebuah berbeda story: ini stopped taking baru publisher applications di June 2025 (see WebSub dan Bing above), so don’t treat itu halaman sebagai sebuah onboarding path anymore bahkan though ini masih exists.

Who actually benefits

tinggi-frequency publishers — news situs, podcasts, dan anyone whose freshness window penting — get paling out dari WebSub. untuk sebuah situs itu publishes sebuah few times sebuah month, marginal speed-up di atas normal feed polling dan baik internal linking adalah kecil. ini adalah sebuah sensible default jika Anda platform offers ini; ini adalah rarely worth heavy custom engineering pada -nya own.

untuk broader picture dari how URLs get ditemukan, see penemuan hub; untuk what happens setelah sebuah URL adalah ditemukan, see crawling.

Add an expert note

Pin an expert quote

New person? Create their unclaimed profile at /admin/experts/ → Pin a quote first.