Example of how to extend Shindig
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
src
.gitignore
README
pom.xml

README

This project shows how you can extend the Shindig REST API by allowing clients to create new relationships. This is explained in this blog post: http://www.bbc.co.uk/blogs/webdeveloper/2009/11/extending-opensocial-and-shind.shtml.

The code borrows librally from the Shindig codebase: http://svn.apache.org/repos/asf/incubator/shindig/trunk/ along with tutorials such as http://cwiki.apache.org/SHINDIG/shindig-spring-example.html

Steps to install and run bbc-shindig-example
 1. Open a command-prompt, and 'cd' to where bbc-shindig-example code is (e.g. cd ~/src/bbc-shindig-example)
 2. mvn install
 3. mvn jetty:run
 4. Open a browser and try the following URLs:
    - http://localhost:8080/social/rest/people/canonical/@self?format=xml
    - http://localhost:8080/social/rest/people/canonical/@friends?format=xml
    - POST {id: 'canonical'} http://localhost:8080/social/rest/people/john.doe/@friends