Hi,

1) This appears to be the default warning message when using GData JS API on
unsupported browser.  You can suppress this warning by setting your own
warning method, by doing the following:

google.gdata.client.init(function (message) {// your code});

2) You are correct that AuthSub does not work within a Gadget.  There might
be trick to get around that, perhaps the folks over at the Gadget forum
would able to help you.

http://groups.google.com/group/Google-Gadgets-API

3) AuthSub inside an Gadget is probably the only blocking issue to
accomplish what you are trying to do.

Hope it helps,
Austin

On Jan 3, 2008 3:02 PM, sdesign <[EMAIL PROTECTED]> wrote:

>
> Hi,
> I wrote a simple HTML page that tests writing events to my calendar.
> Now I am trying to wrap the application with a gadget. Its causing me
> problems ....
>
> [1] I get some error saying something like -----> Unsupported client
> environment, Continue at your own risk <-----. The error happens
> during my call to create a new calender service. As below the code to
> reproduce the problem is very simple.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <Module>
> <ModulePrefs title="hello world example" />
> <Content type="html"><![CDATA[
>
> <script type="text/javascript" src="http://www.google.com/jsapi?
> key=AAAAAAAAA"></script>
> <script type="text/javascript">
> google.load('gdata', '1.x');
> var EVENT_FEED_URL = 'http://www.google.com/calendar/feeds/default/
> private/full';
> var calendarService;
>
> function init() {
>  calendarService = new google.gdata.calendar.CalendarService('sample-
> calendar-add');
> }
>
> google.setOnLoadCallback(init);
>
> ]]></Content>
> </Module>
>
>
> Could the above problem be because of some URL mismatch with my
> registered google data key ? Do I need to register the key with a
> specific URL. Currently, the key is registered with the URL of the
> webserver where my test gadget resides.
>
> [2] I am also unsure about how I can handle authentication once I go
> past the above problem. I read somewhere that AuthSub object is not
> supported from Gadget and that's what I am using for my standalone
> application.
>
> [3] Any other potential problems in trying to wrap the sample with a
> gadget ? This shouldn't be that tough !!!!
>
> Thanks.
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Calendar Data API" 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/google-calendar-help-dataapi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to