You can omit the Require feature="osml" from your gadget.  You will also
need to add a proper script tag around your template.  Look at the examples
here:
http://wiki.opensocial.org/index.php?title=OpenSocial_Templates




On Mon, Aug 3, 2009 at 11:34 PM, Chirag Shah <[email protected]> wrote:

> I've been playing with the OSML feature in apache java-shindig[1] and
> am having some trouble getting it working. I looked at the default
> container.js and it looks like the OSML library resource is declared.
>
> Here's the error thrown by the server:
> INFO: Failed to render gadget
>
> http://hosting.gmodules.com/ig/gadgets/file/110484540668107916016/osml_test.xml
> :
> Unsupported feature: [osml]
>
> Here's the gadget xml:
> <?xml version="1.0" encoding="UTF-8"?>
>  <Module>
>  <ModulePrefs title="osml">
>    <Require feature="opensocial-templates"></Require>
>    <Require feature="osml"></Require>
>  </ModulePrefs>
>  <Content type="html"><![CDATA[
>    <os:Name person="${Viewer}"/>
>  ]]></Content>
>  </Module>
>
> [1] - I'm using the latest code in subversion (svn revision 800682)
>

Reply via email to