Hi Guys,

Thanks for the help. I will check the URL and get back to you.

Thanks again.


On May 16, 4:28 pm, GeoDev <[EMAIL PROTECTED]> wrote:
> I am trying to create a sample app for Orkut using the Google Gadgets
> Editor. This is the first time I am doing this.
>
> Below is my code but it doesn't work and gives me JS error. Something
> like 'Object Not found'.
>
> ===================================================================
>
> <?xml version="1.0" encoding="UTF-8" ?>
> <Module>
> <ModulePrefs title="Fetch Content as Text">
>  <Require feature="opensocial-0.7"/>
>  <Require feature="setprefs"/>
>  <Require feature="settitle"/>
>  <Require feature="dynamic-height"/>
>  <Require feature="maximize"/>
>  <Require feature="views"/>
> </ModulePrefs>
> <Content type="html">
> <![CDATA[
> <script type="text/javascript">function makeNormalRequest() {
> var params = {};
> params[gadgets.io.RequestParameters.CONTENT_TYPE] =
> gadgets.io.ContentType.TEXT;
> var url = "http://staging.edotsols.com/filmorbit/amey1/
> orkuttestapp.php";    gadgets.io.makeRequest(url, function
> response(obj)
>                                           {   //obj.text contains the
> text of the page that was requested
>                                               var html =  obj.text;
>
> document.getElementById('content_div').innerHTML = html;
>                                           }
> , params);}
>
> makeNormalRequest();
> </script>
> <div id="content_div"></div>]]>
> </Content>
> </Module>
>
> ===================================================================
>
> Someone please tell me what I am doing wrong.
> Any help will be highly appreciated.
> Thanks in advance.
--~--~---------~--~----~------------~-------~--~----~
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