Google Javascript Library
http://www.google.com/apis/gadgets/reference.html#JS_Ref
My hacky testing file:
WordPress 插件——GooglePR
这是一个用来在您站点上显示当前页面的 Google PageRank 的插件。
该插件安装很简单。首先下载该插件:googlepr.zip。
然后解压缩到插件目录下,在管理后台中激活该插件。
最后修改您的模版。在您希望显示 Google PageRank 的地方,插入如下代码:
<?php class_exists(‘GooglePR‘) ? GooglePR::bar(): ”; ?>
创建本地化的google gadget
http://www.google.com/apis/gadgets/i18n.html#Introduction
Creating a Localized Gadget
To create a localized gadget, the basic steps are as follows:
- Write the gadget.
- Extract any text that needs to be translated into message bundles.
- Find someone who can help you translate the gadget.
- The translator creates a new message bundle for a particular locale. This could be per language (French), or per language/country (French/Canada, French/France). Note that non-English message bundles must be saved in UTF-8 format.
- The translator sends you a URL to the new bundle.
- Modify your gadget spec to use the message bundle.
- If your gadget is in the Content Directory, wait 1-2 weeks for the crawler and pipeline to find your updated gadget and make it available in the new market.
Google Gadget
Dev guide:
http://www.google.com/apis/gadgets/index.html
Where to submit :
http://www.google.com/ig/submit
Help:
http://www.google.com/apis/gadgets/docs-home.html
Google provide a place to host gadget:
http://www.google.com/apis/gadgets/basic.html#Hosting