6 messages in com.googlegroups.opensocial-orkutRe: [orkut-developer] Re: "Don't be e...
FromSent OnAttachments
RS16 Feb 2008 08:10 
Cory R.17 Feb 2008 08:56 
Arne Roomann-Kurrik19 Feb 2008 10:03 
pradeep24 Feb 2008 05:48 
pradeep24 Feb 2008 06:19 
Arne Roomann-Kurrik24 Feb 2008 23:49 
Subject:Re: [orkut-developer] Re: "Don't be evil" error
From:Arne Roomann-Kurrik (api.@google.com)
Date:02/24/2008 11:49:13 PM
List:com.googlegroups.opensocial-orkut

Hi Pradeep,

_IG_FetchXmlContent is a wrapper function intended to create compatibility with the older google gadgets specification. You should not use this function, but rather use gadgets.io.makeRequest() instead. Here's a link to a page that shows some examples of using this function:

http://code.google.com/p/opensocial-resources/wiki/GadgetsMakeRequest

You probably want to use the DOM content-type.

Hope this helps, ~Arne

On Sun, Feb 24, 2008 at 5:48 AM, pradeep <mite@gmail.com> wrote:

I am trying to load an XML file by using URL. In the callback function, i am not able to access it as an xmlResponse object. It is null. I am using _IG_FetchXmlContent to fetch the XML content.

Example:

_IG_FetchXmlContent(url,method); method(xml){ if(xml==null) alert('Evil'); }

This code alerts with the 'Evil' message.

On Feb 19, 11:03 pm, "Arne Roomann-Kurrik" <api.@google.com> wrote:

Are you sure this is an error and not just visible in the response from the Orkut server? This string is placed in front of JSON encoded data that is returned from the OpenSocial queries you send to Orkut, but stripped out before it reaches your application. It shouldn't be causing an error in the page, though - please let me know if it is causing a JS error.

Thanks, ~Arne

On Feb 17, 2008 8:56 AM, Cory R. <peng@gmail.com> wrote:

There's a toggle button in the firefox preferences marked "Be Evil".

Uncheck that, you should be fine.

I've seen this error too, but I've not found the true answer =)

On Feb 16, 8:11 am, RS <rsde@gmail.com> wrote:

Hi,

I have noticed "throw 1; < don't be evil' error in "Firebug" Console. But my page loaded properly. Any Idea what is causing this error?