I've been playing with the Shindig PHP code and did manage to get a
gadget server running with it, but I cannot get the javascript opensocial
sample containers to work with it.  I've got this directory layout:

/gadgets/src - PHP code
/gadgets/javascript
/gadgets/features
/gadgets/config

I've tried running the samples in the javascript directory, but the first
problem is that rpc.js is referenced in ../../js/ which does not exist
anywhere in the Shindig distribution.  So I tried including it from
/gadgets/features/rpc, but I'm still getting some errors when testing
the samples:

gadgets.util has no properties
[Break on this error] var params = gadgets.util.getUrlParameters();
rpc.js (line 40)

gadgets.rpc has no properties
[Break on this error] gadgets.rpc.register('resize_iframe', this.setHeight);
gadgets.js (line 182)

gadgets.container has no properties
[Break on this error] var gadget0 = gadgets.container.createGadget ({specUrl: specUrl0});
sample1.html (line 19)

Now I could be going about this completely wrong, so any nudge
in the right direction would be greatly appreciated.

Thank you!
- Scott

Reply via email to