On Thu, Jun 26, 2008 at 2:42 AM, Eiji Kitamura <[EMAIL PROTECTED]> wrote:
> Thanks, Kevin > > >> 1. Why does "libs" needed to be specified in gadget url? > >> gadget renderer is shindig itself if type="html", while "focedLibs" is > >> part of shindig configuration (not part of config SNS side). > >> Which means that gadget renderer (shindig) should be able to include > >> required libs without specifying them in gadget url. > > > > You'd want to specify libs if you were rendering multiple gadgets. > > Otherwise, if the gadgets required different features, you'd wind up > > fetching the same code multiple times. > > I meant, what if SNS does not provide "libs" param in gadget url inside > iframe. > Shindig still should be able to detect required "libs" since they are > in config.php and can ommit unnecessary features gadget XML requires > when rendering. If you don't provide it, shindig will automatically figure out what to use -- you'll just get fewer cache hits and overall worse performance. > > > Sorry if I'm misunderstanding you (in terms of English) . > > > > Yes, though $libs should be filtered unless you want to be subject to an > XSS attack :). > > Oops :P >

