Hey Cassie (I believe your the main author of the social part of shindig
at the moment?),

I'm getting started on adding some social to the PHP part too, and while
looking at the current work and examples i see that it currently uses
the following url:
http://<host>/gadgets/socialdata

While you can keep your folders nicely separated in the Java version,
this is more difficult to do in the PHP version (since this URL would
imply the social data part should atleast partially reside in the
gadgets  folder), which creates a dependency and mixing of sources i
would rather prevent.

Now i could probably bypass this by some .htaccess magic and redirect
the requests based on the URL to the right PHP source folder, but that
would make it less readable and less intuitive for anyone looking at the
PHP source (you would expect /gadgets/* to go to
<shindig_root>/php/gadgets/index.php and forinstance /social/* to go to
<shindig_root>/social/index.php).

Now it's my intention to keep the PHP version identical to the Java
version in every way possible as far as the examples and basic file
usage goes (features, synd config, urls etc), so this would present a
bit of a dilemma for me, do i create some (relatively ugly) hacks to
make it work with the /gadgets/socialdata or do i break away from the
standard url config and hope that people read the documentation well
enough to see what they should change to make the PHP version work?

So my hope is we can bypass this by putting the GadgetDataServlet under
a different url (/social/data? or /socialdata/<something> ? or even
just /social[data] ?), would help me a lot :)

    -- Chris

Reply via email to