You don't need to put <html><head>...</head><body>...</body></html> in
your Content element since the gadget renderer does that for you. In
general, you should avoid using meta elements since they won't work
reliably (if at all) in this context. In your case, I'd recommend a
JavaScript redirect:

...
<Content type="html" view="canvas">
  <script type="application/javascript">
    function redirect() {
      window.location = 'http://asdf.com';
    }
    gadgets.util.registerOnLoadHandler(redirect);
  </script>
</Content>
...

- Jason

On Jun 28, 5:40 am, "varun.j" <[EMAIL PROTECTED]> wrote:
> Hi
>
> anyone tell me wat is worng ?
>
> <Module>
> <ModulePrefs title="..........">
> <Require feature="opensocial-0.7"/>
> <Require feature="dynamic-height"/>
> <Require feature="views" />
> </ModulePrefs>
> <Content type="html" view="profile">
> <html>
> <h1> profile</h1>
> </html>
> </Content>
> <Content type="html" view="canvas">
> <html><head>
> <meta http-equiv="Refresh" content="0; url=http://asdf.com";>
> </head><body>
> <p>Loading...<a href="http://asdf.com";>Click here</a>!</p>
> </body></html>
> </Content>
> </Module>
>
> how to use a Reditect code in canvas here ?
--~--~---------~--~----~------------~-------~--~----~
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