<?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: Update your extensions&#8217; maxVersion with perl</title>
	<atom:link href="http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/feed/" rel="self" type="application/rss+xml" />
	<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/</link>
	<description>firefox extension development</description>
	<lastBuildDate>Mon, 06 Sep 2010 02:06:05 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Amit Srivastava</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5690</link>
		<dc:creator>Amit Srivastava</dc:creator>
		<pubDate>Mon, 06 Mar 2006 10:51:02 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5690</guid>
		<description>great tutorial buddy :)</description>
		<content:encoded><![CDATA[<p>great tutorial buddy :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J Fizz</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5254</link>
		<dc:creator>J Fizz</dc:creator>
		<pubDate>Mon, 02 Jan 2006 20:47:33 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5254</guid>
		<description>Sorry to re-post, I was able to use Mr. Tech Local Install to update.  Thanks to the Roach!</description>
		<content:encoded><![CDATA[<p>Sorry to re-post, I was able to use Mr. Tech Local Install to update.  Thanks to the Roach!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: J Fizz</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5253</link>
		<dc:creator>J Fizz</dc:creator>
		<pubDate>Mon, 02 Jan 2006 20:24:54 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5253</guid>
		<description>Hi, I followed the instructions above, even got a little black box to come up and it looked like it was doing something, but still none of my old extensions are working with FF 1.5.

I&#039;d appreciate any help,

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi, I followed the instructions above, even got a little black box to come up and it looked like it was doing something, but still none of my old extensions are working with FF 1.5.</p>
<p>I&#8217;d appreciate any help,</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5141</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Fri, 09 Dec 2005 05:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5141</guid>
		<description>When you download a .xpi file, that is an extension it asks if you wish to overidge requried version and install. You just check that option and install like normal. :)</description>
		<content:encoded><![CDATA[<p>When you download a .xpi file, that is an extension it asks if you wish to overidge requried version and install. You just check that option and install like normal. :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Richard Froggatt</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5106</link>
		<dc:creator>Richard Froggatt</dc:creator>
		<pubDate>Wed, 07 Dec 2005 02:23:44 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5106</guid>
		<description>I wish I would have seen this a couple of days ago. If you run across an extension that is not compatible with FF 1.5 can it be tweaked and then installed? 

Thanks for the tutorial.</description>
		<content:encoded><![CDATA[<p>I wish I would have seen this a couple of days ago. If you run across an extension that is not compatible with FF 1.5 can it be tweaked and then installed? </p>
<p>Thanks for the tutorial.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AG Build 3.20050706</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5064</link>
		<dc:creator>AG Build 3.20050706</dc:creator>
		<pubDate>Mon, 05 Dec 2005 04:18:05 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5064</guid>
		<description>Or you could use an existing extension called Mr. Tech Local Install.

Here&#039;s the link:
https://addons.mozilla.org/extensions/moreinfo.php?id=421

Here&#039;s my write up:
http://blogplus1.someguysserver.com/archives/117-Crucial-Firefox-Extension-Mr-Tech-Local-Install.html</description>
		<content:encoded><![CDATA[<p>Or you could use an existing extension called Mr. Tech Local Install.</p>
<p>Here&#8217;s the link:<br />
<a href="https://addons.mozilla.org/extensions/moreinfo.php?id=421" rel="nofollow">https://addons.mozilla.org/extensions/moreinfo.php?id=421</a></p>
<p>Here&#8217;s my write up:<br />
<a href="http://blogplus1.someguysserver.com/archives/117-Crucial-Firefox-Extension-Mr-Tech-Local-Install.html" rel="nofollow">http://blogplus1.someguysserver.com/archives/117-Crucial-Firefox-Extension-Mr-Tech-Local-Install.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bite my bytes</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5060</link>
		<dc:creator>Bite my bytes</dc:creator>
		<pubDate>Sun, 04 Dec 2005 22:28:00 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5060</guid>
		<description>&lt;strong&gt;Firefox Extensions&lt;/strong&gt;

</description>
		<content:encoded><![CDATA[<p><strong>Firefox Extensions</strong></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Will</title>
		<link>http://roachfiend.com/archives/2005/12/02/update-your-extensions-maxversion-with-perl/comment-page-1/#comment-5029</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Sun, 04 Dec 2005 01:37:13 +0000</pubDate>
		<guid isPermaLink="false">http://roachfiend.com/?p=39#comment-5029</guid>
		<description>Thanks to CrazyCoder:

Well this is even easier:

use File::Find;
use strict;

my $path = $ARGV[0]?$ARGV[0]:&quot;./&quot;;
my $newver = $ARGV[1]?$ARGV[1]:&quot;1.6+&quot;;

my @files = ();
print &quot;Listing files... please wait...\n&quot;;
find sub{ push(@files, $File::Find::name) if $File::Find::name=~/install.rdf/i}, $path;

foreach my $file (@files) {
  print &quot;$file\n&quot;;
  open(IN, $file);
  my @all = ;
  close(IN);
  
  my $repmode = 0;
  open(OUT, &quot;&gt;$file&quot;);
  foreach my $line (@all) {
    chomp($line);
    if($line =~ qw%&lt;em&gt;{ec8030f7-c20a-464f-9b0e-13a3a9e97384}&lt;/em&gt;% &#124;&#124; 
       $line =~ qw%{ec8030f7-c20a-464f-9b0e-13a3a9e97384}% &#124;&#124; 
       $line =~ qw%em:id=&quot;{ec8030f7-c20a-464f-9b0e-13a3a9e97384}%) {
      $repmode = 1;
    }

    if($repmode &amp;&amp; 
      ($line =~ s%&lt;em&gt;.*?&lt;/em&gt;%&lt;em&gt;$newver&lt;/em&gt;% &#124;&#124; 
       $line =~ s%.*?%$newver% &#124;&#124;
       $line =~ s%em:maxVersion=&quot;.*?&quot;%em:maxVersion=&quot;$newver&quot;%)) {
       
      print $line . &quot;\n&quot;;
      $repmode = 0;
    }
    print OUT $line . &quot;\n&quot;;
  }
  close(OUT);
}

Or even better. ;)

http://swnet.spb.ru/files/repver.zip

I used Perl Dev Kit to make an executable from my script which should run on any platform.

hehe</description>
		<content:encoded><![CDATA[<p>Thanks to CrazyCoder:</p>
<p>Well this is even easier:</p>
<p>use File::Find;<br />
use strict;</p>
<p>my $path = $ARGV[0]?$ARGV[0]:&#8221;./&#8221;;<br />
my $newver = $ARGV[1]?$ARGV[1]:&#8221;1.6+&#8221;;</p>
<p>my @files = ();<br />
print &#8220;Listing files&#8230; please wait&#8230;\n&#8221;;<br />
find sub{ push(@files, $File::Find::name) if $File::Find::name=~/install.rdf/i}, $path;</p>
<p>foreach my $file (@files) {<br />
  print &#8220;$file\n&#8221;;<br />
  open(IN, $file);<br />
  my @all = ;<br />
  close(IN);</p>
<p>  my $repmode = 0;<br />
  open(OUT, &#8220;&gt;$file&#8221;);<br />
  foreach my $line (@all) {<br />
    chomp($line);<br />
    if($line =~ qw%<em>{ec8030f7-c20a-464f-9b0e-13a3a9e97384}</em>% ||<br />
       $line =~ qw%{ec8030f7-c20a-464f-9b0e-13a3a9e97384}% ||<br />
       $line =~ qw%em:id=&#8221;{ec8030f7-c20a-464f-9b0e-13a3a9e97384}%) {<br />
      $repmode = 1;<br />
    }</p>
<p>    if($repmode &amp;&amp;<br />
      ($line =~ s%<em>.*?</em>%<em>$newver</em>% ||<br />
       $line =~ s%.*?%$newver% ||<br />
       $line =~ s%em:maxVersion=&#8221;.*?&#8221;%em:maxVersion=&#8221;$newver&#8221;%)) {</p>
<p>      print $line . &#8220;\n&#8221;;<br />
      $repmode = 0;<br />
    }<br />
    print OUT $line . &#8220;\n&#8221;;<br />
  }<br />
  close(OUT);<br />
}</p>
<p>Or even better. ;)</p>
<p><a href="http://swnet.spb.ru/files/repver.zip" rel="nofollow">http://swnet.spb.ru/files/repver.zip</a></p>
<p>I used Perl Dev Kit to make an executable from my script which should run on any platform.</p>
<p>hehe</p>
]]></content:encoded>
	</item>
</channel>
</rss>
