Hi Jason .thanks for your early reply.
My application was working till Friday but from last Saturday it is showing
some js error and error is like:

"Microsoft JScript runtime error:'a.jstiming.load' is nulloe not an object"

Please tell what i should do now.?

On Fri, Sep 26, 2008 at 2:52 AM, Jason <[EMAIL PROTECTED]> wrote:

>
> Oops, I missed too big points above:
>
> 1. makeRequest lives in the gadgets.io library. So use
> gadgets.io.makeRequest instead of opensocial.makeRequest which is
> undefined.
> 2. You don't need head or body elements. Remove the title element also
> since the gadget's title is set using the title attribute of
> ModulePrefs as you have already done.
>
> - Jason
>
> On Sep 24, 3:51 am, "manish tewari" <[EMAIL PROTECTED]>
> wrote:
> > Hi Jason..
> > Thanks a lot  for your reply.It is very helpful for me.But still I am not
> > able to run the thing.Actually I am trying to get the content from my
> server
> > to the my orkut application page.Here is the code that I made for this
> but
> > not working .Please help me .
> > I am preparing a music web site for that i want to create a orkut
> > application.If I will be able to get the content of any page from my
> server
> > then I think i will be able to complete my application .
> > Thanking you in advance ....
> >
> > code-------------------------------------
> >
> > <?xml version="1.0" encoding="UTF-8" ?>
> > <Module>
> >   <ModulePrefs title="iSingTestMan2">
> >     <Require feature="opensocial-0.7" />
> >   </ModulePrefs>
> >   <Content type="html">
> >       <![CDATA[
> > <script src="
> http://opensocial-resources.googlecode.com/svn/samples/tutorial/tags/...
> > "></script>
> > <head>
> >         <title>Test here</title>
> >         <script language="javascript">
> > gadgets.util.registerOnLoadHandler(request);
> >
> > function request() {
> >   var params = {};
> >   params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> >       gadgets.io.ContentType.TEXT;
> > var url="http://ising.in/oapp/data.txt";;
> >    opensocial.makeRequest(url, response, params);
> >
> > }
> >
> > function response(obj) {
> >   output(obj.text);
> >
> > }
> >
> >         </script>
> >     </head>
> >     <body>
> >         <a href="javascript:void(0)" onClick="request()"> Click here to
> get
> > data from data.txt </a>
> >         <div id="targetDiv"> message from data.txt will be displaye here
> > </div>
> >     </body>
> > ]]>
> >   </Content>
> > </Module>
> >
> > -----------------------------------------------------------------
> >
> > On Wed, Sep 24, 2008 at 5:29 AM, Jason <[EMAIL PROTECTED]> wrote:
> >
> > > OpenSocial applications can use the gadgets.io.makeRequest method to
> > > send HTTP requests to a given URL and retrieve JSON, XML, or plain
> > > text in response. This enables you to build a simple script in PHP,
> > > Java, or any server-side language to you liking to retrieve data from
> > > your database and output this data in just about any format you like.
> > > makeRequest can then retrieve the data by hitting this script.
> >
> > > The following post goes into a bit more detail and includes a couple
> > > of links to help you get started. The option you're looking for is #2:
> >
> > >http://groups.google.com/group/opensocial-orkut/browse_thread/thread/.
> ..
> >
> > > For security, you can specify that orkut is required to digitally sign
> > > requests before sending them. This way, you can validate the signature
> > > on your server using orkut's public key to confirm that the request is
> > > genuine. Here are a couple of short articles on signed requests:
> >
> > >http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest
> > > (see "Signed Requests" section at the bottom)
> >
> > >http://code.google.com/p/opensocial-resources/wiki/OrkutValidatingSig.
> ..
> >
> > > Let me know if you have any more questions on this particular topic.
> >
> > > - Jason
> >
> > > On Sep 22, 11:05 pm, "manish." <[EMAIL PROTECTED]> wrote:
> > > > Hi all .
> > > > I am working for an application on orkut .And i am using mysql
> > > > database.But I have no idea how to connect my database with my
> > > > application and how much it is safe for me.Please help me .
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Orkut Developer Forum" group.
To post to this group, send email to opensocial-orkut@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/opensocial-orkut?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to