<?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/"
	>

<channel>
	<title>Bryan Clark &#187; extensions</title>
	<atom:link href="http://clarkbw.net/blog/tag/extensions/feed/" rel="self" type="application/rss+xml" />
	<link>http://clarkbw.net/blog</link>
	<description>Change thrives on me</description>
	<lastBuildDate>Tue, 28 Dec 2010 23:04:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Travel, Work and Other Updates</title>
		<link>http://clarkbw.net/blog/2008/04/07/travel-work-and-other-updates/</link>
		<comments>http://clarkbw.net/blog/2008/04/07/travel-work-and-other-updates/#comments</comments>
		<pubDate>Tue, 08 Apr 2008 02:57:50 +0000</pubDate>
		<dc:creator>Bryan Clark</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[addressbook]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[calendar]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://clarkbw.net/blog/?p=307</guid>
		<description><![CDATA[Travel I&#8217;ll be heading out to Hamburg April 18-23rd with David and others for the Calendar project face-to-face meeting.  It will be great to meet Christian in person now that we&#8217;ve been talking on the phone discussing possible Calendar and Thunderbird changes.  I&#8217;m excited to make a quick overnight trip up to Copenhagen as I&#8217;ve &#8230; <a href="http://clarkbw.net/blog/2008/04/07/travel-work-and-other-updates/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>Travel</strong></p>
<p>I&#8217;ll be heading out to Hamburg April 18-23rd <a href="http://ascher.ca/blog/2008/04/07/travel-update/">with David</a> and others for the <a href="http://wiki.mozilla.org/Calendar:Home_Page">Calendar</a> project <a href="http://wiki.mozilla.org/Calendar:Hamburg_2008_-_F2F_Meeting">face-to-face meeting</a>.  It will be great to meet Christian in person now that we&#8217;ve been talking on the phone discussing possible Calendar and Thunderbird changes.  I&#8217;m excited to make a quick overnight trip up to <a href="http://en.wikipedia.org/wiki/Copenhagen">Copenhagen</a> as I&#8217;ve never travelled there before.</p>
<p><strong>Work</strong></p>
<p>It&#8217;s great to see that <a href="http://ccgi.standard8.plus.com/blog">Mark</a> has <a href="http://ccgi.standard8.plus.com/blog/archives/8">started work with us</a>. There&#8217;s lots to be done, especially on the address book, work that <a href="http://quetzalcoatal.blogspot.com/">Joshua</a> has developed in the <a href="http://quetzalcoatal.blogspot.com/2008/04/great-addressbook-rewrite.html">Great Addressbook Rewrite</a>.  I&#8217;ve started compiling some research of other addressbook / contacts systems so we can have some ideas of what current implementaitons do.</p>
<p><strong>Other</strong></p>
<p>As I got back home really late after Friday, well into Saturday morning, I didn&#8217;t end up doing much on Saturday.  So in my recovery time I poked around with my <a href="http://clarkbw.net/blog/2008/04/04/extending-bugzilla-links-in-thunderbird/">bugzilla link grabber extension</a> and added a little AJAX to it.  And thus I feel buzzword compliant!</p>
<p>Note the lovely screenshot of the bugzilla info inlined at the bottom.  It might be nicer to create those elements as hovers to the bug links so they don&#8217;t take up space in the email but appear on mouse over of a bug link.</p>
<p>I just picked out a few things from the bug like bug number, status, number of comments, the title and the last comment text.  Other information might be a bit better, but it&#8217;s all available.</p>
<p style="text-align: center;"><a href="http://clarkbw.net/blog/wp-content/uploads/2008/04/ajax-bugs-inline.png"><img class="aligncenter size-medium wp-image-310" title="Thunderbird showing bugzilla bugs inline with AJAX" src="http://clarkbw.net/blog/wp-content/uploads/2008/04/ajax-bugs-inline-221x300.png" alt="" width="221" height="300" /></a></p>
<p style="text-align: left;">I did this by using the <a href="http://developer.mozilla.org/en/docs/XMLHttpRequest">XMLHTTPRequest</a> to the bugzilla bugs XML version (just add &#8220;&amp;ctype=xml&#8221; to the url) and then running the result through XPath.  There&#8217;s a bit of a problem with the XML version as it gives you all the attachments as well as all the comments so things can be a bit slow when there are a lot of large attachments in a bug.</p>
<p style="text-align: left;">Anyway, not bad for a quick couple hour hungover hack.</p>
<p style="text-align: left;"><strong>Designer Code!!! eeek!!!</strong></p>
<p style="text-align: left;">The code for all this is up on <a href="http://github.com/">github</a> in the <a href="http://github.com/clarkbw/thunderbird-bugzilla-link-grabber/tree/ajax">ajax branch</a>, check it out.</p>
<p style="text-align: left;">Who knew email didn&#8217;t have to be <em>static</em>!</p>
]]></content:encoded>
			<wfw:commentRss>http://clarkbw.net/blog/2008/04/07/travel-work-and-other-updates/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Extending Bugzilla Links in Thunderbird</title>
		<link>http://clarkbw.net/blog/2008/04/04/extending-bugzilla-links-in-thunderbird/</link>
		<comments>http://clarkbw.net/blog/2008/04/04/extending-bugzilla-links-in-thunderbird/#comments</comments>
		<pubDate>Fri, 04 Apr 2008 16:06:14 +0000</pubDate>
		<dc:creator>Bryan Clark</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[bugzilla]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[steel]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://clarkbw.net/blog/?p=304</guid>
		<description><![CDATA[I took a couple hours&#8230; ok most of the day yesterday to fix a little issue that&#8217;s been bothering me for a while. Bugzilla links inside email messages.  I get countless messages where people reference bug 426175 but then don&#8217;t link to the bug.  The other option is for the person to include the link &#8230; <a href="http://clarkbw.net/blog/2008/04/04/extending-bugzilla-links-in-thunderbird/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I took a couple hours&#8230; ok most of the day yesterday to fix a little issue that&#8217;s been bothering me for a while.</p>
<p>Bugzilla links inside email messages.  I get countless messages where people reference bug 426175 but then don&#8217;t link to the bug.  The other option is for the person to include the link in the email which is ugly and pushes the flow around <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=426175">https://bugzilla.mozilla.org/show_bug.cgi?id=426175</a> because there is a large link inside the text.</p>
<p>Despite emails not being HTML mail, for whatever reasons, I still want bugs to be linked in a reasonable manner when I&#8217;m looking at my mail.  I couldn&#8217;t find an existing solution, though there likely is one hiding somewhere.  So I started a new extension to solve my problem.</p>
<p>The <strong>Bugzilla Link Grabber</strong> Thing</p>
<p><em>I&#8217;m not good with names, another reason I probably shouldn&#8217;t have kids.  (Offspring of Bryan Clark Jr.)</em></p>
<p>Here is a typical message that contains a mix of bugzilla urls and shorthand bug mentions.  You can see the urls are long and a bit ugly, while the short hand link mentions (even though this example mentions the same bug) are not linked to the bug itself.</p>
<p style="text-align: center;"><a href="http://clarkbw.net/blog/wp-content/uploads/2008/04/message-before-blg.png"><img class="aligncenter size-medium wp-image-305" title="Message Before Bugzilla Link Grabber" src="http://clarkbw.net/blog/wp-content/uploads/2008/04/message-before-blg-300x207.png" alt="" width="300" height="207" /></a></p>
<p style="text-align: left;">Before you view any mail the extension takes the long bugzilla urls and converts them into the shorthand form.  It also linkifies any shorthand bugs into working urls.</p>
<p style="text-align: center;"><a href="http://clarkbw.net/blog/wp-content/uploads/2008/04/message-after-blg.png"><img class="aligncenter size-medium wp-image-306" title="Message After Bugzilla Link Grabber" src="http://clarkbw.net/blog/wp-content/uploads/2008/04/message-after-blg-300x207.png" alt="" width="300" height="207" /></a></p>
<p style="text-align: left;">Right now the extension only understands mozilla bugzilla and gnome bugzilla because that&#8217;s all I have accounts for.  But others could be added and I was hoping to have a preferences dialog that allows you to add alternate bugzillas (see <a href="http://wiki.mozilla.org/User:Clarkbw/Bugzilla_Link_Grabber_Extension#TODO">TODO</a>).  But otherwise it works great.</p>
<p style="text-align: left;">For xpi downloads, source, TODO, and more details take a look at the <a href="http://wiki.mozilla.org/User:Clarkbw/Bugzilla_Link_Grabber_Extension">Bugzilla Link Grabber wiki page</a>.</p>
<p style="text-align: left;"><strong>Fixing things</strong></p>
<p style="text-align: left;">If you&#8217;re interested in this working for your copy of bugzilla or see some bugs in the code, don&#8217;t ask, please <strong>dive right in and fix things.</strong> Don&#8217;t forget to grab the <a href="http://clarkbw.net/blog/2008/03/20/blue-steel/">STEEL extension</a> or this one won&#8217;t work.  Also it only works on <a href="http://ftp.mozilla.org/pub/mozilla.org/thunderbird/nightly/latest-trunk/">thunderbird nightly builds</a> right now; but maybe that&#8217;s something you can fix.</p>
<p style="text-align: left;">I put the <a href="http://github.com/clarkbw/thunderbird-bugzilla-link-grabber/tree/master">extension source</a> up at github, sorry if that&#8217;s not your RCS of choice.  Anybody who creates patches to fix one of the TODO items is welcome to one of my remaining invites to <a href="http://github.com/">github</a>.  I don&#8217;t really have anything else to give&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://clarkbw.net/blog/2008/04/04/extending-bugzilla-links-in-thunderbird/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Blue STEEL!</title>
		<link>http://clarkbw.net/blog/2008/03/20/blue-steel/</link>
		<comments>http://clarkbw.net/blog/2008/03/20/blue-steel/#comments</comments>
		<pubDate>Thu, 20 Mar 2008 13:25:53 +0000</pubDate>
		<dc:creator>Bryan Clark</dc:creator>
				<category><![CDATA[mozilla]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[steel]]></category>
		<category><![CDATA[thunderbird]]></category>

		<guid isPermaLink="false">http://clarkbw.net/blog/2008/03/20/blue-steel/</guid>
		<description><![CDATA[Out of the Thunderbird status meeting this week I learned that there&#8217;s already a test extension available which gives Thunderbird Extension Developers some of the new STEEL interfaces. What is STEEL? STEEL stands for, Scriptable Thunderbird Easy Extension Library, and that means a simple javascript library to access your data (email, addressbook, etc.) inside Thunderbird.  &#8230; <a href="http://clarkbw.net/blog/2008/03/20/blue-steel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center"><a href="http://www.otisproductions.com/Zoolander/zoolander.html"><img src="http://clarkbw.net/blog/wp-content/uploads/2008/03/blue-steel.png" alt="Blue STEEL Zoolander" /></a></p>
<p>Out of the Thunderbird status meeting <a href="http://wiki.mozilla.org/Thunderbird/StatusMeetings/2008-03-18">this week</a> I learned that there&#8217;s already a test extension available which gives Thunderbird Extension Developers some of the new <a href="http://wiki.mozilla.org/User:Jminta/Steel">STEEL</a> interfaces.</p>
<p><strong>What is STEEL?</strong></p>
<blockquote><p> STEEL stands for, <strong>S</strong>criptable <strong>T</strong>hunderbird <strong>E</strong>asy <strong>E</strong>xtension <strong>L</strong>ibrary, and that means a simple javascript library to access your data (email, addressbook, etc.) inside Thunderbird.  Like it&#8217;s Firefox counterpart <a href="http://developer.mozilla.org/en/docs/FUEL">FUEL</a>, STEEL will create an easy extension development API for Thunderbird.</p></blockquote>
<p><strong>What can you do with STEEL?  </strong></p>
<p>Right now STEEL is in it&#8217;s infancy with a 0.1 release as you can see in the <a href="http://wiki.mozilla.org/User:Jminta/Steel#Implementation_Plan">implementation plan</a>.  However there already exists lots of things you can do with the existing STEEL code.</p>
<p>Here are some <a href="http://wiki.mozilla.org/User:Clarkbw/STEEL_Examples">examples</a>:</p>
<ul>
<li><a href="http://wiki.mozilla.org/User:Clarkbw/STEEL_Examples#Watch_for_New_Mail">Watch for New Mail</a></li>
<li><a href="http://wiki.mozilla.org/User:Clarkbw/STEEL_Examples#Watch_for_Sent_Mail">Watch for Sent Mail</a></li>
<li><a href="http://wiki.mozilla.org/User:Clarkbw/STEEL_Examples#List_all_Accounts">List All Accounts</a></li>
</ul>
<p><em>You&#8217;ll need to grab the latest STEEL extension from <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=408370">bug 408370</a>, luckily there are <a href="http://wiki.mozilla.org/User:Clarkbw/Install_STEEL_Extension">STEEL Extension Install Instructions</a> which you can follow.</em></p>
<p><strong>Where is STEEL going?</strong></p>
<p>What happens with STEEL is up to extension developers.  If you&#8217;ve already developed an extension for Thunderbird please give STEEL a try and let the developers know what you think.  If you&#8217;ve been thinking of developing an extension for Thunderbird try STEEL out to see if it does what you need.</p>
<p>The coming API will depend a lot on the kind of feedback that can be gathered right now. Join the conversation on the <a href="irc://irc.mozilla.org/#maildev">#maildev</a> IRC channel or send a message to the <a href="news://news.mozilla.org/mozilla.dev.apps.thunderbird">mozilla.dev.apps.thunderbird</a> newsgroup.</p>
<p>Personally I&#8217;d still like to see a couple things happen.</p>
<p><em>Simplify extension development by relying heavily on a local cache</em>.  As a person who wants to try out a lot of different ideas inside Thunderbird via extensions I&#8217;d like to avoid network latency issues and would rather have all the information cached and indexed locally such that all calls could be fast and synchronous.  The only signal I would want to worry about is when the cache has updated so I can refresh my calls.</p>
<p><em>Allow for objects to be retrieved separately and by-directionally queried</em>.  For example I&#8217;d like to be able to ask for a list of attachments and then for each attachment find out what message it was sent in, who sent it, and even other attachments they sent.</p>
<ul>
<li>for each ( attachment in Application.attachments )
<ul>
<li>from = attachment.message.from
<ul>
<li>for each ( attachment in from.attachments )</li>
</ul>
</li>
</ul>
</li>
</ul>
<p><em>Improved Search APIs</em>.  I got to talk with the excellent <a href="http://people.csail.mit.edu/dfhuynh/">David Huynh</a> of <a href="http://simile.mit.edu/seek/">SEEK</a> fame and asked if he could take a look at the STEEL APIs for improvements; I&#8217;m excited to see what he has to say.  Improving search is one of the major goals for <a href="http://wiki.mozilla.org/Thunderbird:Thunderbird3">Thunderbird 3</a> and all the great new ideas come out of extensions so development needs to be ready for that.</p>
<p><strong>Malleable STEEL </strong></p>
<p>A simple exercise I have been doing is to take an existing extension, even ones for outlook, and offer a Thunderbird extension developers perspective of the STEEL API .  Right now I have a <a href="http://wiki.mozilla.org/User:Clarkbw/Xobni_Like_Extension">breakdown of the Xobni Extension</a> which I thought was very interesting extension that I&#8217;d like to see in Thunderbird in the future.  The breakdown examines different pieces of the extension with simple function calls that could enable it.</p>
]]></content:encoded>
			<wfw:commentRss>http://clarkbw.net/blog/2008/03/20/blue-steel/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.511 seconds -->

