I'm recently having the same issue with a gadget that has been working
as designed and unchanged for over a year
  Jag

On Jul 9, 2:44 pm, JMcIninch <[email protected]> wrote:
> I have a simple gadget that I wrote with several parameters
> (UserPrefs) and I'd like to create an "Add to iGoogle" button.
>
> According to the developer documentation, you simply take the "Add to
> iGoogle" url and append the user prefs to the end.
>
> For example, if I have a gadget with URL:
>
> http://mycompany.com/feed_reader.xml
>
> with the following defined in the XML file:
>
> <UserPrefname="url" display_name="Feed URL" default_value="http://
> blogs.adobe.com/dev_center/index.rdf" required="true" />
> <UserPrefname="timer" display_name="Refresh (seconds)"
> default_value="300" />
> <UserPrefname="count" display_name="Item Count" default_value="5" />
> <UserPrefname="dates" display_name="Show Date" datatype="bool"
> default_value="true" />
> <UserPrefname="content" display_name="Show Content" datatype="bool"
> default_value="true" />
> Then the base URL for the "Add to iGoogle" button becomes:
>
> http://www.google.com/ig/adde?moduleurl=http://mycompany.com/feed_rea...
>
> ... which is simple enough. However, the developer documentation says
> (and the "Share this gadget" function in iGoogle when the "Send my
> settings for this gadget" box is checked), that you can include the
> UserPrefs as part of the URL. In fact, when I do just that, I get a
> URL in the form:
>
> http://www.google.com/ig/adde?moduleurl=http://mycompany.com/feed_rea...
>
> The problem is that if I follow that link, rather than get a gadget
> added with the correct settings, I get a gadget where all the settings
> are the defaults instead of the supplied values.
>
> Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"iGoogle Developer Forum" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/Google-Gadgets-API?hl=en.

Reply via email to