2 messages in com.googlegroups.google-gadgets-api[Google-Gadgets-API] Re: Passing a va...
FromSent OnAttachments
Boj25 Jun 2008 05:17 
Jerome (Guru)25 Jun 2008 05:41 
Subject:[Google-Gadgets-API] Re: Passing a variable parameter over with an "Add to Google" button
From:Jerome (Guru) (jero@gmail.com)
Date:06/25/2008 05:41:49 AM
List:com.googlegroups.google-gadgets-api

Hi Boj,

I do not know if this is a documented feature, but you can achieve what you described by formatting your URLs to add the gadget as follow: http://www.google.com/ig/adde?up_{user_pref_name}={user_pref_value}&moduleurl={url_of_gadget_xml}

You can have multiple user prefs preset in the URL as follow: http://www.google.com/ig/adde?up_{user_pref_name_1}={user_pref_value_1}&up_{user_pref_name_2}={user_pref_value_2}&moduleurl={url_of_gadget_xml}

I hope this helps.

Jerome

On Jun 25, 7:18 am, Boj <just@hotmail.com> wrote:

Hi,

We are currently working on a gadget that incorporates a feed reader. We have multiple feeds on our site and would like to give users the option of adding the feed to their IGoogle page as part of our gadget.

I.e we offer a list of feeds on our search page, all of them have an "Add to Google" button. I would also like to give them to opportunity to add to the feed, but instead of adding it with the normal feed reader, adding the feed with our gadget.

Would anyone have any suggestions of how to do this? maybe add the parameter to the URL?

Regards