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" <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
>
>
>
> <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
>
> >> <[EMAIL PROTECTED]> 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" <[EMAIL PROTECTED]> 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, [EMAIL PROTECTED]
>
> >> >> <[EMAIL PROTECTED]> 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
> >> >> [EMAIL PROTECTED]
>
> >> >> "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
> >> [EMAIL PROTECTED]
>
> >> "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
> [EMAIL PROTECTED]
>
> "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
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenSocial Application Development" group.
To post to this group, send email to opensocial-api@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-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to