1 message in com.googlegroups.google-gadgets-apiUsing "Google Gadgets for you Page" d...
FromSent OnAttachments
llll...@gmail.com22 Feb 2007 19:05 
Subject:Using "Google Gadgets for you Page" dynamically
From:llll...@gmail.com (llll@gmail.com)
Date:02/22/2007 07:05:20 PM
List:com.googlegroups.google-gadgets-api

Hello,

I'm trying to add some functionality to my gadget but I'm having some trouble getting it to work. So what I want to do is have a button on my google gadget that when pressed opens a new page with just that gadget. This is for people using my gadget on their google homepage but want to to see it full screen (it display images so bigger is better).

What I've done is get all the settings out, put them in a format identical to what "Google Gadgets for your Page" does, then I call a PHP script with those settings in the url. My PHP script then gets those arguments and echos out the little piece of html code that you would get if you had gone through "Google Gadgets for you page". However, the gadget then says error "Your client has issued a malformed or illegal request." The strange things is that when i copy the output of my php script to a new html file and open it, it displays perfectly fine.

Does anyone know why this happens or how else I could do this? You can see my google gadget at http://scripts.mit.edu/~sharo/comics/comic2.xml