Hi Erel,

The easiest way to get up and running (the README is slightly out of data / missing details, should update it):

(assuming /var/www/html is where your document root's live)

# cd /var/www/html
# mkdir shindig
# cd shindig
# svn co http://svn.apache.org/repos/asf/incubator/shindig/trunk/ .

Point your apache to the php dir with a virtual host like:

<VirtualHost your_ip:your_port>
        ServerName your_host
        DocumentRoot /var/www/html/shindig/php
        ... other normal settings in vhosts...
</VirtualHost>

Restart apache, and point your browser to http://<yourhost>/gadgets/ ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml

If you have all the requirements (php 5.2.x with the json, mcrypt and curl extentions enabled) you should see something like:
http://shindig.chabotc.com/gadgets/ifr?url=http://www.labpixies.com/campaigns/todo/todo.xml

Note: shindig php requires the <trunk>/javascript ,/config and / features directories.. thats why you need a full checkout of shindig. If you want to put those somewhere else on your server, edit config.php to reflect their new locations.

Hope it helps!

        -- Chris

On May 20, 2008, at 1:33 PM, Erel Segal wrote:

Hi,

I would like to support OpenSocial on my site, so I downloaded Shindig. My site is mostly in PHP so I went to the readme file titled "Installing and
Running The PHP Shindig Gadget Server"  (
http://svn.apache.org/repos/asf/incubator/shindig/trunk/php/README). It says "Copy the files to your web root" - what files exactly should I copy? I tried copying the entire directory tree under "php" but it didn't work - it
does not contain a file named "ifr".

Another question: Is it possible to use only the Javascript files that are
bundled with Shindig, without building Shindig?

Reply via email to