Hello,
Can anyone clarify this issue. If you run the javascript samples on the
shindig server, they are giving errors, which I am also receiving on my
local server. If you click on any of the sample files say:
http://svn.apache.org/repos/asf/incubator/shindig/trunk/javascript/container/sample1.html,
it gives javascript error and does not renders the html + javascript. These
samples were running well in the previous patches of shindig, but not now.
Does anyone knows why is it so?
Regards,
Lini Haridas
Software Engineer
[EMAIL PROTECTED]
Clarion Technologies
SEI CMMI Level 3 Company
4th Floor, Great Eastern Plaza,
Airport Road,
Pune- 411 006,
Maharashtra, India.
Phone: +91 20 66020289
Mobile: +91 9823435917
www.clariontechnologies.co.in
----- Original Message -----
From: "Chris Chabot" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, April 28, 2008 2:56 PM
Subject: Re: shindig php
Nope, but i've received a patch for it so it'll be available soon.
It should be mentioned however that often the container will generate the
token, en shindig consumes it (since the container knows who the owner /
viewer / etc is, while the gadget server just knows how to render gadgets
really :))
So the idea is that you either use the code from shindig and add it to
your container site to generate a token that works out of the box with
shindig (we're trying to make sure the token crypto is compatible between
the java & php versions so you could use either), or create your own and
make a new MyTokenDecoder.php for the gadget server that knows how to
consume the token.
-- Chris
On Apr 28, 2008, at 7:00 AM, Lini H - Clarion, India wrote:
Hi Chris,
Is the current PHP shindig gadget server, generating this security
token? The project I downloaded from http://chabotc.com/ shindig.tar.gz
did not had any such function to generate the security token before
generating the html.
Regards,
Lini Haridas
Software Engineer
[EMAIL PROTECTED]
Clarion Technologies
SEI CMMI Level 3 Company
4th Floor, Great Eastern Plaza,
Airport Road,
Pune- 411 006,
Maharashtra, India.
Phone: +91 20 66020289
Mobile: +91 9823435917
www.clariontechnologies.co.in
----- Original Message ----- From: "Chris Chabot" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 25, 2008 4:18 PM
Subject: Re: shindig php
The security token is generated by the gadget container (meaning the
website site), and it contains the owner, viewer, app id, module id,
syndicator (aka container name, this relates to the back end config to
use thats passed onto gadgets), the application url and i believe the
domain key.
In a real life situation the container would generated an encrypted
security token which contains this information, which is then
communicated to the server on things like social data requests, which
tells the social data backend who the viewer/owner/etc is, and the
crypto makes sure this is indeed valid information.
In the example i linked its a non encrypted security token, which is
great for debugging and testing but not so useful for real life
situations ofc :)
On Apr 25, 2008, at 12:28 PM, Lini H - Clarion, India wrote:
Hello Chris,
Can you tell me about this security token that you have used.
Regards,
Lini Haridas
Software Engineer
[EMAIL PROTECTED]
Clarion Technologies
SEI CMMI Level 3 Company
4th Floor, Great Eastern Plaza,
Airport Road,
Pune- 411 006,
Maharashtra, India.
Phone: +91 20 66020289
Mobile: +91 9823435917
www.clariontechnologies.co.in
----- Original Message -----
From: "Chris Chabot" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Friday, April 25, 2008 3:45 PM
Subject: Re: shindig php
Lini,
That gadget renders fine, as long as the security token is included.
If you had run it from sample container, or put the url into one of
the example files, it would've had this security token, which
contains
the owner & viewer info that the gadget requires :)
With security token you get this:
http://shindig.chabotc.com/gadgets/ifr?url=http://mrallen.com/scramble/gadget.xml&st=john.doe:john.doe:appid:synd:url:0
About the sample containers, i didn't write those their a separate
project pretty much that are used by both the java and php shindig
servers, so i'll leave it to others to go into detail about that.
-- Chris
On Apr 25, 2008, at 10:54 AM, Lini H - Clarion, India wrote:
Hi Chris,
Is this shindig PHP server working for all gadgets. I checked for
this gadget: http://mrallen.com/scramble/gadget.xml. This works fine
with the gmodules site as the gadget server. But when using this xml
with shindig, it does not gives any output.
Also I would like to know /src/socialdata/samplecontainer folder
files. What functions are the ones that have been implemented as an
example and whats their purpose. Sorry, if i am asking for any basic
information. But to implement it, I would like to know its function.
Regards,
Lini Haridas
Software Engineer
[EMAIL PROTECTED]
Clarion Technologies
SEI CMMI Level 3 Company
4th Floor, Great Eastern Plaza,
Airport Road,
Pune- 411 006,
Maharashtra, India.
Phone: +91 20 66020289
Mobile: +91 9823435917
www.clariontechnologies.co.in
----- Original Message -----
From: "Chris Chabot" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Thursday, April 24, 2008 10:08 PM
Subject: Re: shindig php
Hi Lini,
The code in the SVN is about a month out of sync with current
developments, however my commit access just got sorted today so
that
means the new code will be in by tomorrow probably!
In the meantime you could download http://chabotc.com/
shindig.tar.gz
to tie you over, it has the working social data interface.
Now if you look at that code you will see a number of Base*.php
files
in src/social/samplecontainer, these are basic examples of how you
would implement your own 'data interfaces'. If you need some help
with
getting started with that, feel free to shoot me a mail.
-- Chris
On Apr 24, 2008, at 2:01 PM, Lini H - Clarion, India wrote:
Please somebody reply to this. I m in a real fix.
thanks in advance
----- Original Message ----- From: "Lini H - Clarion, India"
<[EMAIL PROTECTED]
To: <[email protected]>
Sent: Thursday, April 24, 2008 4:24 PM
Subject: shindig php
Hi All
I have a social site on which i need to integrate a gadget server
for hosting the opensocial apps.
My site is in PHP and I want to get some guidelines on how to
start
with the shindig PHP server with my site inorder to access my
database.
Regards
Lini Haridas
Software Engineer
[EMAIL PROTECTED]
Clarion Technologies
SEI CMMI Level 3 Company
4th Floor, Great Eastern Plaza,
Airport Road,
Pune- 411 006,
Maharashtra, India.
Phone: +91 20 66020289
Mobile: +91 9823435917
www.clariontechnologies.co.in
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.