<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Widgetize your Nabaztag!</title>
	<atom:link href="http://dev.netvibes.com/blog/2007/11/08/widgetize-your-nabaztag/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev.netvibes.com/blog/2007/11/08/widgetize-your-nabaztag/</link>
	<description>News and articles about the Netvibes API</description>
	<pubDate>Thu, 21 Aug 2008 18:08:12 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Xavier</title>
		<link>http://dev.netvibes.com/blog/2007/11/08/widgetize-your-nabaztag/#comment-1938</link>
		<dc:creator>Xavier</dc:creator>
		<pubDate>Thu, 15 Nov 2007 14:13:54 +0000</pubDate>
		<guid isPermaLink="false">http://dev.netvibes.com/blog/2007/11/08/widgetize-your-nabaztag/#comment-1938</guid>
		<description>Nope. That would be true if 'widget' was defined in the whole scope of the widget. That's not the case. Just try this:
&lt;pre&gt;
&lt;code&gt;
&#60;script type="text/javascript"&gt;
widget.onLoad = function() {
  widget.addBody('Test');
  }
&#60;/script&gt;
&lt;/code&gt;
&lt;/pre&gt;
...and...
&lt;pre&gt;
&lt;code&gt;
&#60;script type="text/javascript"&gt;
this.onLoad = function() {
  widget.addBody('Test');
  }
&#60;/script&gt;
&lt;/code&gt;
&lt;/pre&gt;

</description>
		<content:encoded><![CDATA[<p>Nope. That would be true if &#8216;widget&#8217; was defined in the whole scope of the widget. That&#8217;s not the case. Just try this:</p>
<pre>
<code>
&lt;script type="text/javascript">
widget.onLoad = function() {
  widget.addBody('Test');
  }
&lt;/script>
</code>
</pre>
<p>&#8230;and&#8230;</p>
<pre>
<code>
&lt;script type="text/javascript">
this.onLoad = function() {
  widget.addBody('Test');
  }
&lt;/script>
</code>
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: yoan</title>
		<link>http://dev.netvibes.com/blog/2007/11/08/widgetize-your-nabaztag/#comment-1937</link>
		<dc:creator>yoan</dc:creator>
		<pubDate>Thu, 15 Nov 2007 14:05:06 +0000</pubDate>
		<guid isPermaLink="false">http://dev.netvibes.com/blog/2007/11/08/widgetize-your-nabaztag/#comment-1937</guid>
		<description>because widget.onLoad belongs to widget, you don't have to use widget but "this" should be enough. nope?</description>
		<content:encoded><![CDATA[<p>because widget.onLoad belongs to widget, you don&#8217;t have to use widget but &#8220;this&#8221; should be enough. nope?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
