What makes a valid UWA widget?
In order for your widget to work properly within the UWA environment, it has to follow the following rules.
It MUST be well-formed XML
It MUST be UTF-8 encoded
It MUST feature the Netvibes namespace
It MUST place the JavaScript and CSS code in the HEAD section of the HTML file
It SHOULD use JavaScript/Ajax to send/receive data
It SHOULD work within an IFRAME
It SHOULD make use of a legal or personnal Web service/API
It SHOULD be a static file - no server side scripting
Additionnaly, if you intend to test your widget locally, it SHOULD make use of the following JavaScript and CSS emulation files:
<link rel="stylesheet" type="text/css"
href="http://www.netvibes.com/themes/uwa/style.css" />
<script type="text/javascript"
src="http://www.netvibes.com/js/UWA/load.js.php?env=Standalone"></script>