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_reader.xml ... 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_reader.xml&up_url=http://content.nejm.org/rss/recent.xml&up_timer=3600&up_count=10&up_dates=true&up_content=true 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.
