Developers
How to test a UWA widget?
Before submitting your UWA widget to the Netvibes Ecosystem, you should make sure it works as expected. Here's how you can test your widget.
Local/standalone test
UWA widget can be tested locally or on its own on your server, thanks to two emulation files. Placed it the header of your widget, they will emulate the proper UWA environment, including the Netvibes UI, without having to be installed in Netvibes, using the standalone mode. To use these files, the head of your widget file must feature these two lines:
<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>
These lines can remain in your file once you submit your widget to Netvibes: it won't harm anything.
Online test
UWA widgets are not yet natively integrated into Netvibes - you can't add it directly as you would with a classic module. In order to test your widget online, we have designed a special Netvibes module.
- In Netvibes, add one UWA runtime module by going to this url: http://www.netvibes.com/subscribe.php?module=UWA
- Copy/Paste a widget URL in the Edit section of the UWA runtime module.
You could also just click on the “Add to Netvibes” or “Add to iGoogle” buttons that are automatically displayed in the standalone disaply of your widget.
Desktop test
Apple Dashboard users: download the Dashboard UWA widget, install it on your Dashboard, copy/paste the URL of the online UWA widget you want to test (don't use a local, offline copy), and enjoy.
Opera users: download the Opera UWA widget, install it in Opera, copy/paste the URL of the online UWA widget you want to test (don't use a local, offline copy), and enjoy.
- Send to a friend
- Add to favorites
- Last modified: 2008/04/24 23:27

