You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shindig.apache.org by Chris Chabot <ch...@google.com> on 2008/12/12 23:21:32 UTC

Fwd: [OpenSocial] Shindig and URLs

Hey Randgalt,

Shindig specific questions have a much higher chance of getting a qualitive
answer when directed at the shindig mailing list.

I'm not sure how the java implementation does this specifically, but my well
educated guess is that the paths from shindig/config/container.js are used,
and the UrlGenerator is only used in the metadata interface (see the
requests using firebug in /gadgets/files/container/sample-metadata.html, the
result there includes an iframe url).

   -- Chris

---------- Forwarded message ----------
From: Randgalt <jo...@jordanzimmerman.com>
Date: Fri, Dec 12, 2008 at 10:18 PM
Subject: [OpenSocial] Shindig and URLs
To: OpenSocial - Implementing OpenSocial Containers <
opensocial-container@googlegroups.com>



I assumed that the UrlGenerator interface was used by Shindig to
generate URLs. But when I put breakpoints at the methods in
DefaultUrlGenerator they never stop. Are the URLs hard-coded? How do I
modify AJAX, etc. URLs so that they work with my app server?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Implementing OpenSocial Containers" group.
To post to this group, send email to opensocial-container@googlegroups.com
To unsubscribe from this group, send email to
opensocial-container+unsubscribe@googlegroups.com<op...@googlegroups.com>
For more options, visit this group at
http://groups.google.com/group/opensocial-container?hl=en
-~----------~----~----~----~------~----~------~--~---

Re: [OpenSocial] Shindig and URLs

Posted by Kevin Brown <et...@google.com>.
On Fri, Dec 12, 2008 at 2:21 PM, Chris Chabot <ch...@google.com> wrote:

> Hey Randgalt,
>
> Shindig specific questions have a much higher chance of getting a qualitive
> answer when directed at the shindig mailing list.
>
> I'm not sure how the java implementation does this specifically, but my
> well
> educated guess is that the paths from shindig/config/container.js are used,
> and the UrlGenerator is only used in the metadata interface (see the
> requests using firebug in /gadgets/files/container/sample-metadata.html,
> the
> result there includes an iframe url).


That's correct. UrlGenerator is currently only used to generate urls server
side. Most urls are actually generated client side, and are modified by
editing the container configuration file.


>
>
>   -- Chris
>
> ---------- Forwarded message ----------
> From: Randgalt <jo...@jordanzimmerman.com>
> Date: Fri, Dec 12, 2008 at 10:18 PM
> Subject: [OpenSocial] Shindig and URLs
> To: OpenSocial - Implementing OpenSocial Containers <
> opensocial-container@googlegroups.com>
>
>
>
> I assumed that the UrlGenerator interface was used by Shindig to
> generate URLs. But when I put breakpoints at the methods in
> DefaultUrlGenerator they never stop. Are the URLs hard-coded? How do I
> modify AJAX, etc. URLs so that they work with my app server?
> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups
> "Implementing OpenSocial Containers" group.
> To post to this group, send email to opensocial-container@googlegroups.com
> To unsubscribe from this group, send email to
> opensocial-container+unsubscribe@googlegroups.com<op...@googlegroups.com>
> <op...@googlegroups.com>
> >
> For more options, visit this group at
> http://groups.google.com/group/opensocial-container?hl=en
> -~----------~----~----~----~------~----~------~--~---
>