<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Retrieving Your Extension Version</title>
	<atom:link href="http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/feed/" rel="self" type="application/rss+xml" />
	<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/</link>
	<description>Tidbits from Brian King&#039;s life</description>
	<lastBuildDate>Mon, 06 Feb 2012 10:47:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mook</title>
		<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/comment-page-1/#comment-182072</link>
		<dc:creator>Mook</dc:creator>
		<pubDate>Tue, 06 Jan 2009 16:13:16 +0000</pubDate>
		<guid isPermaLink="false">http://brian.kingsonline.net/talk/?p=355#comment-182072</guid>
		<description>It may also be important to note that, just like all the three million other interfaces in Mozilla, nsIExtensionManager isn&#039;t frozen.  Or maybe it isn&#039;t important; it&#039;s up to the extension developer to decide :)</description>
		<content:encoded><![CDATA[<p>It may also be important to note that, just like all the three million other interfaces in Mozilla, nsIExtensionManager isn&#8217;t frozen.  Or maybe it isn&#8217;t important; it&#8217;s up to the extension developer to decide :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: DigDug</title>
		<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/comment-page-1/#comment-182063</link>
		<dc:creator>DigDug</dc:creator>
		<pubDate>Tue, 06 Jan 2009 14:13:40 +0000</pubDate>
		<guid isPermaLink="false">http://brian.kingsonline.net/talk/?p=355#comment-182063</guid>
		<description>FUEL support something like this too.

Application.extensions.get(&quot;myext@foo.com&quot;).version

Of course that&#039;s Firefox only and won&#039;t work in older versions I guess?</description>
		<content:encoded><![CDATA[<p>FUEL support something like this too.</p>
<p>Application.extensions.get(&#8220;myext@foo.com&#8221;).version</p>
<p>Of course that&#8217;s Firefox only and won&#8217;t work in older versions I guess?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wladimir Palant</title>
		<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/comment-page-1/#comment-182061</link>
		<dc:creator>Wladimir Palant</dc:creator>
		<pubDate>Tue, 06 Jan 2009 10:56:41 +0000</pubDate>
		<guid isPermaLink="false">http://brian.kingsonline.net/talk/?p=355#comment-182061</guid>
		<description>Unfortunately, things aren&#039;t as easy if you have to support SeaMonkey 1.1 (or K-Meleon, for that reason). There is a way to retrieve extension version there as well but it is too unreliable so I decided to hardcode. The version number is filled in by my build scripts everywhere anyway so it doesn&#039;t matter.</description>
		<content:encoded><![CDATA[<p>Unfortunately, things aren&#8217;t as easy if you have to support SeaMonkey 1.1 (or K-Meleon, for that reason). There is a way to retrieve extension version there as well but it is too unreliable so I decided to hardcode. The version number is filled in by my build scripts everywhere anyway so it doesn&#8217;t matter.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Axel Hecht</title>
		<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/comment-page-1/#comment-182060</link>
		<dc:creator>Axel Hecht</dc:creator>
		<pubDate>Tue, 06 Jan 2009 10:54:00 +0000</pubDate>
		<guid isPermaLink="false">http://brian.kingsonline.net/talk/?p=355#comment-182060</guid>
		<description>Seems like you missed &lt;em&gt;install.rdf&lt;/em&gt; in the ems?

Using &lt;a href=&quot;https://developer.mozilla.org/En/FUEL/Extensions&quot; rel=&quot;nofollow&quot;&gt;FUEL Extensions&lt;/a&gt; would make the code easier still, I think.</description>
		<content:encoded><![CDATA[<p>Seems like you missed <em>install.rdf</em> in the ems?</p>
<p>Using <a href="https://developer.mozilla.org/En/FUEL/Extensions" rel="nofollow">FUEL Extensions</a> would make the code easier still, I think.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mossop</title>
		<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/comment-page-1/#comment-182059</link>
		<dc:creator>Mossop</dc:creator>
		<pubDate>Tue, 06 Jan 2009 10:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://brian.kingsonline.net/talk/?p=355#comment-182059</guid>
		<description>Daniel, this is already on MDC, though I grant you it could probably do with being somewhere better:

https://developer.mozilla.org/en/Code_snippets/Miscellaneous#Retrieving_the_version_of_an_extension_as_specified_in_the_extension%27s_install.rdf</description>
		<content:encoded><![CDATA[<p>Daniel, this is already on MDC, though I grant you it could probably do with being somewhere better:</p>
<p><a href="https://developer.mozilla.org/en/Code_snippets/Miscellaneous#Retrieving_the_version_of_an_extension_as_specified_in_the_extension%27s_install.rdf" rel="nofollow">https://developer.mozilla.org/en/Code_snippets/Miscellaneous#Retrieving_the_version_of_an_extension_as_specified_in_the_extension%27s_install.rdf</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mossop</title>
		<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/comment-page-1/#comment-182058</link>
		<dc:creator>Mossop</dc:creator>
		<pubDate>Tue, 06 Jan 2009 10:50:18 +0000</pubDate>
		<guid isPermaLink="false">http://brian.kingsonline.net/talk/?p=355#comment-182058</guid>
		<description>It is worth pointing out that there are still good reasons why hardcoding can be the better option, particularly if you have some automated build system that can take care of updating your version everywhere for you.

The problem is one of performance. In normal running the extensions database isn&#039;t loaded until absolutely necessary, the first script to call getItemForID will however force it to load. This costs some 20ms on a fairly fast machine with just 5 add-ons installed. It is something to be wary of if your version check runs during startup.</description>
		<content:encoded><![CDATA[<p>It is worth pointing out that there are still good reasons why hardcoding can be the better option, particularly if you have some automated build system that can take care of updating your version everywhere for you.</p>
<p>The problem is one of performance. In normal running the extensions database isn&#8217;t loaded until absolutely necessary, the first script to call getItemForID will however force it to load. This costs some 20ms on a fairly fast machine with just 5 add-ons installed. It is something to be wary of if your version check runs during startup.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Glazman</title>
		<link>http://brian.kingsonline.net/talk/2009/01/retrieving-your-extension-version/comment-page-1/#comment-182056</link>
		<dc:creator>Daniel Glazman</dc:creator>
		<pubDate>Tue, 06 Jan 2009 10:11:44 +0000</pubDate>
		<guid isPermaLink="false">http://brian.kingsonline.net/talk/?p=355#comment-182056</guid>
		<description>May I suggest you create an article on devmo with that?</description>
		<content:encoded><![CDATA[<p>May I suggest you create an article on devmo with that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

