Hey,

OpenSocial seems to define the behavior for type="url" in the Content
section as:
"When a gadget has a type="url" content type, the href= attribute
provides a URL, and any other content in the gadget spec is ignored.
With a url content type, the assumption is that all information
relating to the gadget's user interface and programmatic logic resides
in the file referenced by the URL." [1]

As a result, Java Apache Shindig surfaces a 302 redirect to the
browser with "http://example.com/os"; in the Location header for a
gadget with:
<Content type="url" view="default" href="http://example.com/os"/>
                        ^^^
Does Java Apache Shindig offer a clean way to disallow type="url" in
the Content section?


[1] - http://code.google.com/apis/gadgets/docs/fundamentals.html#URL

Thanks,
Chirag

Reply via email to