We've recently released some new features and updates to the documentation. Please take a moment and check out what's new:
+ New userpref data type: Lists + New feature: Analytics + Enhanced gadget scratchpad + Enable auto-resizing for syndicated gadgets + Correction: _IG_FetchContent() and type="url"
This new data type allows you to capture an array of values dynamically supplied by the user at run-time. We've added two new methods under _IG_Prefs to support reading and writing to these userprefs. To read, call prefs.getArray() to retrieve your list as an array. To write values back to your list, use the prefs.setArray() method.
For everyone wishing to track gadgets using Google Analytics, we've finally released a simple method to do this. You must have a Google Analytics account before using feature. If don't have one, it's free, and you can sign up at http://www.google.com/analytics/sign_up.html.
To use this feature, simply add <Require feature="analytics"/> in your gadget XML to import the analytics library. Then call _IG_Analytics() any time you wish to record a hit in your account. You can also use this method to track JavaScript events such as clicks, mouseovers, etc.
We've really enhanced the functionality of the gadget scratch pad to support many new features. Now you can load any external gadgets by URL into the scratch pad and preview them as syndicated gadgets on-the-fly. In addition, we provided a short static list of popular gadget links to quickly demonstrate it's use. Visit http://www.google.com/apis/gadgets/gs.html#Scratchpad to see the new version.
The scratch pad is nothing more than a syndicated gadget, which means you can also add the scratchpad to your personalized homepage as well. Here's the new scratch pad gadget in the directory: http://www.google.com/ig/directory?url=scratchpad.xml
---------------
++ Enable auto-resizing for syndicated gadgets
For publishers that are syndicating gadgets onto their websites, you can now set the gadget to automatically fit the width of the parent container. When generating the HTML snippet from the creator page (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), there is a width parameter, "w=". Simply set this to "w=auto" to force the gadget's width to fill the containing space.
Here's an excerpt from the documentation, http://www.google.com/apis/gadgets/publish.html#PageCreator: "Height (h) and width (w) parameters. The value of these parameters is typically the number of pixels. However, you can set the gadget width to fill the containing space by using w=auto. This is useful for flexible layouts where you don't know the number of pixels beforehand."
---------------
++ Correction: _IG_FetchContent() and type="url"
If you're writing a type="url" gadget while importing our JavaScript libraries in your content script, please note that _IG_FetchContent(), _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this case only. We've added this as an additional restriction to type="url" gadgets in our documentation. You can see the various notes at these locations:
Sir i am beginner, i need more complete examples. i donot understand that xml file is used for data tages(w3school)(i have taken tutorial), how it is perfoming action?
thanks, great info. Do You know anything about the already existing Google Gadgets for Website using Google Analitycs? They seem to fail working, and a couple of days ago they are not even available.
Is there a way to keep my gadget statistics separate from my main site? Just the one gadget I added to my analytics owned my graphs, turning them from nice seismograph looking things to pretty much a 90 degree angle, my site is not nearly as popular as my gadgets, and the sudden blast upwards shows it. Is there a way to separate the content, or is it simply possible to create a dummy site? Thanks to anyone who helps, I'm pretty new to Analytics.
On Jan 17, 9:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> We've recently released some new features and updates to the > documentation. Please take a moment and check out what's new:
> + New userpref data type: Lists > + New feature: Analytics > + Enhanced gadget scratchpad > + Enable auto-resizing for syndicated gadgets > + Correction: _IG_FetchContent() and type="url"
> =======================================
> ++ New userpref data type: Lists
> Chances are you've already seen the popular weather gadget > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > and noticed the way you can save a list of zip codes in the edit > window. Using the new "list" data type, you can now do the same in > your gadget!
> This new data type allows you to capture an array of values dynamically > supplied by the user at run-time. We've added two new methods under > _IG_Prefs to support reading and writing to these userprefs. To read, > call prefs.getArray() to retrieve your list as an array. To write > values back to your list, use the prefs.setArray() method.
> For everyone wishing to track gadgets using Google Analytics, we've > finally released a simple method to do this. You must have a Google > Analytics account before using feature. If don't have one, it's free, > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> To use this feature, simply add <Require feature="analytics"/> in your > gadget XML to import the analytics library. Then call _IG_Analytics() > any time you wish to record a hit in your account. You can also use > this method to track JavaScript events such as clicks, mouseovers, etc.
> We've really enhanced the functionality of the gadget scratch pad to > support many new features. Now you can load any external gadgets by > URL into the scratch pad and preview them as syndicated gadgets > on-the-fly. In addition, we provided a short static list of popular > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadto see the new > version.
> The scratch pad is nothing more than a syndicated gadget, which means > you can also add the scratchpad to your personalized homepage as well. > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> ---------------
> ++ Enable auto-resizing for syndicated gadgets
> For publishers that are syndicating gadgets onto their websites, you > can now set the gadget to automatically fit the width of the parent > container. When generating the HTML snippet from the creator page > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > there is a width parameter, "w=". Simply set this to "w=auto" to force > the gadget's width to fill the containing space.
> Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > "Height (h) and width (w) parameters. The value of these parameters is > typically the number of pixels. However, you can set the gadget width > to fill the containing space by using w=auto. This is useful for > flexible layouts where you don't know the number of pixels beforehand."
> ---------------
> ++ Correction: _IG_FetchContent() and type="url"
> If you're writing a type="url" gadget while importing our JavaScript > libraries in your content script, please note that _IG_FetchContent(), > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > case only. We've added this as an additional restriction to type="url" > gadgets in our documentation. You can see the various notes at these > locations:
There's different ways to do this, but the simplest resolution is to create a new website profile within your Analytics account. During creation, make sure you create a profile for a new domain. This ensures that your profile is assigned a new unique UA account number, e.g. UA-xxxxxx-x. Simply update this number within your gadget and all data should be sent to this new profile from now on, separating it from your existing account.
Hope this helps!
Dann
On Jan 24, 6:27 pm, "Wisgary" <wisg...@gmail.com> wrote:
> Is there a way to keep my gadget statistics separate from my main site? > Just the one gadget I added to my analytics owned my graphs, turning > them from nice seismograph looking things to pretty much a 90 degree > angle, my site is not nearly as popular as my gadgets, and the sudden > blast upwards shows it. Is there a way to separate the content, or is > it simply possible to create a dummy site? Thanks to anyone who helps, > I'm pretty new to Analytics.
> On Jan 17, 9:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > Hey everyone,
> > We've recently released some new features and updates to the > > documentation. Please take a moment and check out what's new:
> > + New userpref data type: Lists > > + New feature: Analytics > > + Enhanced gadget scratchpad > > + Enable auto-resizing for syndicated gadgets > > + Correction: _IG_FetchContent() and type="url"
> > =======================================
> > ++ New userpref data type: Lists
> > Chances are you've already seen the popular weather gadget > > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > > and noticed the way you can save a list of zip codes in the edit > > window. Using the new "list" data type, you can now do the same in > > your gadget!
> > This new data type allows you to capture an array of values dynamically > > supplied by the user at run-time. We've added two new methods under > > _IG_Prefs to support reading and writing to these userprefs. To read, > > call prefs.getArray() to retrieve your list as an array. To write > > values back to your list, use the prefs.setArray() method.
> > For everyone wishing to track gadgets using Google Analytics, we've > > finally released a simple method to do this. You must have a Google > > Analytics account before using feature. If don't have one, it's free, > > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> > To use this feature, simply add <Require feature="analytics"/> in your > > gadget XML to import the analytics library. Then call _IG_Analytics() > > any time you wish to record a hit in your account. You can also use > > this method to track JavaScript events such as clicks, mouseovers, etc.
> > We've really enhanced the functionality of the gadget scratch pad to > > support many new features. Now you can load any external gadgets by > > URL into the scratch pad and preview them as syndicated gadgets > > on-the-fly. In addition, we provided a short static list of popular > > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadtosee the new > > version.
> > The scratch pad is nothing more than a syndicated gadget, which means > > you can also add the scratchpad to your personalized homepage as well. > > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> > ---------------
> > ++ Enable auto-resizing for syndicated gadgets
> > For publishers that are syndicating gadgets onto their websites, you > > can now set the gadget to automatically fit the width of the parent > > container. When generating the HTML snippet from the creator page > > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > > there is a width parameter, "w=". Simply set this to "w=auto" to force > > the gadget's width to fill the containing space.
> > Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > > "Height (h) and width (w) parameters. The value of these parameters is > > typically the number of pixels. However, you can set the gadget width > > to fill the containing space by using w=auto. This is useful for > > flexible layouts where you don't know the number of pixels beforehand."
> > ---------------
> > ++ Correction: _IG_FetchContent() and type="url"
> > If you're writing a type="url" gadget while importing our JavaScript > > libraries in your content script, please note that _IG_FetchContent(), > > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > > case only. We've added this as an additional restriction to type="url" > > gadgets in our documentation. You can see the various notes at these > > locations:
Allright, just did that, waiting now to see if data starts flowing in. Thanks for the help and the quick reply. Also, good job on adding lists! I needed lists for one of my gadgets so I made some really ugly ghetto lists using enums (http://flashplayer.googlecode.com/svn/trunk/flashPlayer.xml), but now I can finally put those to sleep and use proper lists. Thanks again for the help.
On Jan 24, 10:36 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> There's different ways to do this, but the simplest resolution is to > create a new website profile within your Analytics account. During > creation, make sure you create a profile for a new domain. This > ensures that your profile is assigned a new unique UA account number, > e.g. UA-xxxxxx-x. Simply update this number within your gadget and all > data should be sent to this new profile from now on, separating it from > your existing account.
> Hope this helps!
> Dann
> On Jan 24, 6:27 pm, "Wisgary" <wisg...@gmail.com> wrote:
> > Is there a way to keep my gadget statistics separate from my main site? > > Just the one gadget I added to my analytics owned my graphs, turning > > them from nice seismograph looking things to pretty much a 90 degree > > angle, my site is not nearly as popular as my gadgets, and the sudden > > blast upwards shows it. Is there a way to separate the content, or is > > it simply possible to create a dummy site? Thanks to anyone who helps, > > I'm pretty new to Analytics.
> > On Jan 17, 9:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > > Hey everyone,
> > > We've recently released some new features and updates to the > > > documentation. Please take a moment and check out what's new:
> > > + New userpref data type: Lists > > > + New feature: Analytics > > > + Enhanced gadget scratchpad > > > + Enable auto-resizing for syndicated gadgets > > > + Correction: _IG_FetchContent() and type="url"
> > > =======================================
> > > ++ New userpref data type: Lists
> > > Chances are you've already seen the popular weather gadget > > > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > > > and noticed the way you can save a list of zip codes in the edit > > > window. Using the new "list" data type, you can now do the same in > > > your gadget!
> > > This new data type allows you to capture an array of values dynamically > > > supplied by the user at run-time. We've added two new methods under > > > _IG_Prefs to support reading and writing to these userprefs. To read, > > > call prefs.getArray() to retrieve your list as an array. To write > > > values back to your list, use the prefs.setArray() method.
> > > For everyone wishing to track gadgets using Google Analytics, we've > > > finally released a simple method to do this. You must have a Google > > > Analytics account before using feature. If don't have one, it's free, > > > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> > > To use this feature, simply add <Require feature="analytics"/> in your > > > gadget XML to import the analytics library. Then call _IG_Analytics() > > > any time you wish to record a hit in your account. You can also use > > > this method to track JavaScript events such as clicks, mouseovers, etc.
> > > We've really enhanced the functionality of the gadget scratch pad to > > > support many new features. Now you can load any external gadgets by > > > URL into the scratch pad and preview them as syndicated gadgets > > > on-the-fly. In addition, we provided a short static list of popular > > > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadtoseethe new > > > version.
> > > The scratch pad is nothing more than a syndicated gadget, which means > > > you can also add the scratchpad to your personalized homepage as well. > > > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> > > ---------------
> > > ++ Enable auto-resizing for syndicated gadgets
> > > For publishers that are syndicating gadgets onto their websites, you > > > can now set the gadget to automatically fit the width of the parent > > > container. When generating the HTML snippet from the creator page > > > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > > > there is a width parameter, "w=". Simply set this to "w=auto" to force > > > the gadget's width to fill the containing space.
> > > Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > > > "Height (h) and width (w) parameters. The value of these parameters is > > > typically the number of pixels. However, you can set the gadget width > > > to fill the containing space by using w=auto. This is useful for > > > flexible layouts where you don't know the number of pixels beforehand."
> > > ---------------
> > > ++ Correction: _IG_FetchContent() and type="url"
> > > If you're writing a type="url" gadget while importing our JavaScript > > > libraries in your content script, please note that _IG_FetchContent(), > > > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > > > case only. We've added this as an additional restriction to type="url" > > > gadgets in our documentation. You can see the various notes at these > > > locations:
> Allright, just did that, waiting now to see if data starts flowing in. > Thanks for the help and the quick reply. Also, good job on adding > lists! I needed lists for one of my gadgets so I made some really ugly > ghetto lists using enums > (http://flashplayer.googlecode.com/svn/trunk/flashPlayer.xml), but now > I can finally put those to sleep and use proper lists. Thanks again for > the help.
> On Jan 24, 10:36 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > Hey Wisgary,
> > There's different ways to do this, but the simplest resolution is to > > create a new website profile within your Analytics account. During > > creation, make sure you create a profile for a new domain. This > > ensures that your profile is assigned a new unique UA account number, > > e.g. UA-xxxxxx-x. Simply update this number within your gadget and all > > data should be sent to this new profile from now on, separating it from > > your existing account.
> > Hope this helps!
> > Dann
> > On Jan 24, 6:27 pm, "Wisgary" <wisg...@gmail.com> wrote:
> > > Is there a way to keep my gadget statistics separate from my main site? > > > Just the one gadget I added to my analytics owned my graphs, turning > > > them from nice seismograph looking things to pretty much a 90 degree > > > angle, my site is not nearly as popular as my gadgets, and the sudden > > > blast upwards shows it. Is there a way to separate the content, or is > > > it simply possible to create a dummy site? Thanks to anyone who helps, > > > I'm pretty new to Analytics.
> > > On Jan 17, 9:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > > > Hey everyone,
> > > > We've recently released some new features and updates to the > > > > documentation. Please take a moment and check out what's new:
> > > > + New userpref data type: Lists > > > > + New feature: Analytics > > > > + Enhanced gadget scratchpad > > > > + Enable auto-resizing for syndicated gadgets > > > > + Correction: _IG_FetchContent() and type="url"
> > > > =======================================
> > > > ++ New userpref data type: Lists
> > > > Chances are you've already seen the popular weather gadget > > > > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > > > > and noticed the way you can save a list of zip codes in the edit > > > > window. Using the new "list" data type, you can now do the same in > > > > your gadget!
> > > > This new data type allows you to capture an array of values dynamically > > > > supplied by the user at run-time. We've added two new methods under > > > > _IG_Prefs to support reading and writing to these userprefs. To read, > > > > call prefs.getArray() to retrieve your list as an array. To write > > > > values back to your list, use the prefs.setArray() method.
> > > > For everyone wishing to track gadgets using Google Analytics, we've > > > > finally released a simple method to do this. You must have a Google > > > > Analytics account before using feature. If don't have one, it's free, > > > > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> > > > To use this feature, simply add <Require feature="analytics"/> in your > > > > gadget XML to import the analytics library. Then call _IG_Analytics() > > > > any time you wish to record a hit in your account. You can also use > > > > this method to track JavaScript events such as clicks, mouseovers, etc.
> > > > We've really enhanced the functionality of the gadget scratch pad to > > > > support many new features. Now you can load any external gadgets by > > > > URL into the scratch pad and preview them as syndicated gadgets > > > > on-the-fly. In addition, we provided a short static list of popular > > > > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadtoseethenew > > > > version.
> > > > The scratch pad is nothing more than a syndicated gadget, which means > > > > you can also add the scratchpad to your personalized homepage as well. > > > > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> > > > ---------------
> > > > ++ Enable auto-resizing for syndicated gadgets
> > > > For publishers that are syndicating gadgets onto their websites, you > > > > can now set the gadget to automatically fit the width of the parent > > > > container. When generating the HTML snippet from the creator page > > > > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > > > > there is a width parameter, "w=". Simply set this to "w=auto" to force > > > > the gadget's width to fill the containing space.
> > > > Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > > > > "Height (h) and width (w) parameters. The value of these parameters is > > > > typically the number of pixels. However, you can set the gadget width > > > > to fill the containing space by using w=auto. This is useful for > > > > flexible layouts where you don't know the number of pixels beforehand."
> > > > ---------------
> > > > ++ Correction: _IG_FetchContent() and type="url"
> > > > If you're writing a type="url" gadget while importing our JavaScript > > > > libraries in your content script, please note that _IG_FetchContent(), > > > > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > > > > case only. We've added this as an additional restriction to type="url" > > > > gadgets in our documentation. You can see the various notes at these > > > > locations:
> Oooh. Looks like a new edit icon has been added in place of the > previous text. Nice
> Jan 25, 4:21 am, "Wisgary" <wisg...@gmail.com> wrote:
> > Allright, just did that, waiting now to see if data starts flowing in. > > Thanks for the help and the quick reply. Also, good job on adding > > lists! I needed lists for one of my gadgets so I made some really ugly > > ghetto lists using enums > > (http://flashplayer.googlecode.com/svn/trunk/flashPlayer.xml), but now > > I can finally put those to sleep and use proper lists. Thanks again for > > the help.
> > On Jan 24, 10:36 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > > Hey Wisgary,
> > > There's different ways to do this, but the simplest resolution is to > > > create a new website profile within your Analytics account. During > > > creation, make sure you create a profile for a new domain. This > > > ensures that your profile is assigned a new unique UA account number, > > > e.g. UA-xxxxxx-x. Simply update this number within your gadget and all > > > data should be sent to this new profile from now on, separating it from > > > your existing account.
> > > Hope this helps!
> > > Dann
> > > On Jan 24, 6:27 pm, "Wisgary" <wisg...@gmail.com> wrote:
> > > > Is there a way to keep my gadget statistics separate from my main site? > > > > Just the one gadget I added to my analytics owned my graphs, turning > > > > them from nice seismograph looking things to pretty much a 90 degree > > > > angle, my site is not nearly as popular as my gadgets, and the sudden > > > > blast upwards shows it. Is there a way to separate the content, or is > > > > it simply possible to create a dummy site? Thanks to anyone who helps, > > > > I'm pretty new to Analytics.
> > > > On Jan 17, 9:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > > > > Hey everyone,
> > > > > We've recently released some new features and updates to the > > > > > documentation. Please take a moment and check out what's new:
> > > > > + New userpref data type: Lists > > > > > + New feature: Analytics > > > > > + Enhanced gadget scratchpad > > > > > + Enable auto-resizing for syndicated gadgets > > > > > + Correction: _IG_FetchContent() and type="url"
> > > > > =======================================
> > > > > ++ New userpref data type: Lists
> > > > > Chances are you've already seen the popular weather gadget > > > > > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > > > > > and noticed the way you can save a list of zip codes in the edit > > > > > window. Using the new "list" data type, you can now do the same in > > > > > your gadget!
> > > > > This new data type allows you to capture an array of values dynamically > > > > > supplied by the user at run-time. We've added two new methods under > > > > > _IG_Prefs to support reading and writing to these userprefs. To read, > > > > > call prefs.getArray() to retrieve your list as an array. To write > > > > > values back to your list, use the prefs.setArray() method.
> > > > > For everyone wishing to track gadgets using Google Analytics, we've > > > > > finally released a simple method to do this. You must have a Google > > > > > Analytics account before using feature. If don't have one, it's free, > > > > > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> > > > > To use this feature, simply add <Require feature="analytics"/> in your > > > > > gadget XML to import the analytics library. Then call _IG_Analytics() > > > > > any time you wish to record a hit in your account. You can also use > > > > > this method to track JavaScript events such as clicks, mouseovers, etc.
> > > > > We've really enhanced the functionality of the gadget scratch pad to > > > > > support many new features. Now you can load any external gadgets by > > > > > URL into the scratch pad and preview them as syndicated gadgets > > > > > on-the-fly. In addition, we provided a short static list of popular > > > > > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadtoseethenew > > > > > version.
> > > > > The scratch pad is nothing more than a syndicated gadget, which means > > > > > you can also add the scratchpad to your personalized homepage as well. > > > > > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> > > > > For publishers that are syndicating gadgets onto their websites, you > > > > > can now set the gadget to automatically fit the width of the parent > > > > > container. When generating the HTML snippet from the creator page > > > > > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > > > > > there is a width parameter, "w=". Simply set this to "w=auto" to force > > > > > the gadget's width to fill the containing space.
> > > > > Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > > > > > "Height (h) and width (w) parameters. The value of these parameters is > > > > > typically the number of pixels. However, you can set the gadget width > > > > > to fill the containing space by using w=auto. This is useful for > > > > > flexible layouts where you don't know the number of pixels beforehand."
> > > > > ---------------
> > > > > ++ Correction: _IG_FetchContent() and type="url"
> > > > > If you're writing a type="url" gadget while importing our JavaScript > > > > > libraries in your content script, please note that _IG_FetchContent(), > > > > > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > > > > > case only. We've added this as an additional restriction to type="url" > > > > > gadgets in our documentation. You can see the various notes at these > > > > > locations:
Feedsparks is a new gadget using the new Lists datatype, and it's having trouble with the standard google form page for generating a script (or adding to pages.google.com). Here's an explanation: http:// leancode.com/2007/01/28/configuring-google-gadgets-for-your-page/ is this a known problem?
Thanks! Bernie
On Jan 17, 5:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> We've recently released some new features and updates to the > documentation. Please take a moment and check out what's new:
> + New userpref data type: Lists > + New feature: Analytics > + Enhanced gadget scratchpad > + Enable auto-resizing for syndicated gadgets > + Correction: _IG_FetchContent() and type="url"
> =======================================
> ++ New userpref data type: Lists
> Chances are you've already seen the popular weather gadget > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > and noticed the way you can save a list of zip codes in the edit > window. Using the new "list" data type, you can now do the same in > your gadget!
> This new data type allows you to capture an array of values dynamically > supplied by the user at run-time. We've added two new methods under > _IG_Prefs to support reading and writing to these userprefs. To read, > call prefs.getArray() to retrieve your list as an array. To write > values back to your list, use the prefs.setArray() method.
> For everyone wishing to track gadgets using Google Analytics, we've > finally released a simple method to do this. You must have a Google > Analytics account before using feature. If don't have one, it's free, > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> To use this feature, simply add <Require feature="analytics"/> in your > gadget XML to import the analytics library. Then call _IG_Analytics() > any time you wish to record a hit in your account. You can also use > this method to track JavaScript events such as clicks, mouseovers, etc.
> We've really enhanced the functionality of the gadget scratch pad to > support many new features. Now you can load any external gadgets by > URL into the scratch pad and preview them as syndicated gadgets > on-the-fly. In addition, we provided a short static list of popular > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadto see the new > version.
> The scratch pad is nothing more than a syndicated gadget, which means > you can also add the scratchpad to your personalized homepage as well. > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> ---------------
> ++ Enable auto-resizing for syndicated gadgets
> For publishers that are syndicating gadgets onto their websites, you > can now set the gadget to automatically fit the width of the parent > container. When generating the HTML snippet from the creator page > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > there is a width parameter, "w=". Simply set this to "w=auto" to force > the gadget's width to fill the containing space.
> Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > "Height (h) and width (w) parameters. The value of these parameters is > typically the number of pixels. However, you can set the gadget width > to fill the containing space by using w=auto. This is useful for > flexible layouts where you don't know the number of pixels beforehand."
> ---------------
> ++ Correction: _IG_FetchContent() and type="url"
> If you're writing a type="url" gadget while importing our JavaScript > libraries in your content script, please note that _IG_FetchContent(), > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > case only. We've added this as an additional restriction to type="url" > gadgets in our documentation. You can see the various notes at these > locations:
> Feedsparks is a new gadget using the new Lists datatype, and it's > having trouble with the standard google form page for generating a > script (or adding to pages.google.com). Here's an explanation: http:// > leancode.com/2007/01/28/configuring-google-gadgets-for-your-page/ is > this a known problem?
> Thanks! > Bernie
> On Jan 17, 5:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > Hey everyone,
> > We've recently released some new features and updates to the > > documentation. Please take a moment and check out what's new:
> > + New userpref data type: Lists > > + New feature: Analytics > > + Enhanced gadget scratchpad > > + Enable auto-resizing for syndicated gadgets > > + Correction: _IG_FetchContent() and type="url"
> > =======================================
> > ++ New userpref data type: Lists
> > Chances are you've already seen the popular weather gadget > > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > > and noticed the way you can save a list of zip codes in the edit > > window. Using the new "list" data type, you can now do the same in > > your gadget!
> > This new data type allows you to capture an array of values dynamically > > supplied by the user at run-time. We've added two new methods under > > _IG_Prefs to support reading and writing to these userprefs. To read, > > call prefs.getArray() to retrieve your list as an array. To write > > values back to your list, use the prefs.setArray() method.
> > For everyone wishing to track gadgets using Google Analytics, we've > > finally released a simple method to do this. You must have a Google > > Analytics account before using feature. If don't have one, it's free, > > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> > To use this feature, simply add <Require feature="analytics"/> in your > > gadget XML to import the analytics library. Then call _IG_Analytics() > > any time you wish to record a hit in your account. You can also use > > this method to track JavaScript events such as clicks, mouseovers, etc.
> > We've really enhanced the functionality of the gadget scratch pad to > > support many new features. Now you can load any external gadgets by > > URL into the scratch pad and preview them as syndicated gadgets > > on-the-fly. In addition, we provided a short static list of popular > > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadtosee the new > > version.
> > The scratch pad is nothing more than a syndicated gadget, which means > > you can also add the scratchpad to your personalized homepage as well. > > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> > ---------------
> > ++ Enable auto-resizing for syndicated gadgets
> > For publishers that are syndicating gadgets onto their websites, you > > can now set the gadget to automatically fit the width of the parent > > container. When generating the HTML snippet from the creator page > > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > > there is a width parameter, "w=". Simply set this to "w=auto" to force > > the gadget's width to fill the containing space.
> > Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > > "Height (h) and width (w) parameters. The value of these parameters is > > typically the number of pixels. However, you can set the gadget width > > to fill the containing space by using w=auto. This is useful for > > flexible layouts where you don't know the number of pixels beforehand."
> > ---------------
> > ++ Correction: _IG_FetchContent() and type="url"
> > If you're writing a type="url" gadget while importing our JavaScript > > libraries in your content script, please note that _IG_FetchContent(), > > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > > case only. We've added this as an additional restriction to type="url" > > gadgets in our documentation. You can see the various notes at these > > locations:
On Jan 17, 7:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> We've recently released some new features and updates to the > documentation. Please take a moment and check out what's new:
> + New userpref data type: Lists
This new userpref type is a great addition, thanks! For some gadgets, a list userpref type with a way to predefine the values to choose frome would be ever more useful.
What we really need is access to a public unique identifier for the user account, so that we might be able to save user preferences on central database and offer a more personalized experience to the user.
We already have the .lang and .country parameters but we badly need a .uid parameter.
> On Jan 17, 7:40 pm, "Dann (Google Employee)" <d...@google.com> wrote: > > We've recently released some new features and updates to the > > documentation. Please take a moment and check out what's new:
> > + New userpref data type: Lists
> This new userpref type is a great addition, thanks! For some gadgets, > a list userpref type with a way to predefine the values to choose > frome would be ever more useful.
> On Jan 17, 7:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > We've recently released some new features and updates to the > > documentation. Please take a moment and check out what's new:
> > + New userpref data type: Lists
> This new userpref type is a great addition, thanks! For some gadgets, > a list userpref type with a way to predefine the values to choose > frome would be ever more useful.
Thanks for the reply. What you discribed here is how to pre-define the default value.
I was asking for was a way to use the list as a multi select enum. In other words, rather than offering the user a text box to enter values for the list, the wished for "list-enum" would allow the user to select, for instance, from a list of cities and add the one they'd like to the list.
With the current API, we either have to use check boxes (datatype="bool"), but this looks bad if you have 100s of items to select from (and you go over the 2k limit on user prefs real quick), or this must be handled in the gadget itself, not in the user prefs (not consistent to have some gadget settings in the user prefs area and some other in the gadget body).
Thanks,
Jerome
On Feb 14, 8:26 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> On Feb 11, 2:49 pm, "Jerome" <jerome.mou...@gmail.com> wrote:
> > Hi Dann,
> > On Jan 17, 7:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> > > We've recently released some new features and updates to the > > > documentation. Please take a moment and check out what's new:
> > > + New userpref data type: Lists
> > This new userpref type is a great addition, thanks! For some gadgets, > > a list userpref type with a way to predefine the values to choose > > frome would be ever more useful.
I would like to use convert my Google Custom Search Engines into a Google Gadget. Can the Gadget Scratchpad help me do that? Or is there an easier way to do this? Thanks for your time and help, it is greatly appreciated.
On Jan 17, 7:40 pm, "Dann (Google Employee)" <d...@google.com> wrote:
> We've recently released some new features and updates to the > documentation. Please take a moment and check out what's new:
> + New userpref data type: Lists > + New feature: Analytics > + Enhanced gadget scratchpad > + Enable auto-resizing for syndicated gadgets > + Correction: _IG_FetchContent() and type="url"
> =======================================
> ++ New userpref data type: Lists
> Chances are you've already seen the popular weather gadget > (http://www.google.com/ig/directory?url=http://www.google.com/ig/modul...) > and noticed the way you can save a list of zip codes in the edit > window. Using the new "list" data type, you can now do the same in > your gadget!
> This new data type allows you to capture an array of values dynamically > supplied by the user at run-time. We've added two new methods under > _IG_Prefs to support reading and writing to these userprefs. To read, > call prefs.getArray() to retrieve your list as an array. To write > values back to your list, use the prefs.setArray() method.
> For everyone wishing to track gadgets using Google Analytics, we've > finally released a simple method to do this. You must have a Google > Analytics account before using feature. If don't have one, it's free, > and you can sign up athttp://www.google.com/analytics/sign_up.html.
> To use this feature, simply add <Require feature="analytics"/> in your > gadget XML to import the analytics library. Then call _IG_Analytics() > any time you wish to record a hit in your account. You can also use > this method to track JavaScript events such as clicks, mouseovers, etc.
> We've really enhanced the functionality of the gadget scratch pad to > support many new features. Now you can load any external gadgets by > URL into the scratch pad and preview them as syndicated gadgets > on-the-fly. In addition, we provided a short static list of popular > gadget links to quickly demonstrate it's use. Visithttp://www.google.com/apis/gadgets/gs.html#Scratchpadto see the new > version.
> The scratch pad is nothing more than a syndicated gadget, which means > you can also add the scratchpad to your personalized homepage as well. > Here's the new scratch pad gadget in the directory:http://www.google.com/ig/directory?url=scratchpad.xml
> ---------------
> ++ Enable auto-resizing for syndicated gadgets
> For publishers that are syndicating gadgets onto their websites, you > can now set the gadget to automatically fit the width of the parent > container. When generating the HTML snippet from the creator page > (http://gmodules.com/ig/creator?synd=open&url=http://calebegg.com/coun...), > there is a width parameter, "w=". Simply set this to "w=auto" to force > the gadget's width to fill the containing space.
> Here's an excerpt from the documentation,http://www.google.com/apis/gadgets/publish.html#PageCreator: > "Height (h) and width (w) parameters. The value of these parameters is > typically the number of pixels. However, you can set the gadget width > to fill the containing space by using w=auto. This is useful for > flexible layouts where you don't know the number of pixels beforehand."
> ---------------
> ++ Correction: _IG_FetchContent() and type="url"
> If you're writing a type="url" gadget while importing our JavaScript > libraries in your content script, please note that _IG_FetchContent(), > _IG_FetchXmlContent(), and _IG_FetchFeedAsJSON() cannot be used in this > case only. We've added this as an additional restriction to type="url" > gadgets in our documentation. You can see the various notes at these > locations: