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

<channel>
	<title>Ben's Techy Musings</title>
	<atom:link href="http://www.bmjames.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bmjames.net/blog</link>
	<description>[tek-ee]</description>
	<pubDate>Sun, 22 Jun 2008 20:48:19 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<item>
		<title>Let users search your site from the browser&#8217;s search box: OpenSearch</title>
		<link>http://www.bmjames.net/blog/2008/06/21/let-users-search-your-site-from-their-browsers-search-box-opensearch/</link>
		<comments>http://www.bmjames.net/blog/2008/06/21/let-users-search-your-site-from-their-browsers-search-box-opensearch/#comments</comments>
		<pubDate>Sat, 21 Jun 2008 20:59:45 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<category><![CDATA[web dev]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=32</guid>
		<description><![CDATA[This is one of those things onto which I&#8217;ve been really slow to catch, but which seems to have eluded many other developers so far, so I don&#8217;t see sharing it being a waste of time. I eventually decided to look into it this evening and found it&#8217;s just as simple to implement as I&#8217;d [...]]]></description>
			<content:encoded><![CDATA[<p>This is one of those things onto which I&#8217;ve been really slow to catch, but which seems to have eluded many other developers so far, so I don&#8217;t see sharing it being a waste of time. I eventually decided to look into it this evening and found it&#8217;s just as simple to implement as I&#8217;d hoped.</p>
<p>I&#8217;m talking about allowing browsers to &#8216;discover&#8217; the search functionality on a site so that users can add it in a couple of clicks to the list of search engines available in the browser&#8217;s built-in search box (to the right of the address bar in Firefox, Internet Explorer 7+, etc).</p>
<p>This can be achieved by describing your search engine with an XML file called an <a title="OpenSearh description document examples" href="http://www.opensearch.org/Specifications/OpenSearch/1.1#Examples">OpenSearch description document</a> and providing browsers with a link to that XML in the head of your HTML:</p>
<pre><code>&lt;link rel="search" type="application/opensearchdescription+xml"
    href="/search.xml" title="Example.com Search" /&gt;</code></pre>
<p>The specification is described in meticulous detail on the OpenSearch site but the <a title="OpenSearh description document examples" href="http://www.opensearch.org/Specifications/OpenSearch/1.1#Examples">examples</a> of the XML description documents are breezily self-explanatory.</p>
<p>Just be aware that if, like me, you can&#8217;t be bothered to return results in RSS or Atom and would rather use your site&#8217;s existing old-school <code>get</code> query URLs, you probably want to use the following sort of <code>Url</code> element (instead of the fancy-pants RSS one in the &#8220;simple&#8221; example):</p>
<pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
&lt;OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/"&gt;
    &lt;ShortName&gt;Example.com Search&lt;/ShortName&gt;
    &lt;Url type="text/html" method="get"
        template="http://www.example.com/search?q={searchTerms}" /&gt;
    </code><code>&lt;!-- ...snip... --&gt;
&lt;/OpenSearchDescription&gt;</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/06/21/let-users-search-your-site-from-their-browsers-search-box-opensearch/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Shorten long URLs with attoURL</title>
		<link>http://www.bmjames.net/blog/2008/06/15/shorten-long-urls-with-attourl/</link>
		<comments>http://www.bmjames.net/blog/2008/06/15/shorten-long-urls-with-attourl/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 22:52:59 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<category><![CDATA[attoURL]]></category>

		<category><![CDATA[web dev]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=31</guid>
		<description><![CDATA[It&#8217;s not as if there aren&#8217;t already several URL-shortening services, but nonetheless I decided not long ago to start making this and now I&#8217;ve got a working version (of sorts) running on the web.
Shorten long URLs with attoURL.
I suppose the challenge that I want to relish is to add something unique to my variation on [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s not as if there aren&#8217;t already several URL-shortening services, but nonetheless I decided not long ago to start making this and now I&#8217;ve got a working version (of sorts) running on the web.</p>
<p><a title="Shorten long URLs with attoURL" href="http://attourl.eu/">Shorten long URLs with attoURL</a>.</p>
<p>I suppose the challenge that I want to relish is to add something unique to my variation on this simple concept in order that my variation will have a reason for existing. I&#8217;m still thinking about what that unique element might be.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/06/15/shorten-long-urls-with-attourl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>The essence of Geek</title>
		<link>http://www.bmjames.net/blog/2008/06/11/the-essence-of-geek/</link>
		<comments>http://www.bmjames.net/blog/2008/06/11/the-essence-of-geek/#comments</comments>
		<pubDate>Wed, 11 Jun 2008 20:49:43 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Geek Kit]]></category>

		<category><![CDATA[Flickr]]></category>

		<category><![CDATA[geek]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=30</guid>
		<description><![CDATA[As a geek I have an appreciation for the versatile: the Swiss army knife; the command line terminal emulator; the roll of duct tape.
I also have a fetish for the simple object ruthlessly made perfect for a single purpose. My new Sigg bottle is precision-engineered to carry liquid. That&#8217;s all it does. It doesn&#8217;t attempt [...]]]></description>
			<content:encoded><![CDATA[<p>As a geek I have an appreciation for the versatile: the Swiss army knife; the command line terminal emulator; the roll of duct tape.</p>
<p>I also have a fetish for the simple object ruthlessly made perfect for a single purpose. My new <a title="Sigg bottle" href="http://www.flickr.com/photos/bmjames/2571370876/">Sigg bottle</a> is precision-engineered to carry liquid. That&#8217;s all it does. It doesn&#8217;t attempt to thermally isolate it. It doesn&#8217;t leak and it doesn&#8217;t impart any taste. (I bought the bottle for carrying water with me while commuting on the hot, cramped tube, in the hope that it might eventually save me money on buying expensive bottled water. Efficiency: another geek goal.)</p>
<p>Sigg bottles are available with some fairly fashionable designs, but mine is black. Why black, when I could choose from a myriad colours and patterns? It&#8217;s not that I don&#8217;t appreciate beautiful things. (If my girlfriend is reading this, you alone are proof of that!)</p>
<p>What started as me wondering about this turned into a revelation about what means to be a geek. <em>As a geek I see beauty in function as well as form</em>&#8212;and there is more beauty in the unadulterated functionality of the Sigg bottle than there could be in its exterior form.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/06/11/the-essence-of-geek/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A somewhat rose-tinted view of MySpace&#8217;s code heritage</title>
		<link>http://www.bmjames.net/blog/2008/06/05/a-somewhat-rose-tinted-view-of-myspaces-code-heritage/</link>
		<comments>http://www.bmjames.net/blog/2008/06/05/a-somewhat-rose-tinted-view-of-myspaces-code-heritage/#comments</comments>
		<pubDate>Thu, 05 Jun 2008 12:50:02 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<category><![CDATA[social software]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=28</guid>
		<description><![CDATA[
MySpace. Home to some of the greatest user-created eyesores on the Internet. Inflictor of immeasurable pain upon web developers employed to shoehorn hacked and mangled code into custom profile layouts&#8212;creations of which Dr Frankenstein would be proud. Plagued by reliability problems and exploited by dangerous user-created scripts.
That&#8217;s my view of the social network, at least.
On [...]]]></description>
			<content:encoded><![CDATA[<p><img style="float:right;margin-left:10px;" src="http://i2.photobucket.com/albums/y49/golfers/MDP-H1Logo.jpg" alt="MySpace logo" width="47" height="41" /></p>
<p>MySpace. Home to some of the greatest user-created eyesores on the Internet. Inflictor of immeasurable pain upon web developers employed to shoehorn hacked and mangled code into custom profile layouts&#8212;creations of which Dr Frankenstein would be proud. Plagued by reliability problems and exploited by dangerous user-created scripts.</p>
<p>That&#8217;s my view of the social network, at least.</p>
<p>On MySpace&#8217;s developer site, the long preamble to <a title="OpenSocial on the MySpace Developer Platform" href="http://developer.myspace.com/community/myspace/opensocial.aspx">OpenSocial on the MySpace Developer Platform</a> is a gem of autobiographical prose which presents an entirely different (and patronisingly worded) perspective on MySpace&#8217;s code pedigree. A view from the inside, perhaps, where everything we thought MySpace were doing wrong was actually what they were doing right; where the apparently well-deserved repercussions of their shoddy code and lax security were no less than unwarranted assaults on their pioneering social &#8220;utopia&#8221;.</p>
<p>And a view where MySpace&#8217;s inevitable catching-up to Facebook&#8217;s well-executed application platform is varnished over with a smug account of how MySpace got there first:</p>
<blockquote><p>MySpace has a very interesting history with applications written by users. You, gentle reader, may very well have participated in that history.</p>
<p>&#8230;</p>
<p>Through a little known technology known as &#8220;cut and paste&#8221;, users could &#8220;install&#8221; applications they liked on their own profiles.</p></blockquote>
<p>There may be more to come here about MySpace&#8217;s application platform as I try to develop for it in the near future. If this introduction was supposed to repair relations with developers for whom MySpace has long been a source of mirth, however, it&#8217;s had the opposite effect on me.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/06/05/a-somewhat-rose-tinted-view-of-myspaces-code-heritage/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Let&#8217;s try a photo</title>
		<link>http://www.bmjames.net/blog/2008/05/31/lets-try-a-photo/</link>
		<comments>http://www.bmjames.net/blog/2008/05/31/lets-try-a-photo/#comments</comments>
		<pubDate>Sat, 31 May 2008 10:44:26 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Uncategorised]]></category>

		<category><![CDATA[Flickr]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=27</guid>
		<description><![CDATA[I&#8217;ve decided that I don&#8217;t post enough photos and pictures on this blog.
Over the bank holiday weekend just passed, I took my girlfriend to stay in Liverpool at my parents&#8217; place. We visited the Formby coast where in the &#8220;attractive pine woods&#8221; there are &#8220;playful red squirrels, often brave enough to scamper up close&#8221;. Red [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve decided that I don&#8217;t post enough photos and pictures on this blog.</p>
<p>Over the bank holiday weekend just passed, I took my girlfriend to stay in Liverpool at my parents&#8217; place. We visited the <a title="National Trust | Formby" href="http://www.nationaltrust.org.uk/main/w-vh/w-visits/w-findaplace/w-formby/">Formby</a> coast where in the &#8220;attractive pine woods&#8221; there are &#8220;playful red squirrels, often brave enough to scamper up close&#8221;. Red squirrels are a rare sight in Britain where they suffer from competition from the grey squirrel.</p>
<p>Can you spot the red squirrels?</p>
<p><a title="Pine trees in Formby" href="http://www.flickr.com/photos/bmjames/2528748744/"><img src="http://farm3.static.flickr.com/2399/2528748744_ca90011135.jpg" alt="Pine trees in Formby" width="500" height="333" /></a></p>
<p>Neither could we. <img src='http://www.bmjames.net/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/05/31/lets-try-a-photo/feed/</wfw:commentRss>
		</item>
		<item>
		<title>HTML/CSS: Buttons are more styleable than Inputs</title>
		<link>http://www.bmjames.net/blog/2008/05/20/htmlcss-buttons-are-more-styleable-than-inputs/</link>
		<comments>http://www.bmjames.net/blog/2008/05/20/htmlcss-buttons-are-more-styleable-than-inputs/#comments</comments>
		<pubDate>Tue, 20 May 2008 15:46:16 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<category><![CDATA[(X)HTML]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[web dev]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=25</guid>
		<description><![CDATA[Recently I wrote about using an image as a form submit button. Essentially I described some basic CSS which most browsers will accept to style an &#60;input type="submit" ... /&#62; as an alternative to using &#60;input type="image" ... /&#62;.
What I wrote is anything but groundbreaking and is widely used. And I&#8217;ve just found an even [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I wrote about <a title="CSS: Using an image as a form submit button" href="http://www.bmjames.net/blog/2008/04/28/css-using-an-image-as-a-form-submit-button/">using an image as a form submit button</a>. Essentially I described some basic CSS which most browsers will accept to style an <code>&lt;input type="submit" ... /&gt;</code> as an alternative to using <code>&lt;input type="image" ... /&gt;</code>.</p>
<p>What I wrote is anything but groundbreaking and is widely used. And I&#8217;ve just found an even better way to do it, by using a <code>button</code> element instead of an <code>input</code>.</p>
<p>What prompted me to look for something better was noticing that <a title="Camino. Mozilla Power, Mac Style" href="http://caminobrowser.org/">Camino</a>, the native OS X Gecko browser, lacks the depth of CSS support for <code>input</code> elements that the more popular browsers, namely Firefox, IE and Safari, have. This means that the many sites which use the technique I described in that post can be unusable in Camino, as form submit buttons appear grey and empty.</p>
<p>But apparently (and I did not realise this until today), using <code>&lt;button type="submit"&gt;Submit&lt;/button&gt;</code> is a valid and functional replacement for a form <code>input</code> element. And a <code>button</code> is more flexible, allowing you to put an image inside it instead of text, for example. Best of all, though, a <code>button</code> accepts styles more readily in most browsers.</p>
<p>I fixed my form submit button in Camino by changing it to a button and applying exactly the same styles that I had applied to my input. Rather than link you to the post again, here&#8217;s the code with the &#8220;input&#8221; prefix to the class name, just to help you avoid making the same mistake I made.</p>
<pre><code>.customSubmit {
 width : 76px;
 height : 36px;
 overflow : hidden;
 padding : 36px 0 0 0;
 background : url('/images/custom_submit.png') no-repeat;
 border : 0;
}</code></pre>
<p>And the button code, for good measure:</p>
<pre><code>&lt;button type="submit" class="customSubmit"&gt;Submit&lt;/button&gt;</code></pre>
<p>Again, this probably isn&#8217;t groundbreaking stuff but many sites could do with using this alternative to increase their browser support.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/05/20/htmlcss-buttons-are-more-styleable-than-inputs/feed/</wfw:commentRss>
		</item>
		<item>
		<title>SwitchABit: Routing software for social content</title>
		<link>http://www.bmjames.net/blog/2008/05/18/switchabit-routing-software-for-social-content/</link>
		<comments>http://www.bmjames.net/blog/2008/05/18/switchabit-routing-software-for-social-content/#comments</comments>
		<pubDate>Sun, 18 May 2008 11:30:49 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<category><![CDATA[Flickr]]></category>

		<category><![CDATA[social software]]></category>

		<category><![CDATA[SwitchABit]]></category>

		<category><![CDATA[Twitter]]></category>

		<category><![CDATA[TwitterGram]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=24</guid>
		<description><![CDATA[I&#8217;m excited about the potential of the budding SwitchABit platform.
It shows promise of breaking the monopoly that various social tools hold over certain types of social content. It will also help to mitigate one of the causes of these monopolies&#8212;the network effect; the runaway success of a particular service once its user base reaches a [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m excited about the potential of the budding <a title="Switching to SwitchABit (Scripting News)" href="http://www.scripting.com/stories/2008/05/15/switchingToSwitchabit.html">SwitchABit</a> platform.</p>
<p>It shows promise of breaking the monopoly that various social tools hold over certain types of social content. It will also help to mitigate one of the causes of these monopolies&#8212;the network effect; the runaway success of a particular service once its user base reaches a certain fraction of its market.</p>
<p>We already have services and tools which ease our simultaneous use of the many discrete social tools by helping us to post the same stuff to more than one place. A very simple example is the Twitter Facebook application, which solves the problem of many people using Twitter and their Facebook status for the same purpose by automatically updating their Facebook statuses whenever they tweet.</p>
<p>Most of these existing tools, as far as I&#8217;ve seen, require us to feed our data into the helper tool first in order that it can distribute it for us, or that the helper tool (e.g. the Twitter Facebook app) be controlled by the service from which we want to set free content (in that example, Twitter). If I understand it correctly, the paradigm shift in SwitchABit is that the helper tool becomes a transparent intermediate layer, distributing our social content without us needing to know how, or from where, it works.</p>
<p>I recently started using Dave Winer&#8217;s <a title="TwitterGram: Flickr-To-Twitter" href="http://www.twittergram.com/flickrtotwitter">TwitterGram: Flickr-to-Twitter</a> service, which has just been ported to become one of the first applications on the beta SwitchABit platform. Flickr-to-Twitter scans my Flickr photostream for me and finds photos which I&#8217;ve tagged with a &#8216;twitterthis&#8217; tag. It creates a tweet-friendly <a title="TinyURL" href="http://tinyurl.com/">TinyURL</a> for the full Flickr URL of a photo, then tweets the photo&#8217;s title and the URL from my Twitter account. Simple steps, but ones which are tedious to perform myself at best, and downright awkward if I&#8217;m using a mobile device. Now I can email a freshly snapped photo from my iPhone to Flickr and see it tweeted to my friends very shortly afterwards.</p>
<p>I can&#8217;t wait to see more transparent helper tools like this come together to form a pervasive medium for the diffusion all sorts of social content.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/05/18/switchabit-routing-software-for-social-content/feed/</wfw:commentRss>
		</item>
		<item>
		<title>&#8220;RSS Awareness Day&#8221; Awareness Day</title>
		<link>http://www.bmjames.net/blog/2008/05/02/rss-awareness-day-awareness-day/</link>
		<comments>http://www.bmjames.net/blog/2008/05/02/rss-awareness-day-awareness-day/#comments</comments>
		<pubDate>Fri, 02 May 2008 08:41:07 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<category><![CDATA[RSS]]></category>

		<category><![CDATA[web dev]]></category>

		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=22</guid>
		<description><![CDATA[Yesterday, during my daily read of Dave Winer&#8217;s own RSS feed, I discovered that it was RSS Awareness Day. I really wanted to blog it there and then but hadn&#8217;t the time because, ironically, I was working hard at the coalface, hacking away (I like this metaphor) at a client&#8217;s RSS-driven microsite.
So in lieu I [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday, during my daily read of Dave Winer&#8217;s own RSS feed, I discovered that it was <a title="RSS Awareness Day" href="http://www.scripting.com/stories/2008/05/01/happyRssAwarenessDay.html">RSS Awareness Day</a>. I really wanted to blog it there and then but hadn&#8217;t the time because, ironically, I was working hard at the coalface, hacking away (I like this metaphor) at a client&#8217;s RSS-driven microsite.</p>
<p>So in lieu I now declare today <em>&#8220;RSS Awareness Day&#8221; Awareness Day</em>, because I&#8217;m very aware that yesterday was RSS Awareness Day.</p>
<p>During yesterday&#8217;s frenzied session I was reminded poignantly that not all of the data in an RSS feed is as reliably parseable as the XML itself. In this case, I was extracting tags from a comma-separated list and putting them into a database.</p>
<p>In my infinite wisdom I put an index on the table which forbade duplicate tags within an item. While parsing 50 items in a test feed nothing went awry but, of course, the very first item on the client&#8217;s real feed contained sloppy repetition of tags, exposing my lack of foresight with a nasty SQL duplicate key error.</p>
<p>I live and I learn.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/05/02/rss-awareness-day-awareness-day/feed/</wfw:commentRss>
		</item>
		<item>
		<title>CSS: Using an image as a form submit button</title>
		<link>http://www.bmjames.net/blog/2008/04/28/css-using-an-image-as-a-form-submit-button/</link>
		<comments>http://www.bmjames.net/blog/2008/04/28/css-using-an-image-as-a-form-submit-button/#comments</comments>
		<pubDate>Mon, 28 Apr 2008 12:31:53 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<category><![CDATA[(X)HTML]]></category>

		<category><![CDATA[CSS]]></category>

		<category><![CDATA[web dev]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=21</guid>
		<description><![CDATA[I&#8217;ve found an even better way of doing this. See HTML/CSS: Buttons are more styleable than inputs.
Most of the sites I develop involve a form of some sort, and usually the designers style the forms with custom buttons.
A simple way to deal with this is to use &#60;input type="image" ... /&#62; which gives the desired [...]]]></description>
			<content:encoded><![CDATA[<p><strong>I&#8217;ve found an even better way of doing this. See <a title="HTML/CSS: Buttons are more styleable than inputs" href="http://www.bmjames.net/blog/2008/05/20/htmlcss-buttons-are-more-styleable-than-inputs/">HTML/CSS: Buttons are more styleable than inputs</a>.</strong></p>
<p>Most of the sites I develop involve a form of some sort, and usually the designers style the forms with custom buttons.</p>
<p>A simple way to deal with this is to use <code>&lt;input type="image" ... /&gt;</code> which gives the desired appearance and functionality with no fuss.</p>
<p>This is fine for <code>method="post"</code> forms where the information sent to the server isn&#8217;t visible to the user. When using a <code>method="get"</code> form, though, there&#8217;s an unsightly side effect of using the <code>image</code> input type. The URL will turn into something like this:</p>
<pre><code>http://www.example.com/form.php?foo=bar&amp;x=36&amp;y=18</code></pre>
<p>The X and Y coordinates of where the user clicked on the image are being added to the querystring. Presumably this information was once useful back in the days when people did arcane things like server-side image maps.</p>
<p>I neither need nor want this information and it could even confuse the user. So I go back to my <code>input</code> element, change it back to a <code>type="submit"</code> and get to work on manipulating its appearance with CSS.</p>
<p>First, I take off the <code>border</code>, add a <code>background-image</code>, set the <code>width</code> and <code>height</code> and make the text invisible using <code>color : transparent</code>. This works fine in all of the browsers I want to support except Internet Explorer (6 and 7), which ignores the <code>transparent</code> colour value and displays text on the button in black.</p>
<p>I can still hide this text, though, by adding <code>overflow : hidden</code> and then making <code>padding-top</code> equal to the height of my button. Now it works, in Safari, Firefox and IE!</p>
<p>The full code:</p>
<pre><code>input.customSubmit {
 width : 76px;
 height : 36px;
 overflow : hidden;
 padding : 36px 0 0 0;
 background : url('/images/custom_submit.png') no-repeat;
 border : 0;
}</code></pre>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/04/28/css-using-an-image-as-a-form-submit-button/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Collossal squid to be thawed &#038; dissected, streamed on the &#8216;net</title>
		<link>http://www.bmjames.net/blog/2008/04/27/collossal-squid-to-be-thawed-dissected-streamed-on-the-net/</link>
		<comments>http://www.bmjames.net/blog/2008/04/27/collossal-squid-to-be-thawed-dissected-streamed-on-the-net/#comments</comments>
		<pubDate>Sat, 26 Apr 2008 23:05:04 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
		
		<category><![CDATA[Techy Musings]]></category>

		<guid isPermaLink="false">http://www.bmjames.net/blog/?p=20</guid>
		<description><![CDATA[I think this is awesome. Starting tomorrow (Sunday 27th April - later today if you&#8217;re a New Zealander), the Museum of New Zealand Te Papa Tongarewa is going to be thawing and then dissecting a Collossal Squid. According to the BBC article on which I found this, the process will take days, and all of [...]]]></description>
			<content:encoded><![CDATA[<p>I think this is <em>awesome</em>. Starting tomorrow (Sunday 27th April - later today if you&#8217;re a New Zealander), the Museum of New Zealand Te Papa Tongarewa is going to be thawing and then dissecting a Collossal Squid. According to the <a title=" Colossal squid out of the freezer" href="http://news.bbc.co.uk/1/hi/sci/tech/7367774.stm">BBC article</a> on which I found this, the process will take days, and all of it will be streamed live.</p>
<p>The <a title="Collossal Squid webcast" href="http://www.tepapa.govt.nz/TePapa/English/CollectionsAndResearch/CollectionAreas/NaturalEnvironment/Molluscs/ColossalSquid/">video streams</a> are live now and I can see an empty thawing bath, a dissection table and some people walking around. I hope to catch them getting started tomorrow.</p>
<p>It would be great to see more engaging stuff like this from other museums and universities over the world. Science and nature encompass us; they&#8217;re not just things to be respectfully studied within the walls of a museum. In particular, the great but fairly static institutions in London would do a lot of good for themselves if they could offer something as fascinating as this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bmjames.net/blog/2008/04/27/collossal-squid-to-be-thawed-dissected-streamed-on-the-net/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
