New feature: BlogWidget export
Two new functionalities have been added to UWA recently: the BlogWidget export and the authentication methods. This post presents the former, while the later will be presented in a forthcoming post...
Even though UWA widget are by default able to be used in environments other than Netvibes (namely Google IG and the Apple Dashboard, for starters), one of the most requested features since the launch of the new API has been to be able to directly put a widget on one's personal page - that is, a blog or a personal site rather a personal Netvibes page.
Let's hear it for the BlogWidget export method, then. Launched this very week, at allows you to do just that: include a few JavaScript lines to your HTML code, set up the widget's preferences if necessary, and reload to see the widget included in the page. By default, widgets are included through an IFRAME.
A lengthy documentation is already available, but we're going to directly let you in on the juicy part here.
Let's say that you want to display the 3 latest 'gadgets' news from Digg on your site/blog, for instance, with only news that got more than 100 diggs. Here's the widget's URL, and here's how you're going to use it.
<script type="text/javascript"
src="http://www.netvibes.com/js/UWA/load.js.php?env=BlogWidget">
</script>
<div id="UWADiggWidget">Loading the UWADigg Widget</div>
<script type="text/javascript">
var BW = new UWA.BlogWidget( {
container: document.getElementById('UWADiggWidget'),
moduleUrl: 'http://www.netvibes.com/api/uwa/examples/digg.xhtml'
} );
BW.setConfiguration( { 'color': '#ffde00', 'title' : 'Digg' } );
BW.setPreferencesValues( {
'category':'gadgets', 'minimal':'100', 'limit':'3' } );
</script>
This code would result in this:
Tags: portability, uwa, widget
April 26th, 2007 at 4:42 pm
Very cool ! Can’t wait to put a fireplace on my blog
May 1st, 2007 at 12:15 pm
Great news !
Just a little problem about Google IG, since their update the UWA widget didn’t work anymore.
May 1st, 2007 at 3:01 pm
> Just a little problem about Google IG, since their update the UWA widget didn’t work anymore.
Sorry, the bug come from my widget
October 10th, 2007 at 4:35 pm
Where can i find the moduleUrl for widgets from Ecosystem? Do you plan to add a direct download for BlogWidget, like you did for Opera ot Dashboard?
March 31st, 2008 at 9:33 pm
#
Michel Says:Where can i find the moduleUrl for widgets from Ecosystem? Do you plan to add a direct download for BlogWidget, like you did for Opera ot Dashboard?
————-
I can find the moduleUrl for widgets from Ecosystem
July 16th, 2008 at 12:25 am
Just a little problem about Google IG, since their update the UWA widget didn’t work anymore.