Salmon Protocol

With services like PubSubHubbub, a publisher can ping a hub stating that a feed has changed. That hub would then fetch the updated content and aggregate it out to all hub subscribers. The Salmon protocol works on the upstream of this interaction. Let’s say a hub subscriber makes a new comment on an article that was published. With the Salmon protocol in place, that comment can be pushed back up to the publisher site. The publisher then adds the comment to its version of the article. Once the article is updated, the publisher pings the hub, which then fetches the new comment and pushes the update to all subscriber sites.

The main benefit here is that there is no longer only a one-way relationship between a publisher and subscribers. You build, in effect, a link between all publishers and all subscribers, unifying the social experience among many different sites.

How would this change OpenSocial?

Much like with PubSubHubbub, the real benefits for OpenSocial to integrate the Salmon protocol come from expanding the social network far beyond the bounds of the root container. Not only can you push out new content and updates from the social container, but you can now also accept new updates from some third-party source. Basically, you would be able to create a social networking ecosystem composed of the root social network and numerous third-party sites and services.

To integrate such a service, OpenSocial would need to define the ability to push content and activities out to subscribers, such as through a protocol like PubSubHubbub. It would then need to be able to receive updates to that content from subscribers and verify the data. Finally, the updates would need to be pushed out to any feed subscribers.

The real challenge in this whole scenario is security and trust relationships. At some point in this process—either when subscribing to a hub or when validating updates from subscribers—the host container must ensure that the information coming back is from a trusted source, is not spam, and is a valid update. This may require the integration of permission levels for subscribers and proper authentication to work securely.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.119.162.49