OpenSocial Container plugin

Plugin details

This plugin is designed to pull together all of the neccessary components involved in turning your application in to an OpenSocial container capable of hosting OpenSocial applications. Beyond the raw functionality this plugin is being built to make the practice of presenting a secure and stable container simple and straightforward by adopting best practices as they are defined.

Websitehttp://elctech.com/2007/11/27/opensocial-container-plugin-0-0-1 Repositoryhttp://opensocial.rubyforge.org/svn/plugin/trunk/ Tags OpenSocial, Google LicenseMIT

Documentation

Install the plugin:
ruby script/plugin install http://opensocial.rubyforge.org/svn/plugin/trunk/

In the config/routes.rb file:

ActionController::Routing::Routes.draw do |map|
  ...

  map.opensocial_container :contain
end



To add the "feeds" resources:

ruby script/generator opensocial



To bootstrap the static assets you need to run the generator:

ruby script/generator opensocial_assets



And finally to embed the container in a ERb template use the helper:

<%= opensocial_container('http://www.last.fm/opensocial/myfavouritemusic.xml') %>

Further Documentation

There is currently no advanced documentation for this plugin.

New documentation

Edit plugin | Back in time (1 older version) | Last edited by: scott, 5 months ago