O'Reilly logo

Programming Social Applications by Jonathan LeBlanc

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

PubSubHubbub

PubSubHubbub is a protocol that defines a method for updates, comments, or posts to be easily syndicated and shared between a root site and any subscriber sites that syndicate the content of articles, posts, or any other data from the root site.

PubSubHubbub accomplishes this through the use of relaying hubs. A topic site or feed URL declares the hub to be used within its RSS or ATOM feed file as a link element. This hub may be hosted by the feed publisher or on a community platform hub that provides services for anyone. A subscriber would then fetch the publisher feed, read the hub information, and then subscribe to the hub in order to get updates. This will allow the subscriber to subscribe to the particular feed that she is interested in seeing updates for. When the publisher updates or changes the feed content, it would ping the hub stating that there is a change. The hub then fetches the content and multicasts the new or changed content out to all subscribers.

In effect, this protocol enables syndication of activities, publications, articles, or any other piece of social data out of the hosted container. This can effectively widen the reach of the social network to a host of subscribers.

How would this change OpenSocial?

An OpenSocial container, for the most part, can be considered a social silo. A container defines its social information for only its site and, unless other means are built in, it may only allow off-site access to that information through the use of ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required