Create Gadget Folder
Create a folder under the Program FilesWindows SidebarGadgets directory.
For example:
Temperature.Gadget
Add Gadget XML file
Add “gadget.xml” to the gadget folder
<?xml version="1.0" encoding="utf-8" ?>
<gadget>
<name>Temperature</name>
<version>1.0.0.0</version>
<hosts>
<host name="sidebar">
<base type="HTML" apiVersion="1.0.0" src="Temperature.html" />
<permissions>FULL</permissions>
<platform minPlatformVersion="1.0" />
</host>
</hosts>
</gadget>
Add Gadget HTML file
Add gadget HTML file to the gadget folder. The file name of the HTML needs to be Gadget_Name.html
For example:
Temperature.html
Here is the source code for the html file:
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=unicode" />
<style type="text/css">
body{
margin: 0;
width: 300px;
height:30px;
font-family: Georgia;
}
#gadgetContainer{
margin-top:6px;
width:300px;
height:30px;
}
</style>
</head>
<body>
<div id="gadgetContainer">
Current Temperature: <Copy and paste your widget embed tag here>
</div>
</body>
</html>
Credits
Submitted by mancinip

