Developing Windows Vista Sidebar Gadgets
by Mike Riley

Listing One

<?xml version="1.0" encoding="utf-8" ?>
<gadget>
  <name>My First Gadget</name>
  <namespace>microsoft.windows</namespace>
  <version>1.0</version>
  <author name="Mike Riley">
    <info url="www.mikeriley.com" />
  </author>
  <copyright>Copyright (c)2007</copyright>
  <description>A simple gadget that displays "DDJ Rules!" in the Sidebar.</description>
  <icons>
    <icon width="130" height="130" src="ddj.png" />
  </icons>
  <hosts>
    <host name="sidebar">
      <base type="HTML" apiVersion="1.0.0" src="gadget.html" />
      <permissions>full</permissions>
      <platform minPlatformVersion="0.3" />
    </host>
  </hosts>
</gadget>



1


