Our Google Gadget contains our chart and is shown in Figure 2.
Google Gadget包含了我们的图表,如图2所示。
Typically, there are two ways to get a list of the user preferences of a Google gadget.
通常,可以通过两种方式获取Google小部件的用户首选项列表。
This setting lets you render the Google gadget without a title and without any border style.
该设置允许您呈现没有标题和任何边框样式的Google小部件。
A Notes widget created from a Google gadget showing the weather forecast for a specific city.
从Google gadget创建的Noteswidget,显示某个城市的天气预报。
The wizard automatically recognizes all the accepted parameters of the selected Google gadget.
向导自动识别所选Google gadget 能够接受的所有参数。
The following section details the process used to create the myWeather widget from a Google gadget.
下面介绍从Google gadget创建myWeather widget的过程。
The service takes several request attributes, in particular: URL to the Google gadget XML definition file.
该服务包含几个请求属性,尤其是:指向Google小部件xml定义文件的URL。
The passed user preferences values override the default values specified in the XML definition of the Google gadget.
传递的用户首选项值覆盖在Google小部件的XML定义中指定的默认值。
In particular, you can add the ability for users to modify some of the preferences declared in the Google gadget definition.
尤其是,您可以添加这样一个功能,让用户可以修改在Google小部件定义中声明的一部分首选项。
Our goal is to build a Google Gadget that displays up-to-date batting statistics of your favorite Major League Baseball team.
我们的目的是构建一个Google Gadget 来显示美国棒球联盟球队的最新击球数据。
The following steps show you how to configure the skeleton to display a Google gadget of your choice from the Google gadget Catalog.
以下步骤显示如何配置该框架,以显示从Google GadgetCatalog选择的Google小部件。
This string can be directly used to build the URL to the Google service, which returns the corresponding markup for the Google gadget.
这个字符串可直接用于构建指向Google服务的URL, Google服务将为Google小部件返回对应的标记。
Third, we write a Google Gadget that reads the stats from the spreadsheet and displays them as a bar chart using the Google chart API.
第三,编写一个Google Gadget来从此电子数据表读取这些数据并利用Google Chart API以条形图显示这些数据。
In the case of the Date Time Google gadget, you are interested in letting users customize the background color and the first day of the week.
在DateTimeGoogle小部件中,您希望允许用户定制背景颜色和每周的第一天。
This solution, though, does not include the "gadget powered by Google" and "+ Google" buttons under the Google gadget, which violates the Google gadget terms of service.
但是,这个解决方案没有在Google小部件下方包含“gadgetpowered by Google”和“+ Google”按钮,这违反了Google小部件服务条款。
Note that the steps to follow are the same for any other Google gadget; thus, it is not difficult to adapt the concepts presented here to customize any gadget in the Home page.
注意,以下的步骤对所有Google小部件都是一样的;所以,很容易调整这里的概念并应用到Homepage的其他小部件的定制过程中。
To render a Google gadget in the Home page, call the Google Web service discussed in the section "Adding Google gadgets to any Web site" with the appropriate request parameters.
要在Homepage中呈现Google小部件,使用适当的请求参数调用在“向任意web站点添加Google小部件”小节讨论的Google Web服务。
To render a Google gadget in the Home page, call the Google Web service discussed in the section "Adding Google gadgets to any Web site" with the appropriate request parameters.
要在Homepage中呈现Google小部件,使用适当的请求参数调用在“向任意web站点添加Google小部件”小节讨论的Google Web服务。
应用推荐