Icon
The Icon
element allows the developer to specify a 16×16-pixel thumbnail to
be associated with the gadget. Icons usually appear beside the gadget’s
title in the context of a gadget gallery. The content of the Icon
element can be either a URL to a
web-based image or inline base64-encoded image data.
Icon
may take the following
form:
<ModulePrefs> <Icon>http://www.mysite.com/favicon.ico</Icon> </ModulePrefs>
Table 3-3 lists the attributes available
to you when specifying an Icon
. Both
are optional.
Table 3-3. Icon attributes
Attribute | Description |
---|---|
| The encoding you use for the image when embedding it.
Only |
| The MIME type of the embedded icon text. |
Get Programming Social Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.