Google gadgets (1): Starting from Hello World

Source: Internet
Author: User

Link: http://www.cnblogs.com/biggates/archive/2008/01/04/1026587.html

First let's take a look at the http://code.google.com/apis/gadgets/docs/gs.html#GGE, this is GGE, Google gadgets Editor, an online gadget Editor, Google provides the edit and preview tabs for us to edit, you can also add this GGE as a widget to the igoogle homepage, which is really good.

Similarly, some common gadget templates are provided for us to modify, such as the famous "Hello World ":

1 <? XML version = "1.0" encoding = "UTF-8"?>
2 <module>
3 <moduleprefs Title = "Hello world example"/>
4 <content type = "html">
5 <! [CDATA [Hello, world!]>
6 </content>
7 </module>

As you can see, a gadget is actually an XML file. We can use HTML for the layout of the gadget, or use JavaScript to add dynamic effects to the gadget.

Http://code.google.com/apis/opensocial/docs/javascript/index.html here is the opensocial API.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.