<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Snippets code from my daily experience &#187; flock</title>
	<atom:link href="http://dafizilla.wordpress.com/category/flock/feed/" rel="self" type="application/rss+xml" />
	<link>http://dafizilla.wordpress.com</link>
	<description>Just another unnecessary code resource blog</description>
	<lastBuildDate>Sun, 20 Dec 2009 10:00:19 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='dafizilla.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/635b338f35d7304cae2e1b31926d3592?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Snippets code from my daily experience &#187; flock</title>
		<link>http://dafizilla.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dafizilla.wordpress.com/osd.xml" title="Snippets code from my daily experience" />
		<item>
		<title>Discontinue extensions support for some applications</title>
		<link>http://dafizilla.wordpress.com/2009/07/18/discontinue-extensions-support-for-some-applications/</link>
		<comments>http://dafizilla.wordpress.com/2009/07/18/discontinue-extensions-support-for-some-applications/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 15:46:44 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[extension]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[komodo]]></category>
		<category><![CDATA[kompozer]]></category>
		<category><![CDATA[seamonkey]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/?p=635</guid>
		<description><![CDATA[Before publish new updates for my extensions I try to test them on every application declared supported on install.rdf, this is a very expensive activity when a specific extension runs on different kind of applications and versions.
I add support for a new application (e.g browser, email client, multimedia applet)

when I use the application itself and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=635&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Before publish new updates for my extensions I try to test them on every application declared supported on install.rdf, this is a very expensive activity when a specific extension runs on different kind of applications and versions.</p>
<p>I add support for a new application (e.g browser, email client, multimedia applet)</p>
<ul>
<li>when I use the application itself and I need the extension functionality on it</li>
<li>when other users ask to me</li>
</ul>
<p>Now I must decide to drop support for some applications and for specific versions to simplify my release tests cycle.</p>
<p>In some cases it&#8217;s easy to decide, for example <strong>Firefox 2.x</strong> is no longer supported by Mozilla and users continuing to use it are braves or simply fools.</p>
<p>Supporting <strong>SeaMonkey 1.x</strong> is very hard for me, no special technical problems SM is a very good product but I simply don&#8217;t use it.<br />
Instead I&#8217;m a satisfied <strong>SeaMonkey 2.0</strong> user since alpha1 version.</p>
<p>Supporting <strong>Flock</strong>, the &#8220;social&#8221; browser, is easy due to the fact is very compatible with <strong>Firefox 3.x</strong> but sometimes little differences caused me headaches.<br />
I think to drop support for extensions not Flock centric considering the <a href="http://www.binaryturf.com/flock-drops-the-ball-on-extension-hosting/">decision taken from its team last December</a></p>
<p><strong>Komodo 4.x</strong> is no longer upgraded by ActiveState but many people continues to use it, Komodo has a commercial version, KomodoIDE, and not all users purchased the upgrade (me too) so it is very difficult to drop the very old 4.x architecture.</p>
<p><strong>NVU</strong> is dead but many users continue to use it also if its sibling/son <strong>Kompozer</strong> should be strong preferred.</p>
<h3>What specifically means &#8220;discontinue support&#8221;</h3>
<p>I would to remove specific tricky code present in extensions to make them cleaner but this can be a bad solution, regressions are always possible so the cure can be worse than the disease&#8230;</p>
<p>Removing <strong>SeaMonkey 1.x</strong> support will make <strong>my</strong> extension build system cleaner no longer install.js, contents.rdf  and informations present both in install.rdf and chrome.manifest, obviously I don&#8217;t discard support <strong>only</strong> to remove a couple of configuration files but I consider it another complication.</p>
<p>So, &#8220;discontinue support&#8221; for me means moving attention and energies on applications (and versions) I can test easily, on application I daily use,<strong> </strong><span style="text-decoration:underline;"><strong> on applications I receive feedback from other users</strong></span>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/635/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/635/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/635/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=635&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2009/07/18/discontinue-extensions-support-for-some-applications/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>Simplify Mozilla profiles usage</title>
		<link>http://dafizilla.wordpress.com/2008/10/27/simplify-mozilla-profiles-usage/</link>
		<comments>http://dafizilla.wordpress.com/2008/10/27/simplify-mozilla-profiles-usage/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 13:00:34 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[bash]]></category>
		<category><![CDATA[cygwin]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[komodo]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[openkomodo]]></category>
		<category><![CDATA[songbird]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/?p=33</guid>
		<description><![CDATA[I use many applications written using Mozilla technologies, these applications support the so called profiles allowing users to run multiple instances of same application but using different &#8220;configuration&#8221; environments.
As developer I use profiles to test extensions without compromise the integrity of my main env.
Running multiple profiles is described in million of places so I don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=33&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I use many applications written using Mozilla technologies, these applications support the so called <em>profiles</em> allowing users to run multiple instances of same application but using different &#8220;configuration&#8221; environments.</p>
<p>As developer I use profiles to test extensions without compromise the integrity of my main env.</p>
<p><a href="http://support.mozilla.com/en-US/kb/Profiles">Running multiple profiles is described in million of places</a> so I don&#8217;t annoy you but I describe my own solution based on a <a href="http://www.gnu.org/software/bash/">bash</a> script that hides details.</p>
<p>Creating bash scripts to run separated application profiles requires only a bit of shell programming experience but it is a repetitive task and can be boring when you need to run different version for example firefox 2 and firefox 3, you manually must write the same script modifing only the application path.</p>
<p>My approach allow to configure applications to run in a single file and then create automatically the necessary scripts.</p>
<p>Suppose you want to run a new songbird profile, using my script you can write:</p>
<pre>dave@dafihome:~$ sb</pre>
<p>The sb script creates a new separated profile on a configured directory with a default name, but suppose you need a second (third and so on) songbird profile you can pass your preferred name</p>
<pre>dave@dafihome:~$ sb testVSW</pre>
<p>Now you need to test also Firefox 2.x and Firefox 3.x profiles, simply write</p>
<pre>dave@dafihome:~$ ff20 testVSW
dave@dafihome:~$ ff30 testVSW</pre>
<p>So you have three <strong>separated</strong> profiles with same name testVSW, how they don&#8217;t clash? The real name created by script uses the application prefix so the directories names are</p>
<ul>
<li><span style="color:#ff0000;">sb</span>testVSW</li>
<li><span style="color:#ff0000;">ff20</span>testVSW</li>
<li> <span style="color:#ff0000;">ff30</span>testVSW</li>
</ul>
<p>Do you need Komodo 4.4.x and 5.x profiles? Again</p>
<pre>dave@dafihome:~$ ko4
dave@dafihome:~$ ko5 italian-locale</pre>
<h3>Configuring applications</h3>
<p>The names sb, ff20, ff30, ko4 and ko5 are configured in &#8216;~/.moz_profilerc&#8217;</p>
<p>The file format is very similar to <a href="http://en.wikipedia.org/wiki/Fstab">fstab</a> and contains three columns describing applications.</p>
<p>The first column contains the type of application.</p>
<p>At this time it can be set to mozapp or komodo, this is necessary because mozilla apps uses MOZ_NO_REMOTE env variable to run separated profiles instead komodo uses KOMODO_USERDATADIR.</p>
<p>The second column is the script name user runs from command line (and is also the prefix added to profile directory names)</p>
<p>The third column contains the application absolute path</p>
<p>Below is shown my configuration</p>
<pre>mozapp     ff30          /opt/devel/mozilla/ff30/firefox
mozapp     ff30en        /opt/devel/mozilla/ff30en/firefox
# ff20 refers to installed firefox
mozapp     ff20          /usr/bin/firefox</pre>
<pre>mozapp     flock         /opt/devel/mozilla/flock/flock

mozapp     komp          /opt/devel/mozilla/kompozer/kompozer</pre>
<pre>mozapp     sb            /opt/devel/mozilla/Songbird/songbird
mozapp     mccoy         /opt/devel/mozilla/mccoy/mccoy</pre>
<pre>komodo     ko5           /opt/devel/mozilla/ko5/bin/komodo
komodo     ko4           /opt/devel/mozilla/Komodo-Edit-4/bin/komodo</pre>
<h3>Profile destination directories</h3>
<p>I group profiles by extension, for example inside ViewSourceWith source directory I have a &#8216;profile&#8217; subdirectory where all profiles are written, this is specified in &#8216;~/.moz_profilerc&#8217;</p>
<pre># Directory where profiles will be created, inside profile present on current directory
profileDir      $PWD/profile

# If true create profileDir silently, otherwise generate error
profileDirCreateSilently    false</pre>
<p>It is possible to write <strong>all</strong> profiles inside a specific directory setting profileDir</p>
<pre>profileDir      /devel/mozapp/profiles</pre>
<h3>Scripts destination directories</h3>
<p>The scripts sb, ff20, ff30, ko4, ko5 are symbolic links, they are generally created inside a directory present on $PATH env variable.</p>
<p>I prefer to add them inside /usr/local/bin (this should require to be root)</p>
<pre># Directory where links will be created, generally resides in env PATH
linkDestDir     /usr/local/bin</pre>
<h3>The script moz_profile.sh</h3>
<p>All operations are done using the script moz_profile.sh that allows to edit configuration file and create applications scripts.</p>
<p>Editing configuration (it opens the editor set on $VISUAL or $EDITOR env)</p>
<pre>dave@dafihome:~$ moz_profile.sh -e</pre>
<p>Creating scripts</p>
<pre>dave@dafihome:~$ moz_profile.sh -c</pre>
<p>This script greatly simplifies switching from profiles, obviously occupied disk space grows but after a profile is no more needed you can delete it without risks</p>
<p>The script, that works also on <a href="http://www.cygwin.com/">Cygwin</a>, is present on SVN repo at <a href="http://dafizilla.svn.sourceforge.net/viewvc/dafizilla/trunk/common/moz_profile_switcher/moz_profile.sh?revision=114&amp;view=markup">moz_profile.sh</a></p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/33/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/33/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/33/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=33&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2008/10/27/simplify-mozilla-profiles-usage/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>Central extensions repositories</title>
		<link>http://dafizilla.wordpress.com/2008/03/23/central-extensions-repositories/</link>
		<comments>http://dafizilla.wordpress.com/2008/03/23/central-extensions-repositories/#comments</comments>
		<pubDate>Sun, 23 Mar 2008 20:21:00 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[komodo]]></category>
		<category><![CDATA[songbird]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/?p=46</guid>
		<description><![CDATA[I spend my time to created extensions based on Gecko expecially for

Firefox, Thunderbird and SeaMonkey (all under Mozilla umbrella)
Songbird
Flock
KomodoEdit/KomodoIDE

Every product has its own developer website where you can upload your extensions (Komodo hasn&#8217;t a dedicated upload zone).
From a visitor/user feedback&#8217;s point of view Flock is the best.
Flock addons site is cool I love it, extension [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=46&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I spend my time to created extensions based on Gecko expecially for</p>
<ul>
<li>Firefox, Thunderbird and SeaMonkey (all under Mozilla umbrella)</li>
<li>Songbird</li>
<li>Flock</li>
<li>KomodoEdit/KomodoIDE</li>
</ul>
<p>Every product has its own developer website where you can upload your extensions (Komodo hasn&#8217;t a dedicated upload zone).</p>
<p><i>From a visitor/user feedback&#8217;s point of view Flock is the best.</i></p>
<p>Flock <a href="https://extensions.flock.com/addons">addons</a> site is cool I love it, extension informations are very complete, you can see also the locales supported by extensions.</p>
<p>Songbird has a cool <a href="http://addons.songbirdnest.com/">addons</a> site simple and very quick, extension informations are complete.</p>
<p>Mozilla with <a href="https://addons.mozilla.org/it/firefox/">AMO</a> is the most important but is also the worst.</p>
<p>The outsider KomodoEdit <a href="http://community.activestate.com/addons">addons</a> site not yet really exists, registered users can&#8217;t upload their extensions.<br />
I hope Komodo guys take a look at Flock addons site if they decide to create a similar place.</p>
<p><i>From a <b>developer</b> feedback&#8217;s point of view Songbird is the best.</i><br />
After signup you can immediately upload and publish extension on Songbird site, the upload process is easy and publication policy very developer friendly.</p>
<p>AMO upload mechanism is simple but publication mechanism is awful. I don&#8217;t like its approval mechanism based on sandbox, my <a href="http://dafizilla.sourceforge.net/richfeedbutton/index.php">RichFeedButton</a> waits approval for an year.</p>
<p>Flock allows to upload extensions immediately after signup but publication waits approval, after a couple of days I&#8217;m yet waiting <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>The most mature and important addons site AMO, has IMHO the worst user/developer experience.</p>
<p>I don&#8217;t like so much Flock but it has a great develope/user website</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=46&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2008/03/23/central-extensions-repositories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>Get HTML code from nsISelection in XUL</title>
		<link>http://dafizilla.wordpress.com/2008/03/22/get-html-code-from-nsiselection-in-xul/</link>
		<comments>http://dafizilla.wordpress.com/2008/03/22/get-html-code-from-nsiselection-in-xul/#comments</comments>
		<pubDate>Sat, 22 Mar 2008 07:56:33 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[nsISelection]]></category>
		<category><![CDATA[selection]]></category>
		<category><![CDATA[xul]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/?p=45</guid>
		<description><![CDATA[Recently after a discussion with my friend bard we realized how it is easy to obtain HTML source code associated to the current browser (eg Firefox, Flock) selection.
It&#8217;s too simple to discuss the snippet, leave the code speaks itself

function&#160;selectionToHTMLSource()&#160;&#160;{
&#160;&#160;&#160;&#160;var&#160;sel&#160;=&#160;document.commandDispatcher.focusedWindow.getSelection();
&#160;&#160;&#160;&#160;if&#160;(sel.rangeCount&#160;&#60;&#160;1)&#160;{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;return&#160;"";
&#160;&#160;&#160;&#160;}

&#160;&#160;&#160;&#160;var&#160;node&#160;=&#160;sel.getRangeAt(0).cloneContents();
&#160;&#160;&#160;&#160;var&#160;xmlStr&#160;=&#160;new&#160;XMLSerializer().serializeToString(node);
&#160;&#160;&#160;&#160;return&#160;xmlStr;
}
The code handles single selection, if you need to work with multiple selections like tables rows/cells take [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=45&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Recently after a discussion with my friend <a href="http://sameplace.cc/fr/blog">bard</a> we realized how it is easy to obtain HTML source code associated to the current browser (eg Firefox, Flock) selection.</p>
<p>It&#8217;s too simple to discuss the snippet, leave the code speaks itself</p>
<pre><span style="font-size:12px;">
<span style="color:#871f78;">function</span><span class="default">&nbsp;</span><span class="identifiers">selectionToHTMLSource</span><span style="color:#781f87;">()</span><span class="default">&nbsp;&nbsp;</span><span style="color:#781f87;">{</span>
<span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#871f78;">var</span><span class="default">&nbsp;</span><span class="identifiers">sel</span><span class="default">&nbsp;</span><span style="color:#781f87;">=</span><span class="default">&nbsp;</span><span class="identifiers">document</span><span style="color:#781f87;">.</span><span class="identifiers">commandDispatcher</span><span style="color:#781f87;">.</span><span class="identifiers">focusedWindow</span><span style="color:#781f87;">.</span><span class="identifiers">getSelection</span><span style="color:#781f87;">();</span>
<span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#871f78;">if</span><span class="default">&nbsp;</span><span style="color:#781f87;">(</span><span class="identifiers">sel</span><span style="color:#781f87;">.</span><span class="identifiers">rangeCount</span><span class="default">&nbsp;</span><span style="color:#781f87;">&lt;</span><span class="default">&nbsp;</span><span style="color:#8b0000;">1</span><span style="color:#781f87;">)</span><span class="default">&nbsp;</span><span style="color:#781f87;">{</span>
<span class="default">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#871f78;">return</span><span class="default">&nbsp;</span><span style="color:#23238e;">""</span><span style="color:#781f87;">;</span>
<span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#781f87;">}</span>

<span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#871f78;">var</span><span class="default">&nbsp;</span><span class="identifiers">node</span><span class="default">&nbsp;</span><span style="color:#781f87;">=</span><span class="default">&nbsp;</span><span class="identifiers">sel</span><span style="color:#781f87;">.</span><span class="identifiers">getRangeAt</span><span style="color:#781f87;">(</span><span style="color:#8b0000;">0</span><span style="color:#781f87;">).</span><span class="identifiers">cloneContents</span><span style="color:#781f87;">();</span>
<span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#871f78;">var</span><span class="default">&nbsp;</span><span class="identifiers">xmlStr</span><span class="default">&nbsp;</span><span style="color:#781f87;">=</span><span class="default">&nbsp;</span><span style="color:#871f78;">new</span><span class="default">&nbsp;</span><span class="identifiers">XMLSerializer</span><span style="color:#781f87;">().</span><span class="identifiers">serializeToString</span><span style="color:#781f87;">(</span><span class="identifiers">node</span><span style="color:#781f87;">);</span>
<span class="default">&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color:#871f78;">return</span><span class="default">&nbsp;</span><span class="identifiers">xmlStr</span><span style="color:#781f87;">;</span>
<span style="color:#781f87;">}</span></span></pre>
<p>The code handles single selection, if you need to work with multiple selections like tables rows/cells take a look at <a href="http://dafizilla.sourceforge.net/table2clip/index.php">Table2Clipboard</a></p>
<pre></pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/45/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/45/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=45&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2008/03/22/get-html-code-from-nsiselection-in-xul/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>Short-circuits, innocent code and nsIDOMEvent targets</title>
		<link>http://dafizilla.wordpress.com/2007/07/07/short-circuits-innocent-code-and-nsidomevent-targets/</link>
		<comments>http://dafizilla.wordpress.com/2007/07/07/short-circuits-innocent-code-and-nsidomevent-targets/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 16:08:55 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[xpcom]]></category>
		<category><![CDATA[xul]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/07/07/short-circuits-innocent-code-and-nsidomevent-targets/</guid>
		<description><![CDATA[ An user on AMI tells me that my bonsai RichFeedButton doesn&#8217;t work when installed together with another extension.
I install the offended extension and discover that RichFeedButton breaks this little jewel!
The solution was simple but the bug hunting was hard  
The problem was into an innocent function associated with a listener that simply checks [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=24&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p> An user on <a href="http://forum.addonsmirror.net/index.php?s=&amp;showtopic=6795&amp;view=findpost&amp;p=25881">AMI</a> tells me that my bonsai <a href="http://dafizilla.sourceforge.net/richfeedbutton/index.php">RichFeedButton</a> doesn&#8217;t work when installed together with another extension.</p>
<p>I install the offended extension and discover that RichFeedButton breaks this little <a href="http://dafizilla.wordpress.com/wp-admin/Organize%20Search%20Engines%20">jewel</a>!</p>
<p>The solution was simple but the bug hunting was hard <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>The problem was into an innocent function associated with a <a href="http://www.xulplanet.com/references/objref/XULElement.html#method_addEventListener">listener</a> that simply checks the <a href="http://www.xulplanet.com/references/xpcomref/ifaces/nsIDOMEvent.html">nsIDOMEvent</a>&#8217;s target id and attrName as shown below<br />
<code>if (<font color="#ff0000">event.target.id == "xxx"</font> &amp;&amp; <font color="#3366ff">event.attrName == "yyy"</font>) {</code><br />
<code>...</code><br />
<code>}</code></p>
<p><code></code><br />
For some motivations the &#8220;event.target&#8221; expression <em>breaks </em>the other extension.</p>
<p>I suspect event.target at some event stage isn&#8217;t valid and generates internally some error corrupting (???) the full event queue or simply I&#8217;m a bad programmer <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>The solution??</p>
<p>Simply swaps first equality test with second one</p>
<p><code>if (<font color="#3366ff">event.attrName == "yyy"</font> &amp;&amp; <font color="#ff0000">event.target.id == "xxx"</font>) {</code><br />
<code>...</code><br />
<code>} </code></p>
<p><code></code><br />
The javascript <a href="http://en.wikipedia.org/wiki/Minimal_evaluation">short-circuit evaluation</a> ensures me event.target.id is parsed only if first condition is true. <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Every day I learn something about XUL and its implementation&#8230; <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/24/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/24/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/24/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/24/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/24/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=24&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/07/07/short-circuits-innocent-code-and-nsidomevent-targets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>How many applications based on XUL exist?</title>
		<link>http://dafizilla.wordpress.com/2007/07/07/how-many-applications-based-on-xul-exist/</link>
		<comments>http://dafizilla.wordpress.com/2007/07/07/how-many-applications-based-on-xul-exist/#comments</comments>
		<pubDate>Sat, 07 Jul 2007 09:43:53 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[xul]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/07/07/how-many-applications-based-on-xul-exist/</guid>
		<description><![CDATA[Thanks to
Jane Ocean to give me many names to add to this list
marcoos to help me to discover new cool XUL applications
The Mozilla XUL application framework is used to create mainly two types of standalone applications: browsers and email client.
But XUL has all potential to be used to create any complex and cross platform application.
Well, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=23&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p align="right">Thanks to</p>
<p align="right">Jane Ocean to give me many names to add to this list</p>
<p align="right">marcoos to help me to discover new cool XUL applications</p>
<p>The Mozilla <a href="http://en.wikipedia.org/wiki/XUL">XUL</a> application framework is used to create mainly two types of standalone applications: browsers and email client.</p>
<p>But XUL has all potential to be used to create any complex and cross platform application.</p>
<p>Well, I want to list all applications based on XUL (or <a href="http://en.wikipedia.org/wiki/Xulrunner">XULRunner</a>)</p>
<p align="center">Browsers</p>
<p align="center">absolutely the most significant XUL target</p>
<ul>
<li><a href="http://www.mozilla-europe.org/en/products/firefox/">Firefox</a> &#8211; no words&#8230; the browser changed internet <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </li>
<li><span class="term_title"><a href="http://www.mozilla.org/products/mozilla1.x/">Mozilla Suite</a> &#8211; All in one, browser+email+HTML composer<br />
</span></li>
<li><a href="http://www.mozilla.org/projects/seamonkey/">SeaMonkey</a> &#8211; The Mozilla Suite successor, I think is better than Firefox but I love <span class="term_title">bell and whistle</span></li>
<li><a href="http://www.flock.com/">Flock</a> &#8211; A step ahead but actually only a Firefox with some extensions already installed (IMHO)</li>
<li><a href="http://browser.netscape.com/">Netscape</a> 8.x &#8211; No revolution but contains many interesting features, it&#8217;s based on Firefox 1.0</li>
<li><a href="http://browser.netscape.com/">Netscape</a> 9.x &#8211; it&#8217;s based on Firefox 2.0</li>
<li><a href="http://www.mozilla.org/projects/minimo/">Minimo</a> &#8211; Browser for mobile devices</li>
<li><strike><a href="http://www.caminobrowser.org/">Camino</a> &#8211; Browser for MacOsX</strike> It&#8217;s based on Mozilla’s Gecko but isn&#8217;t a XUL application</li>
<li><a href="http://en.wikipedia.org/wiki/Swiftweasel">Swiftweasel</a> and <a href="http://en.wikipedia.org/wiki/Iceweasel">Iceweasel</a> &#8211; Binary optimized Firefox. <strong>Iceweasel</strong> is under GNU license</li>
<li><a href="http://starkravingfinkle.org/blog/2007/03/site-specific-browser-using-webrunner/">WebRunner</a></li>
</ul>
<p align="center">Email clients</p>
<p align="center">anybody has news about the Eudora porting to XUL??</p>
<ul>
<li><a href="http://www.mozilla-europe.org/en/products/thunderbird/">Thunderbird</a> &#8211; the well known email client</li>
</ul>
<p align="center">HTML Editors</p>
<p align="center">nothing so innovative but very usable</p>
<ul>
<li><a href="http://www.nvu.com/index.php">NVU</a> &#8211; why this cool project has been abandoned????</li>
<li><a href="http://www.kompozer.net/">kompoZer</a> &#8211; the NVU successor</li>
</ul>
<p align="center">Schedulers, calendars and PIM</p>
<p align="center">I&#8217;m waiting to completely remove Outlook</p>
<ul>
<li><a href="http://www.mozilla.org/projects/calendar/sunbird/">Sunbird</a> &#8211; Cool, easy and enough stable</li>
<li><a href="http://www.mozilla.org/projects/calendar/lightning/">Lightning</a> &#8211; Ok Ok I know! <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' />  This isn&#8217;t a standalone application but sunbird as extension</li>
</ul>
<p align="center">Developer tools</p>
<ul>
<li><a href="http://www.activestate.com/Products/">Komodo</a> &#8211; Interesting IDE project, cool KomotoEdit full free (added 08 Sep 2007)</li>
</ul>
<p align="center">Instant Messaging</p>
<p align="left">
<ul>
<li> <a href="http://instantbird.com/">Instantbird</a></li>
</ul>
<p align="center">Other categories</p>
<p align="center">Non stricly web-related XUL applications</p>
<ul>
<li><a href="http://www.celtx.com/">Celtx</a>  &#8211; Celtx is a project collaboration tool for people who work in film, TV, theater and New Media</li>
<li><a href="http://www.songbirdnest.com/">Songbird</a> &#8211; <strong>THE</strong> web media player, I really love it but maybe it&#8217;s a bit slow and unstable</li>
<li><a href="http://developer.emusic.com/">eMusic DLM</a> &#8211; Download manager</li>
<li><a href="http://rhaptos.org/downloads/editing/etna/">Etna</a> &#8211; XML editor</li>
<li><a href="http://www.joost.com/">Joost </a>- Internet TV viewer and more</li>
<li><a href="http://www.getmiro.com">Miro</a> &#8211; Video player</li>
<li><a href="http://chatzilla.rdmsoft.com/xulrunner/">Chatzilla</a> &#8211; IRC client</li>
<li><a href="http://secondlife.com/">Second Life</a> client &#8211; The well known artificial world (added 28 Jul 2007)</li>
<li><a href="http://open-ils.org/">Evergreen</a>  &#8211; An enterprise-class Integrated Library System (ILS) (added 23 Sep 2007)</li>
</ul>
<p>At this time I found only these but my search continue <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>Do you know other XUL based applications?</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=23&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/07/07/how-many-applications-based-on-xul-exist/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
		<item>
		<title>Flock is a bug!!!!</title>
		<link>http://dafizilla.wordpress.com/2007/06/30/flock-is-a-bug/</link>
		<comments>http://dafizilla.wordpress.com/2007/06/30/flock-is-a-bug/#comments</comments>
		<pubDate>Sat, 30 Jun 2007 07:34:33 +0000</pubDate>
		<dc:creator>dafi</dc:creator>
				<category><![CDATA[firefox]]></category>
		<category><![CDATA[flock]]></category>
		<category><![CDATA[mozilla]]></category>
		<category><![CDATA[xpcom]]></category>

		<guid isPermaLink="false">http://dafizilla.wordpress.com/2007/06/30/flock-is-a-bug/</guid>
		<description><![CDATA[The browser flock is developed starting from Mozilla Gecko code but has many specific features.
Together with many cool features the flock team has added many bugs not present in original Gecko code!
The last I found involves the DOMAttrModified event listener.
The code below works on Firefox 1.5, 2.x and 3.x (thunks) but doesn&#8217;t work on flock!!!
onLoad [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=19&subd=dafizilla&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>The browser <a href="http://www.flock.com/">flock</a> is developed starting from Mozilla <a href="http://developer.mozilla.org/en/docs/Gecko_DOM_Reference">Gecko</a> code but has many specific features.</p>
<p>Together with many cool features the flock team has added many bugs not present in original Gecko code!</p>
<p>The last I found involves the <a href="http://www.xulplanet.com/references/elemref/ref_EventHandlers.html#attr_DOMAttrModified">DOMAttrModified</a> event listener.<br />
The code below works on Firefox 1.5, 2.x and 3.x (thunks) but doesn&#8217;t work on flock!!!</p>
<p><code>onLoad : function() {</code></p>
<p><code>    var feedButton = document.getElementById("feed-button");</code></p>
<p><code>    if (feedButton) {</code></p>
<p><code>    // add the listener for feedButton</code></p>
<p><code>    document.addEventListener("DOMAttrModified", RichFeed.onAttrModified, false); </code></p>
<p><code>    // triggers a modification only to test the listener</code></p>
<p><code>    feedButton.setAttribute("feeds", "true");</code></p>
<p><code>    // onAttrModified should receive the modification but this doesn't occur on Flock</code></p>
<p><code>    var v = feedButton.getAttribute("feeds");</code></p>
<p><code>    }</code></p>
<p><code>}</code></p>
<p><code>onAttrModified : function(event) {</code></p>
<p><code>    if (event.target.id == "feed-button") {</code></p>
<p><code>    // never called with Flock browser</code></p>
<p><code>    }</code></p>
<p><code>}</code></p>
<p>So my decision is to stop the flock support on my bonzai extensions, I have no time to search workarounds to all flock bugs.</p>
<p>Who cares for my decision? Nobody I know <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/dafizilla.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/dafizilla.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dafizilla.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dafizilla.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dafizilla.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dafizilla.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dafizilla.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dafizilla.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dafizilla.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dafizilla.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dafizilla.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dafizilla.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dafizilla.wordpress.com&blog=887576&post=19&subd=dafizilla&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://dafizilla.wordpress.com/2007/06/30/flock-is-a-bug/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/5759d7f64a710425e4ab730ba7a8311e?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dafi</media:title>
		</media:content>
	</item>
	</channel>
</rss>