I don't think this is a regression.  Mike, this worked in the old
shindig.container thought, right?

I don't recall why the default is to use templating.  Maybe that should
change.  Templating by default is only useful if the container is able to
replace the templated values, which in the default configuration is not the
case.


On Fri, Aug 16, 2013 at 2:54 PM, Henry Saputra <henry.sapu...@gmail.com>wrote:

> Hi Mike, so looks like this is regression from 2.5.0 beta6 release?
>
> - Henry
>
>
> On Fri, Aug 16, 2013 at 9:27 AM, Mike Pawlowski <mpaw...@ca.ibm.com>
> wrote:
>
> >
> >
> > Hi,
> >
> > I'm experiencing an issue with the preference templating feature in
> Shindig
> > and have a few questions regarding it.
> >
> > Environment
> >
> > * Shindig 2.5.0 (final) - Java version
> > * Using common container (osapi.container)
> > * Cross-domain deployment
> >    => i.e. OpenSocial gadget containers hosted from one domain and the
> > OpenSocial gadget renderer hosted from another domain
> >    => e.g.
> >          - Examples application (OS gadget container):
> > http://localhost:9081/examples/gadgets
> >          - Shindig application (OS gadget renderer):
> > http://localhost:9082/rpc, http://localhost:9082/gadgets/ifr, etc.
> >    => Got working via minor Shindig modification & CORS Java servlet
> > filters
> >          - See issue for more details:
> > https://issues.apache.org/jira/browse/SHINDIG-1927
> >
> > Problem
> >
> > Several external 3rd-party gadgets fail to render properly using the
> common
> > container (don't think it was an issue for
> > the deprecated shindig.container in the above environment using Shindig
> > 2.5.0 Beta 6)
> > e.g.
> > (1) The Daily Puppy - http://dailypuppy.com/gmod/thedailypuppy.xml
> > (2) NYTimes.com Top Stories -
> > http://widgets.nytimes.com/packages/html/igoogle/topstories.xml
> > (3) YouTube: http://www.gstatic.com/ig/modules/youtube/v3/youtube.xml
> > (4) Hamster:
> >
> >
> http://hosting.gmodules.com/ig/gadgets/file/112581010116074801021/hamster.xml
> >
> > These gadgets are used as part of our sanity test suites.
> >
> > See issue for more details
> > https://issues.apache.org/jira/browse/SHINDIG-1926
> >
> > Solution (Verified)
> >
> > Disable preference templating feature by adding
> > shindig.urlgen.use-templates-default=false to shindig.properties and
> > rebuilding Shindig
> > (Recommended by Ryan). By default the common container uses templates for
> > preferences.
> >
> > Questions
> >
> > (1) Is there any documentation on the preference templating feature
> > describing it's usage & behaviour?
> >       => e.g. Wiki documents, API doc, specification references, etc.
> >
> > (2) Are there any third-party (external) gadgets or sample (internal)
> > gadgets that make use of the "templates" feature?
> >      => i.e. Examples demonstrating how to use this feature
> >
> > (3) Will disabling the shindig.urlgen.use-templates-default option
> > adversely affect the rendering of other gadgets using the common
> container?
> >
> > (4) Should Shindig be built by default with the preference templating
> > feature disabled (i.e. "shindig.urlgen.use-templates-default=false")?
> >      => e.g. Since, it causes regressions in a number of external
> 3rd-party
> > gadgets
> >      => I'm not sure what the commonality is between these gadgets that
> > causes rendering issues
> >
> >
> > Thanks,
> >
> > Mike
> >
>

Reply via email to