Hi,

I'm trying to get Shindig working on my SNS site with the latest PHP
version (which Chris uploaded on his site).
The first thing I'm trying to do is to learn how to import this
servlet style codes into our Rails like MVC framework.
Since there's no class reference or documentations, I try to read
source codes and understand what it's doing.
But how shinidig juggles configurations and classes looks really
complex without any class references.


- /shindig/php/config.php
- /config/syndicator.js
- /features/*

Above is a list of files I think I should deal with.


In /shindig/php/config.php, I set

'web_prefix' => '/shindig'

since I want server root to be http://localhost/shindig/gadgets.

When I try to access
http://localhost/shindig/gadgets/files/samplecontainer/samplecontainer.html

I see 404 error which is generated when gadget tried to retrieve
socialdata from http://localhost/socialdata while expected socialdata
url should be http://localhost/shindig/socialdata

I found a line of code in HTML

gadgets.config.init({"core.io":{"proxyUrl":"proxy?url=%url%","jsonProxyUrl":"proxy?output=js"},"opensocial-0.7":{"path":"\/socialdata","domain":"shindig","enableCaja":true,"supportedFields":{"person":["id","name","thumbnailUrl","profileUrl"],"activity":["id","title"]}},"rpc":{"parentRelayUrl":"\/gadgets\/files\/container\/rpc_relay.html","useLegacyProtocol":false}});

which seems derived from /shindig/config/syndicator.js
but changing syndicator.js never seems to be reflected to the HTML code.

Where do proxyUrl and jsonProxyUrl come from? How can I change them?
And what kind of configurations I should take care of when i try to
get shindig working?

Reply via email to