<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>brainfire</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/" />
    <link rel="self" type="application/atom+xml" href="http://www.brainfire.co.uk/atom.xml" />
   <id>tag:www.brainfire.co.uk,2010://1</id>
    <link rel="service.post" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1" title="brainfire" />
    <updated>2009-02-13T09:56:47Z</updated>
    
    <generator uri="http://www.sixapart.com/movabletype/">Movable Type 3.2</generator>
 
<entry>
    <title>Valid XHTML output using Google Mini Appliance transformation engine</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2009/02/valid_xhtml_output_using_google_mini_appliance_transformation_engine.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=163" title="Valid XHTML output using Google Mini Appliance transformation engine" />
    <id>tag:www.brainfire.co.uk,2009://1.163</id>
    
    <published>2009-02-13T09:55:00Z</published>
    <updated>2009-02-13T09:56:47Z</updated>
    
    <summary><![CDATA[I've been trying to output valid XHTML code from the Google Mini Search Appliance. The XML transformation was applying xmlns attributes to various, seemingly random elements which causes the output XHTML to fail validation. &lt;ol xmlns=""&gt; As Kamiel Martinet pointed...]]></summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Code" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>I've been trying to output valid XHTML code from the Google Mini Search Appliance. The XML transformation was applying xmlns attributes to various, seemingly random elements which causes the output XHTML to fail validation. </p>

<blockquote class="code xhtml">&lt;ol xmlns=""&gt;</blockquote>

<p>As <a href="http://www.martinet.nl/articles/20041125" class="external">Kamiel Martinet</a> pointed out, in any normal XSLT application you can overcome this by simply adding the xmlns to the stylesheet node.</p>

<blockquote class="code xslt">&lt;xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"&gt;</blockquote>

<p>However, this causes the Google Mini front end transformation to fail, resulting in the transformation to fail with the following message.</p>

<blockquote>Internal error processing stylesheet.</blockquote>

<p>This leaves me with the choice but to render invalid XHTML from the Google Mini transformation engine. One alternative solution is to use another transformation engine, but that is not an option for this current project.</p>

<p>When and if I find a solution to this, I will post it here.<br />
</p>]]>
        
    </content>
</entry>
<entry>
    <title>Website design and web development</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2007/12/website_design_and_web_development.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=160" title="Website design and web development" />
    <id>tag:www.brainfire.co.uk,2007://1.160</id>
    
    <published>2007-12-06T09:30:13Z</published>
    <updated>2009-01-14T21:01:35Z</updated>
    
    <summary>Brainfire is a freelance web design and web development company based in Berkhamsted, Herfordshire, near Hemel Hempstead. Run by Mat Harden, a passionate and experienced web designer, Brainfire specialise in standards compliant accessible websites. Services include web development, website help...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>Brainfire is a freelance web design and web development company based in Berkhamsted, Herfordshire, near Hemel Hempstead. Run by Mat Harden, a passionate and experienced web designer, Brainfire specialise in standards compliant accessible websites. Services include web development, website help and updates, web standard and semantic coding of existing designs, HTML email marketing, bespoke website application development, PHP development, ASP development and web consultation.</p>

<p>For all enquiries, email <a href="mailto:info@brainfire.co.uk">info@brainfire.co.uk</a>. </p>]]>
        
    </content>
</entry>
<entry>
    <title>Garden glove specialists</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2007/12/garden_glove_specialists.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=161" title="Garden glove specialists" />
    <id>tag:www.brainfire.co.uk,2007://1.161</id>
    
    <published>2007-12-05T16:47:46Z</published>
    <updated>2009-02-13T09:58:40Z</updated>
    
    <summary>My friends, the Garden Glove Specialists have recently added an on-line payment facility to their website to allow card payments for their Second Skin &amp; Ultra gardening gloves. They sell three types of gloves: Ultra Glove - these latex rubber...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>My friends, the <a href="http://glovespecialists.co.uk/" title="Buy top quality gardening gloves online">Garden Glove Specialists</a> have recently added an on-line payment facility to their website to allow card payments for their <a href="http://glovespecialists.co.uk/secondskin.htm" title="Nitrile rubber garden gloves for potting and general light-weight jobs">Second Skin</a> & <a href="http://glovespecialists.co.uk/ultraglove.htm" title="Hard wearing thorn resistant gardening gloves">Ultra gardening gloves</a>.</p>

<p>They sell three types of gloves:</p>

<p><a href="http://glovespecialists.co.uk/ultraglove.htm" title="Hard wearing thorn resistant gardening gloves">Ultra Glove</a> - these latex rubber gardening gloves provide thorn resistance and are great for pruning roses and pulling brambles.</p>

<p><a href="http://glovespecialists.co.uk/secondskin.htm" title="Nitrile rubber garden gloves for potting and general light-weight jobs">Second Skin</a> - their most popular glove, nitrile rubber thorn resistant gardening gloves, which are flexible great for potting, tying up plants and any jobs where you want to feel what you're doing. And they're thorn resistant!</p>

<p><a href="http://glovespecialists.co.uk/easy-fit-gardening-gloves.htm" title="Every-day general use garden gloves">Easy Fit</a> - the latest gardening gloves are very light weight and great for every day use. <del>will be available to buy soon</del> <ins>available to buy now!</ins></p>

<p>Each gardening glove has a cotton back and elasticated cuff keep all dirt and bugs out! Everyone who uses them thinks they're fantastic!</p>]]>
        
    </content>
</entry>
<entry>
    <title>I am not Brainfire Group</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2007/05/i_am_not_brainfire_group.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=159" title="I am not Brainfire Group" />
    <id>tag:www.brainfire.co.uk,2007://1.159</id>
    
    <published>2007-05-31T21:47:45Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>Occasionally I get requests from misguided companies (and lawyers) asking me to sell or hand-over domain names they believe have been registered by Brainfire. I&apos;m am not a cyber-squatter. I do not register domain names in the hope that large...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>Occasionally I get requests from misguided companies (and lawyers) asking me to sell or hand-over <a href="http://en.wikipedia.org/wiki/Domain_name">domain names</a> they believe have been registered by Brainfire. I'm am not a cyber-squatter. I do not register domain names in the hope that large corporations will pay huge sums to recover. Unfortunately for me a company called Brainfire Group does. Brainfire Limited and Brainfire Group are two entirely separate entities.</p> 

<p>All I know about Brainfire Group is the following:</p>

<ul>
<li>They register domain names to the their address in Calgary, Canada</li>
<li>They are involved in a number of <a href="http://www.nominet.org.uk/disputes/drs/decisions/3cases/">domain name</a> disputes with <a href="http://www.nominet.org.uk/">Nominet</a></li>
<li>They have been involved in one of the few legal cases that have used <a href="http://en.wikipedia.org/wiki/Wikipedia:Wikipedia_as_a_court_source">Wikipedia as a court source</a></li></ul>

<p>If you want to discover who has registered a domain name, use a <a href="http://en.wikipedia.org/wiki/Whois">WHOIS</a> lookup such as the <a href="http://www.geektools.com/whois.php">Geektools Whois tool</a>.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Living Designs</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2006/07/living_designs.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=142" title="Living Designs" />
    <id>tag:www.brainfire.co.uk,2006://1.142</id>
    
    <published>2006-07-17T13:59:08Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>Friday saw the release of the new Living Designs website. It&apos;s a gorgeous looking site (sadly not my design) with simple navigation, which as always, turned out to be quite complicated to create. Each section has a different link colour,...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Portfolio" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>Friday saw the release of the new <a href="http://www.livingdesigns-uk.com/">Living Designs website</a>. It's a gorgeous looking site (sadly not my design) with simple navigation, which as always, turned out to be quite complicated to create. Each section has a different link colour, instantly multiplying style sheet code. I love the <a href="http://www.livingdesigns-uk.com/work/corporate/ernstandyoung.php">second level navigation</a>. The page you are currently on is marked by a simple break in the bar on the left. I think this is a great effect. </p>

<p>This was the first time I used the <a href="http://jquery.com/">jQuery library</a>, which came in very handy for the unobtrusive JavaScript pop-ups. </p>

<p>Currently Living Designs appears eighth of page 2 in <a href="http://www.google.co.uk/search?hl=en&q=living+designs&btnG=Search&meta=">Google&#8217;s global search</a>. Hopefully this will move up over the next week.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Label Summit South China</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2006/05/label_summit_south_china.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=137" title="Label Summit South China" />
    <id>tag:www.brainfire.co.uk,2006://1.137</id>
    
    <published>2006-05-17T23:21:16Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>My final creation, South China Label Summit for Tarsus Group was launched today. The design brief was a little tough. The branding for the show wont be done until a few months before the show. This meant I had to...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Portfolio" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>My final creation, <a href="http://southchina.labelsummit.com/">South China Label Summit</a> for <a href="http://www.tarsus-group.com/">Tarsus Group</a> was launched today. The design brief was a little tough. The branding for the show wont be done until a few months before the show. This meant I had to do something generic to allow for future branding, whilst still keeping a sense of, well&hellip; branding (a contradiction, I know). All I had to go on was the logo and the fact they liked <a href="http://smarteurope.labelsummit.com/">Smart Label Summit Europe</a> which I created earlier in the year. </p>

<p>I'm quite happy with it though. I think it's pretty much bug free and it easy on the eyes. I used <a href="http://www.w3.org/TR/xhtml1/">Strict <abbr title="Xtensible HyperText Markup Language">XHTML</abbr></a> and there's only <a href="http://validator.w3.org/check?verbose=1&amp;uri=http://southchina.labelsummit.com/">two minor errors</a> on the home page. I'm particularly proud of the menu, the date/venue details and the <a href="http://southchina.labelsummit.com/index.asp?page=7&amp;eventid=1&amp;theDay=30/11/2006&amp;language=en">conference tab links</a> because they use some snazzy <abbr title="Cascading Style Sheets">CSS</abbr> techniques. Works on all web standard Internet devices!</p>]]>
        
    </content>
</entry>
<entry>
    <title>Start Living</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2006/05/start_living.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=135" title="Start Living" />
    <id>tag:www.brainfire.co.uk,2006://1.135</id>
    
    <published>2006-05-01T22:41:43Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>I start a new job tomorrow, working for Living Designs in Shoreditch. I&apos;m very excited about it. I worked at Tarsus for nearly six years, creating sites such as Smart Labels Summit Europe, news and blog systems for Venues, and...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Events" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>I start a new job tomorrow, working for <a href="http://www.livingdesigns-uk.com/">Living Designs</a> in Shoreditch. I'm very excited about it. I worked at <a href="http://www.livingdesigns-uk.com/">Tarsus</a> for nearly six years, creating sites such as <a href="http://smarteurope.labelsummit.com/">Smart Labels Summit Europe</a>, news and blog systems for <a href="http://www.venues.org.uk/news/">Venues</a>, and built their shiny Intranet. I've met a lot of interesting and fun people there, but my time had come to move on.</p>

<p>I'm very much looking forward to this opportunity and all the new challenges. I'll have a good platform to implement my skills and ideas as well as learn lots from the people there. Hopefully I'll be updating my <a href="http://www.brainfire.co.uk/portfolio/">portfolio</a> very soon.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Worst website menu ever?</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2006/04/worst_website_menu_ever.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=134" title="Worst website menu ever?" />
    <id>tag:www.brainfire.co.uk,2006://1.134</id>
    
    <published>2006-04-15T23:09:10Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>I&apos;ve been browsing round the world of the web tonight and I came across the site of record label 4AD. I thought, &quot;ok, great, I&apos;d like to read about the Cocteau Twins please&quot;. So I found myself clicking this stupid...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>I've been browsing round the world of the web tonight and I came across the <a href="http://www.4ad.com/">site of record label 4AD</a>. I thought, "ok, great, I'd like to read about the Cocteau Twins please". So I found myself clicking this stupid wheel type thing until I found a bit on it that says 'help'. This isn't general website or accessibility help, but how to use the diabolical navigation method they had lumbered their poor unsuspecting users.</p>

<p>Click on tiny arrow near the letters, select a letter, drag the artist name into the light area, click the... no hold on, I don't give a damn anymore I've lost interest. Why make it so hard for potential customers to find your products? Correct me if I'm incorrect, but if you need to provide help on how to use a website menu, then it's probably not the best menu, now is it?<br />
It's a very well put together piece of Flash. Once you've 'learnt' how to use it, it's not so bad and I guess it could be nice to browse an artist by year, but really, come on, it's too complicated.</p>

<p>Anyone else seen a bad menu lately?</p>]]>
        
    </content>
</entry>
<entry>
    <title>Little bit of a problem</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2006/01/little_bit_of_a_problem.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=122" title="Little bit of a problem" />
    <id>tag:www.brainfire.co.uk,2006://1.122</id>
    
    <published>2006-01-27T14:21:41Z</published>
    <updated>2009-02-16T14:12:16Z</updated>
    
    <summary>If anyone&amp;#8217;s been here lately, you may have noticed some funny things going on and pages not working. Well, I&apos;ve moved server and it caused an untold amount of problems. I&amp;#8217;ve got a new re-seller account at WebFusion and wanted...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>If anyone&#8217;s been here lately, you may have noticed some funny things going on and pages not working. Well, I've moved server and it caused an untold amount of problems. I&#8217;ve got a new re-seller account at WebFusion and wanted to host brainfire.co.uk on that. But as I already had an existing brainfire account, <a href="http://www.webfusion.co.uk/">WebFusion</a> could not create a new one. Which means I was facing un-avoidable downtime. I&#8217;ve had to back-up the whole site - wait - and then upload to the new server. What a load of rubbish! It would have gone smoother if I moved to a new host.</p>

<p>This will also explain the lack of posts recently.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Upgrade to Movable Type 3.2</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2005/12/upgrade_to_movable_type_32.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=115" title="Upgrade to Movable Type 3.2" />
    <id>tag:www.brainfire.co.uk,2005://1.115</id>
    
    <published>2005-12-09T09:20:23Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>Not that anyone will be interested, but I&apos;ve upgraded my publishing software for this site to version 3.2. I had a few teething problems as I publish my pages in PHP and as the default file permissions in 3.2 are...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>Not that anyone will be interested, but I've <a href="http://www.learningmovabletype.com/archives/001367a_safe_way_to_upgrade_to_mt_32.php">upgraded</a> my <a href="http://www.sixapart.com/movabletype/">publishing software</a> for this site to version 3.2. I had a few teething problems as I publish my pages in PHP and as the default file permissions in 3.2 are set to non-executable, these did not run&hellip; as I learnt the hard way.</p>

<p>All working now though, and I must say - I really like Movable Type 3.2. It's a great piece of software with some clever little functions and now has a colourful interface.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Feeds and Trackbacks</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2005/09/feeds_and_trackbacks.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=108" title="Feeds and Trackbacks" />
    <id>tag:www.brainfire.co.uk,2005://1.108</id>
    
    <published>2005-09-28T21:51:53Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>Sorry to be a pain, but I&apos;m moving the RSS feeds and all the rest of &apos;em to www.brainfire.co.uk/feeds/. Trackbacks are being removed. Over the last 17 months, I&apos;ve had one and I&apos;ve had all the trackback spam I can...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Misc" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>Sorry to be a pain, but I'm moving the RSS feeds and all the rest of 'em to www.brainfire.co.uk/feeds/. Trackbacks are being removed. Over the last 17 months, I've had one and I've had all the trackback spam I can take, I can't takes no more! </p>

<p>With effect as of now&hellip; for anyone who's interested.</p>]]>
        
    </content>
</entry>
<entry>
    <title>New favourite icon</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2005/07/new_favourite_icon.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=97" title="New favourite icon" />
    <id>tag:www.brainfire.co.uk,2005://1.97</id>
    
    <published>2005-07-26T22:48:10Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>Many thanks to Mr Howat. Who (I&apos;m guessing) got so fed up of looking through his list of bookmarks to find brainfire, took it upon himself to make me an icon (it&apos;s up there next to the address). Now you...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Events" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>Many thanks to <a href="http://www.willhowat.com/" title="Will Howat's - web by design">Mr Howat</a>. Who (I'm guessing) got so fed up of looking through his list of bookmarks to find brainfire, took it upon himself to make me an icon (it's up there next to the address).<br />
Now you can all benefit from my little bit of extra branding.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Make Poverty History</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2005/07/make_poverty_history.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=93" title="Make Poverty History" />
    <id>tag:www.brainfire.co.uk,2005://1.93</id>
    
    <published>2005-07-03T21:55:48Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>You may have noticed the &apos;MAKEPOVERTYHISTORY&apos; banner on this site. That&apos;s because I watched the fantastic Live8 concerts yesterday and I am now a supporter of this worthy cause. Placing this banner onto brainfire is the least I can do....</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Events" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>You may have noticed the '<a href="http://www.makepovertyhistory.org/" title="Find out more about MAKEPOVERTYHISTORY"><strong>MAKE</strong>POVERTY<strong>HISTORY</strong></a>' banner on this site. That's because I watched the fantastic <a href="http://www.live8live.com/" title="LIVE8 - The Long Walk to Justice">Live8</a> concerts yesterday and I am now a supporter of this worthy cause. Placing this banner onto brainfire is the least I can do. Hopefully, in doing so I will make more people aware and encourage you to <a href="http://www.makepovertyhistory.org/getinvolved/" title="What you can do to help make poverty history">get involved</a>.<br />
Hope you watched the gigs yesterday and more importantly listened to what <a href="http://www.bobgeldof.info/" title="Official Website of Bob Geldof">Bob Geldolf</a> had to say.<br />
Oh, and for some of you I know the banner covers the '<a href="http://www.brainfire.co.uk/contact/" title="">Contact</a>' button, but I don't really think that's important right now.</p>]]>
        
    </content>
</entry>
<entry>
    <title>Venues finding service</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2005/06/venues_finding_service.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=87" title="Venues finding service" />
    <id>tag:www.brainfire.co.uk,2005://1.87</id>
    
    <published>2005-06-16T22:19:21Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>Last month saw the release of our new project: Venues.org.uk. A free venues finding service. I was responsible for designing a clear and simple user interface with emphasis on the search facility. I&apos;m happy with the results - all pages...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Web" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p><a href="http://www.venues.org.uk/" title="Visit Venues.org.uk - The free venue finding service"><img src="http://www.brainfire.co.uk/blog/images/2005/0616_venues.gif" width="146" height="103" border="0" alt="Venues.org.uk logo" title="Venues.org.uk - The free venue finding service" /></a>Last month saw the release of <a href="http://www.tarsus-group.com/index.asp?section=51&amp;id=6" title="Tarsus Group: New media team">our</a> new project: <a href="http://www.venues.org.uk/" title="Visit Venues.org.uk - The free venue finding service">Venues.org.uk</a>. A free venues finding service. I was responsible for designing a clear and simple user interface with emphasis on the search facility. <br />
I'm happy with the results - all pages validate as transitional <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>, use logical semantics and contain accessiblilty features. I also believe it's easy to use. Plus as our reports show, many people are finding it a useful tool too! [I'll add some stats soon]</p>]]>
        
    </content>
</entry>
<entry>
    <title>Extracting email addresses</title>
    <link rel="alternate" type="text/html" href="http://www.brainfire.co.uk/blog/2005/05/extracting_email_addresses.php" />
    <link rel="service.edit" type="application/atom+xml" href="http://www.brainfire.co.uk/movabletype/mt-atom.cgi/weblog/blog_id=1/entry_id=86" title="Extracting email addresses" />
    <id>tag:www.brainfire.co.uk,2005://1.86</id>
    
    <published>2005-05-30T22:11:20Z</published>
    <updated>2008-07-20T14:32:41Z</updated>
    
    <summary>Recently I had to send an email newsletter to many recipients. The email addresses supplied were in a single column of a spreadsheet. My mass email sending application uses a comma separated list of addresses. Not usually a problem, a...</summary>
    <author>
        <name>Mat</name>
        
    </author>
            <category term="Code" />
    
    <content type="html" xml:lang="en" xml:base="http://www.brainfire.co.uk/">
        <![CDATA[<p>Recently I had to send an email newsletter to many recipients. The email addresses  supplied were in a single column of a spreadsheet. My mass email sending application uses a comma separated list of addresses. Not usually a problem, a simple <abbr title="Comma Separated Values">CSV</abbr> export of this list does the job. Only in this case some email addresses were not in a valid format.</p>

<p>For examaple:</p>

<blockquote><code>foo&#64;domain&#46;com &#91;foo&#64;domain&#46;com&#93;</code></blockquote>

<p>I needed a quick way to identify each of these non-valid addresses and manipulate them into a usable format.</p>]]>
        <![CDATA[<p>Using Excel, I came up with the following formulas to check and correct each bad address.</p>

<p><strong>Step 1 - Identifying a bad address</strong></p>

<p>With one address in each cell starting in cell A1, I placed the following formula in B1 to discover if A1 contained an opening square bracket.</p>

<blockquote><code>=FIND("&#91;",A1)</code></blockquote>

<p>If A1 does contain a bracket, then B1 returns the numeric position of the first occurrence. If there is no bracket, then an error is returned. To avoid this error we can place an <code>ISERROR</code> statement around the <code>FIND</code> statement as follows:</p>

<blockquote><code>=ISERROR(FIND("&#91;",A1))</code></blockquote>

<p>Now the B1 cell will return either TRUE or FALSE. Therefore if the cell in question does contain a square bracket, then there is no error and we need to do something, otherwise we'll be happy returning the valid email address. We can do this with the <code>IF</code> statement.</p>

<blockquote><code>=IF(ISERROR(FIND("&#91;",A1)),A1,"do something")</code></blockquote>

<p><strong>Step 2 - Locating the email address</strong></p>

<p>The way I have chosen to return the email address is by extracting the string from inbetween the two square brackets. To do this I used the <code>MID</code> function. This allows me to return the characters from the middle of a text string, given a starting position and length.</p>

<blockquote><code>=MID(<em>text</em>,<em>start_num</em>,<em>num_chars</em>)</code></blockquote>

<p>The first property of this function is easy, A1. For the second part I need to find the opening bracket. This can be done by using the previous function <code>FIND</code>. As this returns the location of the bracket, I need to add 1 so the bracket itself is not returned.<br />
For the last property (<em>num_chars</em>), I'll use <code>FIND</code> again, but as this property is a count and NOT the end position I need to subtract from the position of the first bracket.<br />
The final <code>MID</code> function looks like this.</p>

<blockquote><code>=MID(A1,FIND("&#91;",A1)+1,(FIND("&#93;",A1)-(FIND("&#91;",A1)+1)))</code></blockquote>

<p><strong>Step 3 - Joining the two functions together</strong></p>

<p>Copy and paste the <code>MID</code> function in place of the </code>"do something"</code> statement (whilst remembering to remove the <code>=</code> sign). The final statement looks like this:</p>

<blockquote><code>=IF(ISERROR(FIND("&#91;",A1)), A1, MID(A1,FIND("&#91;",A1)+1,(FIND("&#93;",A1)-(FIND("&#91;",A1)+1))))</code></blockquote>

<p><strong>Step 4 - Apply to all rows</strong></p>

<p>Now we simply double click the little square in the bottom-right corner of the A2 cell to copy this formula to the rest of the rows containing data. Then, copy column B paste the <strong>values</strong> into a new worksheet and save as a CSV.</p>]]>
    </content>
</entry>

</feed> 

