i m giving u total code of our xml file.. just check it out whats
wrong is this..
Code starts:--
<?xml version="1.0" encoding="UTF-8"?>
<Module>
<ModulePrefs title="Bollywood FM"
description="The best Bollywood FM"
author="Umundo Inc. Team"
author_email="[EMAIL PROTECTED]"
screenshot="http://www.umundo.com/gadget/root/
bollywood-fm/images/audio_icon.jpg"
thumbnail="http://www.umundo.com/gadget/root/
bollywood-fm/images/audio_icon.jpg"
author_location="Sacramento, CA, US"
title_url="http://www.umundo.com"
directory_title="Title"
render_inline="never"
scrolling="true">
<Require feature="analytics"/>
<Require feature="views"/>
<Require feature="dynamic-height"/>
<Require feature="opensocial-0.7"/>
</ModulePrefs>
<Content type="html">
<![CDATA[
<script language="javascript">
var mainURL = "http://www.umundo.com/gadget/v/
bollywood-fm/{network}/{surface}/main.js";
function main()
{
var network = getNetworkName();
var surface = getSurfaceName();
var url = mainURL.replace('{network}',
network).replace('{surface}', surface);
document.write('<'+'script src="'+url+'">'+'<'+'/
script'+'>');
}
function getNetworkName()
{
switch(opensocial.getEnvironment().getDomain())
{
case "myspace.com":
return "myspace";
case "orkut.com":
return "orcut";
}
}
function getSurfaceName()
{
var view = gadgets.views.getCurrentView();
switch(view)
{
case gadgets.views.ViewType.DASHBOARD:
return "profile";
case gadgets.views.ViewType.FULL_PAGE:
return "canvas";
default:
return view.getName();
}
}
//gadgets.util.registerOnLoadHandler(main);
main();
</script>
]]>
</Content>
</Module>
On May 20, 10:18 am, swapnil <[EMAIL PROTECTED]> wrote:
> hi julian,
> Thanks for reply.. But i use same file from our testing server then it
> works fine.. but when i use same file from our live server then its
> giving error.. so i dont think that there is something wrong in xml
> file..
>
> On May 19, 6:10 pm, "Julian Andrade" <[EMAIL PROTECTED]> wrote:
>
> > This happens when there some error in come xml code. Try to review it to
> > find some error.
>
> > 2008/5/19 swapnil <[EMAIL PROTECTED]>:
>
> > > HI friends,
>
> > > I am trying to add my application in orkut sandbox then its giving an
> > > error
>
> > > "There was an error getting information about this application"
>
> > > goto :http://sandbox.orkut.com/MyApps.aspx
>
> > > and try :http://www.umundo.com/gadget/root/bollywood-fm/gadget.xml
>
> > > or try : http://www.umundo.com/gadget/root/bollywoodtv/gadget.xml
>
> > > and plz give me any solution for this..
>
> > > thanks
>
> > > swapnil
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Orkut Developer Forum" group.
To post to this group, send email to [email protected]
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
-~----------~----~----~----~------~----~------~--~---