Saturday, 1 June 2013

More new features for the Gadget Dashboard

Did you apperceive we are continuously abacus new appearance to the iGoogle Apparatus Dashboard? Today I'd like to let you apperceive about a few of them.

First of all, we added two new abstracts sets to the abstracts page of your gadgets. Now you can see automatic graphs in the 'Installations and Removal' tab, which shows the amount of apparatus installations and apparatus removals, and in the 'Browser Errors'  tab, area you can see errors afresh appear by our end users' browsers.

As you may accept guessed, abacus this advice fabricated the apparatus abstracts page too long, so we alien a collapsed appearance for that page.
(The collapsed view, assuming the new 'Installations and Removals' data)More new features for the Gadget Dashboard http://mikes-exercise-blog.blogspot.com/

(“Browser Errors” table showing the top errors reported by our users’ browsers)

Additionally, the dashboard had been only available in English, but we added 7 other langueges a while ago, so it is now available in 8 languages: English, Spanish, Japanese, Korean, Portuguese, Russian, Simplified Chinese and Traditional Chinese. The localized iGoogle developer documentation will lead you to the localized dashboard. For example, after you select Japanese at http://code.google.com/apis/igoogle/, you will arrive at http://code.google.com/intl/ja/apis/igoogle/, which has a link for the Japanese version of the dashboard. Alternatively, you can explicitly add the URL parameter “?hl=ja” to the dashboard URL.

Lastly, in the next few days, we will start sending you weekly summary e-mails of your gadget usage. If you don’t want to receive these summary e-mails, you can opt-out from this service by just clicking a link at the bottom of the e-mail. The e-mails look like the following.

Gadget name: Weather
Author email: googlemodules@google.com
Pageviews: 1,000,000 (+5.00% compared to the week of May 30, 2011)
Unique users: ...
Installations: ...
Removals: ...
Browser errors: ...

Gadget name: Youtube Gadget
Author email: …
Pageviews: …
Unique users: ...
Installations: ...
Removals: ...
Browser errors: ...
…
…
...

As you can see, iGoogle is still evolving! Happy coding. :)

Posted by Takashi Matsuo, Developer Advocate

Wednesday, 29 May 2013

iGoogle An update on

As we appear on the Official Google Blog, on November 1, 2013, we will be backward iGoogle. To ensure a bland alteration for your users, you may wish to amend your accessories and absolute users to your website or action the adeptness to consign user data. You may aswell accede ablution your appliance on one of our added platforms.

As allotment of this sunset, we will no best acquire new affair submissions afterwards July 31, 2012. Similarly, we will stop accepting new accessories afterwards July 31, 2012 - but you will be able to amend and advance absolute gadgets, as before.

Feel chargeless to ability out to us at the iGoogle Developer Forum if you accept any questions or charge assistance, and acknowledge you for acknowledging iGoogle over the years.

Monday, 3 May 2010

Variable Substitution and getMsg

Gadgets use messages, stored in messagebundles, for internationalization. The most common way to access the messages your gadget has is with variable substitution. For example, a message called north can be specified as

<msg name="north">Nord</msg>

and accessed by using __MSG_north__ your code. The copious underscores lead to the affectionate term “hangman variables” for this substitution notation. Before your code runs, the exact text __MSG_north__ is replaced everywhere with the appropriate value from the messagebundle. In this example it will be “Nord” (French for North, no quotes). This happens in the appropriate places in the XML of your gadget spec as well. So your enum values can be replaced before the controls are made that will show them and everything works as expected. But suppose you have some text in your code that uses a message, something like

dirbox.innerHTML = '__MSG_north__';

This will work fine as well because the substitution happens before the code runs. Now let’s take another message

<msg name="dinername">Chez Sophie</msg>
And some similar Javascript

dinersign.innerHTML = '__MSG_dinername__';

Everything works fine until we add the English translation

<msg name="dinername">Sophie's Place</msg>

And the code the gadget tries to run is

dinersign.innerHTML = 'Sophie's Place';

where of course the string ends early and the browser will correctly emit some odd error on seeing the first s after the apostrophe. This could be cited as an unterminated string literal, a missing semicolon or an illegal character (if you get a different character for your apostrophe).

The gadgets.Prefs.getMsg() function will correctly read the dinername as the string which it’s meant to be.

var init = function () {
var prefs = new gadgets.Prefs();
dinersign = document.getElementById("dinersign");
dinersign.innerHTML = prefs.getMsg("dinername");
};

gadgets.util.registerOnLoadHandler(init);

The getMsg function should help make more reliable, robust gadgets in many cases and it might help resolve some of those errors your users get using languages translations that you don’t use so often.

Thursday, 22 April 2010

Sometimes blue text just isn’t enough

Nearly every iGoogle user has an RSS feed or two on their homepage - from top news to celebrity gossip, recipes, and much much more. In true Google fashion, we originally launched RSS support with a simple headline-only presentation. However, we all know the power of pictures, and so, we're happy to announce the addition of image support to our standard RSS gadget.

With this new feature, users have three different display views.

Headline only
Headline only view

SlideshowHeadline and lead story
Slideshow and Headline and lead story views

When users go to iGoogle today, they’ll notice that not all feeds have the same view. We default each feed to what we believe is the optimal display based on the images currently available in the feed. Of course, users can change the display setting by choosing "edit settings" in the drop down menu for each feed.

These new views not only create a better experience for users, but also give publishers an opportunity to more easily expose rich content, often already present in their RSS feeds. To take advantage of this new feature, publishers simply need to add images and associated Media RSS and/or enclosure elements to their existing RSS feeds. We’ll then grab the images, resize them down as necessary, and provide hosting/caching. Additionally, we’ll make the images clickable and display a 150 character snippet in the “Headline and lead story” view.

Here are a sampling of feeds to try out:


This feature is launching in the US over the next day with full international support coming soon. Please see our feed publisher instructions for more information.