To clarify, the other thread talks about gadgets embedded on external sites
(so far). Are you seeing this issue on iGoogle, external sites, or both?

Rob Russell
Google Developer Relations


On Wed, Jul 21, 2010 at 2:53 PM, kmaster <[email protected]> wrote:

> same topic here 2posts earlier
>
> http://groups.google.com/group/Google-Gadgets-API/browse_thread/thread/92bda38ea479534b?hl=en
>
> 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:
> >
> > <UserPref name="url" display_name="Feed URL" default_value="http://
> > blogs.adobe.com/dev_center/index.rdf" required="true" />
> > <UserPref name="timer" display_name="Refresh (seconds)"
> > default_value="300" />
> > <UserPref name="count" display_name="Item Count" default_value="5" />
> > <UserPref name="dates" display_name="Show Date" datatype="bool"
> > default_value="true" />
> > <UserPref name="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]<google-gadgets-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/Google-Gadgets-API?hl=en.
>
>

-- 
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