Hi Tom,
Unfortunately, you're not able to pull out library URLs from Shindig
at the moment. I believe the lack of motivation for this feature is
the upcoming REST APIs which will allow equivalent functionality on
your own server. These APIs aren't currently available, but will be as
soon as the 0.8 version rolls out to the various sandboxes (orkut,
iGoogle, etc.).
Best,
Dan
On Jun 29, 11:51 pm, Tom Davies <tgda...@gmail.com> wrote:
Hi,
I have a working *url* gadget in the iGoogle sandbox, but I have hard-
coded the prefix needed for each library URL.
Thus I can't use the same gadget in shindig.
Is there a standard way of determining what prefix each lib script tag
needs?
That is, my code looks like:
String libParameter = request.getParameter("libs");
String[] libs = libParameter.split(",");
for (String lib : libs) {
libsHtml.append("<script
src='http://www.google.com/ig/f/").append(lib).append("'></script>\n");
}
How can I determine 'http://www.google.com/ig/f/'at runtime instead
of hard coding it?
Thanks,
Tom