Jump to content

WebSub

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mahemoff (talk | contribs) at 00:25, 19 August 2009 (Created page with 'PubSubHubbub is an open protocol for distributed Publish/subscribe communication on the internet. The protocol extends the [[Atom (standard)|A...'). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

PubSubHubbub is an open protocol for distributed Publish/subscribe communication on the internet. The protocol extends the Atom and RSS protocols for data feeds. The main purpose is to provide near-instant notifications of change updates, which would improve on the typical situation where a client periodically polls the feed server at some arbitrary interval.

Protocol

Under PubSubHubbub, there is an ecosystem of publishers, subscribers, and hubs [1].

A subscriber initially pulls the Atom or RSS feed in the conventional way, i.e. by requesting it from the feed server. The subscriber then inspects the feed, and if it references a hub, the subscriber can subscribe to the feed URL topic on that hub. The subscriber runs a server so that hubs can directly notify it when any of its subscribed topics have updated.

Publishers expose their content as Atom or RSS feeds, but with the inclusion of hub references. They post notifications to those referenced hubs whenever they publish something. Thus, when a publication event occurs, the publisher calls its hubs and the hubs call their subscribers.

References