13 messages in com.googlegroups.opensocial-api[OpenSocial] Re: opensocial is not de...
FromSent OnAttachments
kohs...@googlemail.com13 May 2008 11:42 
justin kruger13 May 2008 11:56 
Matt15 May 2008 17:33 
justin kruger15 May 2008 19:00 
kohs...@googlemail.com16 May 2008 10:31 
justin kruger16 May 2008 10:38 
kohs...@googlemail.com18 May 2008 05:38 
justin kruger18 May 2008 06:40 
kohs...@googlemail.com18 May 2008 07:32 
justin kruger18 May 2008 07:41 
tilda titust19 May 2008 05:45 
Arne Roomann-Kurrik (Google)20 May 2008 10:37 
kohs...@googlemail.com21 May 2008 04:36 
Subject:[OpenSocial] Re: opensocial is not defined
From:kohs...@googlemail.com (jmor@kohshin.co.uk)
Date:05/21/2008 04:36:54 AM
List:com.googlegroups.opensocial-api

Hi, I am using hi5. I have contacted them and asking how to support this better.

Thanks

On May 20, 6:38 pm, "Arne Roomann-Kurrik (Google)" <api.@google.com> wrote:

@Justin - Sorry about the disrespectful response to your email (I've banned that user and removed his post). This is great advice.

@kohshint...@googlemail.com - Which container are you running your application in? If you're using a tool like the Google Gadget Editor's preview mode, you won't be able to use the OpenSocial features.

~Arne

On May 18, 7:41 am, "justin kruger" <just@gmail.com> wrote:

it sounds like you are hard coding a proxy route, i would just like to put the warning out on doing that. orkut for instance has set up a blazing fast proxy network, that uses sequenced DNS addresses on the proxy so that you are not limited to 2 requests per gadget. orkut, googles design has used up to 4 dns proxy request addresses, this brings your request space to 8 in total, the browser max for FF2 and IE7, FF3, and IE8 will allow up to 24-30 but they may increase the number further before launch. Even with the new browsers, to get max performance you need to do sequenced proxy servers on the backend. if everything goes as planned you should see a 4-6x performance boost with the newest browsers. I hope that is enough for most people to upgrade to FF3, and IE8 asap(there are some GREAT features in development for these browsers).

On Sun, May 18, 2008 at 9:33 AM, kohs@googlemail.com

<jmor@kohshin.co.uk> wrote:

Thanks, I will try. I found a temporary solution to my problem. Hi5 (the container I am working through at the moment), submits a request for the file mentioned in the type="url" and then appends the following: default.aspx?&libs=/gadgets/js/opensocial-0.7.js? v=75eb5ef0c8cac834ca8d76b8ed3f7a7&synd=hi5&debug=0 to the request. Which is no good because my server does not know what to do with the query string that has been appended to load the opensocial library. It took me a while but I found that the location of the correct directory to load the opensocial javascript code was "http:// www.a.hi5modules.com" (for anyone that needs it). This is not a good solution at all, however it is working at the moment. Because it is now loaded into an IFRAME, it means that I can have a "test.aspx" and link directly to that, allowing me some separation of code. I am not a fan of everything being bunched in one file.

On May 18, 2:41 pm, "justin kruger" <just@gmail.com> wrote:

a few times with my gadget, i have gotten to the point where i get no errors, and it just stops working.

i found that there is a race condition on which frameworks load in which order. i am working on a semaphore model to control the start of my app, or certain events based on the frameworks i need to execute my functions.

you might consider looking in to that.

On Sun, May 18, 2008 at 7:39 AM, kohs@googlemail.com

<jmor@kohshin.co.uk> wrote:

I have tried happyhour. However it only works for content of type="html". Oh well, back to the drawing board.

On May 16, 6:38 pm, "justin kruger" <just@gmail.com> wrote:

have you tried happyhour yet?

you might try that, as it is containerless, run locally, or anywhere you like, and its an open source project on google code.

On Fri, May 16, 2008 at 12:32 PM, kohs@googlemail.com

<jmor@kohshin.co.uk> wrote:

Well, I put it in its own window to test it out. It is loading the gadgets library, butnottheopensociallibrary. When I put a watch in firebug for "opensocial" it isnotdefined. Any other ideas?

On May 13, 7:57 pm, "justin kruger" <just@gmail.com> wrote:

the "require feature" feature hasnotworked at restricting my app to sites that support that feature. <Require feature="opensocial-0.7"/>

when you load the <Content type="url" href="???" /> can you see within the iframe? can you see if you are loading the containers JS foropensocial?

you may find that the containers have blocked that feature, without documentation.

let me know what you discover.

On Tue, May 13, 2008 at 1:42 PM, kohs@googlemail.com

<jmor@kohshin.co.uk> wrote:

I am creating anOpenSocialapplication using the <Content type="url" href="???" /> for reasons of separation and code maintenance. However, I get "opensocialisnotdefined" when I try to use the API. I have <Require feature="opensocial-0.7"/> in my prefs for the app.xml. Can anyone help me solve this please?

--

-- Justin Krugerhttp://jDavid.net jDav@gmail.com

"If you are successful, it is because somewhere, sometime, someone gave you a life or an idea that started you in the right direction. Remember also that you are indebted to life until you help some less fortunate person, just as you were helped." --Melinda Gates

--

-- Justin Krugerhttp://jDavid.net jDav@gmail.com

"If you are successful, it is because somewhere, sometime, someone gave you a life or an idea that started you in the right direction. Remember also that you are indebted to life until you help some less fortunate person, just as you were helped." --Melinda Gates

--

-- Justin Krugerhttp://jDavid.net jDav@gmail.com

"If you are successful, it is because somewhere, sometime, someone gave you a life or an idea that started you in the right direction. Remember also that you are indebted to life until you help some less fortunate person, just as you were helped." --Melinda Gates

--

-- Justin Krugerhttp://jDavid.net jDav@gmail.com

"If you are successful, it is because somewhere, sometime, someone gave you a life or an idea that started you in the right direction. Remember also that you are indebted to life until you help some less fortunate person, just as you were helped." --Melinda Gates