Embedding Zoho Creator apps as OpenSocial Gadgets in Orkut !
I am trying to integrate a Zoho App as an OpenSocial Gadget in Orkut ... and my approach is as follows :
1. Get the source code of the page that displays the ZohoApp form
2. Place the code on my own webserver and test whether the App can be accessed [ Record get added, etc ]
3. Transfer this code into an XML container, with or without using Googles, Open Social Development kit
4. Same the XML file into my webserver
5. Define the Orkut gadget in the Orkut sandbox and point to the XML file on my webserver as the source.
..........................................................................................................
First Question : Is this the right approach ? Or am i missing something very obvious ? Am i barking up the wrong tree ?
Assuming I am right, I have passed step 1
I do have the code [ picked up through "View Page Source" in Firefox ] for one of my simple applications.
The first change is <base href="http://creator.zoho.com" /> to make sure that the logo's etc show correctly since all the SRC references are relative !
So the form shows up correctly and data can be filled in, But when I am pressing the SUBMIT button ... there seems to be some more relative reference ! for example ...
formURL="/showEmbeddedForm.do"
method="post" action="/addRecordValidate.do"
apparently the <base href="http://creator.zoho.com" /> is not working since the form
hangs indefinitely when i press the SUBMIT button.
so I tried to prefix formURL and the action with "http://creator.zoho.com/prithwis/basic-order-collection-application/form-embed/Order_form/"
assuming that the program would lie in this directory ...
But I see that this is not the case because both the userID and the form name are being
passed as parameters
While I can persist with this reverse engineering, I would be grateful for some help from the
Creator development team ... who can help me with the full path name for the program that actually performs the action.
Why am I doing all this ? To understand this please look at http://thoughtshoppe.blogspot.com/2009/06/orkut-as-platform-for-egovernance.html
My aim is to present Orkut ( or any other Open Social platform ) as an Enterprise Applications Platform and
while this can be done by embedding
<iframe height='500px' width='100%' name='zoho-Order_form' frameborder='0' scrolling='auto' src='http://creator.zoho.com/prithwis/basic-order-collection-application/form-embed/Order_form/'></iframe>
inside an HTML box, it would be nicer if an Enterprise Application can be added as an OpenSocial Gadget !
Would appreciate some thoughts, ideas and guidance in this regard.
In fact if Zoho can give us an OpenSocial application with one click that will be even better.
Prithwis