Back to my page

Developers


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:

Loading the UWADigg Widget
Read the whole documentation to get a better idea of how you can put UWA widgets on your site, and what it implies.
Share this post:
  • E-mail this story to a friend!
  • Print this article!
  • Netvibes
  • Twitter
  • Facebook
  • Digg
  • Reddit
  • del.icio.us
  • blogmarks
  • description
  • Wikio

Tags: , ,

6 Responses to “New feature: BlogWidget export”

  1. Maurice Says:

    Very cool ! Can’t wait to put a fireplace on my blog ;)

  2. Country Says:

    Great news !

    Just a little problem about Google IG, since their update the UWA widget didn’t work anymore.

  3. Country Says:

    > Just a little problem about Google IG, since their update the UWA widget didn’t work anymore.

    Sorry, the bug come from my widget ;)

  4. 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?

  5. fizik Says:

    #
    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

  6. islami sohbet Says:

    Just a little problem about Google IG, since their update the UWA widget didn’t work anymore.

Leave a Reply


Business

Partner with us.

Developers

Build once, run everywhere.

Community

Get involved, get localized.

Press

News. Media kits. Press releases.