Differentiating RSS Cloud
A similar protocol to PubsubHubbub (see the preceding section) is a protocol native to RSS, called RSS Cloud. RSS Cloud works very similarly to PubsubHubbub, but rather than contain the content of the update in the request back to the subscriber, RSS Cloud just sends a notification to the subscriber, letting the end subscriber know that an update occurred. The subscriber would then have to make a request to the publisher to get the updated content. (See Figure 11-2.)
Figure 11-2: In RSS Cloud, the subscriber must request the new content again after being notified of the changes.

In comparison to Facebook's real-time APIs, RSS Cloud is the most closely related in that Facebook does not include the content of the update in its response to the subscriber. Facebook only notifies the subscriber, and the subscriber has to then request the update from Facebook.
Fundamentally, Facebook's real-time methods are also different in that Facebook does not use RSS or Atom (a protocol similar to RSS) to send updates. Facebook is most closely related to a Web hooks–type model and relies on the developer knowing the URLs to subscribe to ahead of time, rather than being included in a feed. All feed data is returned in JSON format, rather than Atom or RSS, like PubsubHubbub and RSS Cloud provide.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access