<?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>Mike Afford Media Blog &#187; websites</title>
	<atom:link href="http://www.mikeafford.com/blog/category/websites/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikeafford.com/blog</link>
	<description>Mike Afford is a Graphic Designer for TV and Web based in Leitrim, Ireland.</description>
	<lastBuildDate>Thu, 02 Feb 2012 23:52:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>BBC Weather website map colours</title>
		<link>http://www.mikeafford.com/blog/2011/11/bbc-weather-map-colours/</link>
		<comments>http://www.mikeafford.com/blog/2011/11/bbc-weather-map-colours/#comments</comments>
		<pubDate>Tue, 22 Nov 2011 18:29:09 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[broadcast graphics]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[BBC]]></category>
		<category><![CDATA[BBC Weather website]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=1045</guid>
		<description><![CDATA[Why the maps on the new BBC Weather website don't look quite right to me.]]></description>
			<content:encoded><![CDATA[<p><div class="wp-caption alignleft" style="width: 225px"><a href="http://images.mikeafford.com/weather-graphics/bbc-weather-map-colour1.jpg"><img alt="BBC Weather map colours" src="http://images.mikeafford.com/weather-graphics/bbc-weather-map-colour1th.jpg" title="BBC Weather map colours" width="215" height="203" /></a><p class="wp-caption-text">BBC Weather map colours</p></div>I&#8217;ve been puzzling over this for a couple of days now. * </p>
<p>I&#8217;d noticed that the new <a href="http://www.bbc.co.uk/weather/">BBC Weather website</a> was using a different colour for the sea on their maps. </p>
<p>I&#8217;d originally <a href="http://www.mikeafford.com/tv-graphics/projects/weather-graphics.html">designed the weather maps</a> with a deeper blue for the sea, so I was intrigued to see the colour had changed to a paler, less saturated, and slightly more &#8216;greeny&#8217; blue (some of the more &#8216;greeny&#8217; blues I&#8217;d previously reserved for <strong>light rain</strong>).</p>
<p>One of the first effects I noticed was that the actual colour on screen for certain levels of light rain over the sea was <a href="http://images.mikeafford.com/weather-graphics/bbc-weather-map-colour1.jpg">virtually identical to that of light cloud</a>. </p>
<p>I suppose it&#8217;s just a small point really. It&#8217;s still fairly obvious where the rain is &#8211; but I was just a bit puzzled as to why a (presumably) cosmetic change to the sea colour should have made the rain data in particular so much more ambiguous and obfuscated.</p>
<p>Anyway &#8211; I think I&#8217;ve figured out why the new maps don&#8217;t look quite right to me.<span id="more-1045"></span> </p>
<p>Just a theory this &#8211; but when I compared a map showing the forecast a few hours from now with a longer-range forecast it looked as though the rain data was showing up a bit more clearly on the latter. And that is despite the long-range data being of a lower resolution. Take a look at the image below, and hopefully you&#8217;ll see what I mean. The map on the left uses higher resolution data, but even so, that band of rain I&#8217;ve circled looks kind of duller. A similar band of rain on the right-hand map looks kind of brighter to me.</p>
<p><img alt="" src="http://images.mikeafford.com/weather-graphics/bbc-weather-map-colour2.jpg" class="alignleft" width="560" height="318" style="margin-bottom:20px;" /></p>
<p>I know the higher resolution map is picking up more areas of heavy rain within that band (and consequently displaying deeper blue areas here and there) &#8211; but I reckon what&#8217;s <em>actually</em> going on is that the layers of data are being drawn in the wrong order.</p>
<p>I could be wrong, but it looks very much to me as if the short-range maps are drawing the rain layer first and then having the &#8217;shadowy&#8217; cloud layer drawn on top. Since the rain only appears where there&#8217;s cloud (naturally enough!) the end result is that the entire rain layer is being darkened down by a transparent black layer on top. </p>
<p>The long-range map appears to be (correctly) displaying the cloud data first (like a shadow on the ground) with the rain data drawn on top.</p>
<p>Back in my old BBC days this would normally be the point at which I would stroke my chin sagely and say &#8220;Hmmm&#8230; Possibly a z-buffering issue&#8230;&#8221;</p>
<p>Anyhoo, as I say I can&#8217;t be sure, but it should be much easier to tell once it starts snowing everywhere&#8230;!</p>
<p>* I should point out that I haven&#8217;t been puzzling about this <em>non-stop</em> for a couple of days. It&#8217;s been more a kind of intermittent puzzling.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2011/11/bbc-weather-map-colours/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Seamless looping weather symbol animation using Trapcode Particular, jQuery, and Spritely</title>
		<link>http://www.mikeafford.com/blog/2011/10/seamless-looping-weather-symbol-animation-using-trapcode-particular-jquery-and-spritely/</link>
		<comments>http://www.mikeafford.com/blog/2011/10/seamless-looping-weather-symbol-animation-using-trapcode-particular-jquery-and-spritely/#comments</comments>
		<pubDate>Fri, 07 Oct 2011 16:42:30 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[weather]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[BBC weather symbols]]></category>
		<category><![CDATA[motion graphics]]></category>
		<category><![CDATA[Spritely]]></category>
		<category><![CDATA[sprites]]></category>
		<category><![CDATA[Trapcode Particular]]></category>
		<category><![CDATA[weather icons]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=936</guid>
		<description><![CDATA[Seamlessly looping weather animations generated in After Effects using Trapcode Particular and animated on screen using Spritely (jQuery plugin).]]></description>
			<content:encoded><![CDATA[<p><script src="http://www.mikeafford.com/scripts/jquery-1.4.1.min.js" type="text/javascript"></script><script src="http://www.mikeafford.com/scripts/jquery.spritely-0.6.js" type="text/javascript"></script>
<div style="background-color: #282828; border: 1px solid #545454; border-radius: 3px 3px 3px 3px; margin: 0 20px 20px 0; padding: 2px; text-align: center;float:left;">
<div id="weatherspriteexample" style="background: url(http://images.mikeafford.com/weather-graphics/weather-symbols/w6-weather-snow-showers.png) 0 0 no-repeat; width: 64px; height: 64px; margin:3px;"></div>
</div>
<p><script type="text/javascript">
$('#weatherspriteexample').sprite({fps: 25, no_of_frames: 64});</script>A few weeks ago I had to produce a set of bespoke animations based on my &#8216;old-school&#8217; weather symbols for use in an app &#8211; each as a single sheet of individual frames that could be cycled through within the app.</p>
<p>Anyway &#8211; it got me thinking about the (&#8217;new&#8217;) BBC weather icons I designed back in 2005 and whether I could produce a similar set of my own with more realistic weather effects using proper particles and then animate them somehow on a web page without resorting to animated GIFs&#8230;</p>
<p>With any luck you&#8217;ll be able to see a little &#8216;light snow showers&#8217; icon looping away on the left there. </p>
<p>For anyone interested, I&#8217;ll quickly explain how it&#8217;s done&#8230;<span id="more-936"></span></p>
<p>Basically all we&#8217;re doing is loading up one long image with all the frames in sequence and cycling through each frame by moving the background position on the fly. I&#8217;m using <strong>Spritely</strong> (<a href="http://spritely.net">spritely.net</a>) which is a jQuery plugin for creating animating sprites and backgrounds using pure HTML and JavaScript. It&#8217;s very easy to use and works on loads of browsers and devices.</p>
<h3>Building the animations</h3>
<p>All of the animations were built in After Effects, the rain, snow, sleet, hail etc were generated using <strong>Trapcode Particular</strong> from <strong>Red Giant Software</strong> (<a href="http://www.redgiantsoftware.com/products/all/trapcode-particular/">redgiantsoftware.com/products/all/trapcode-particular/</a>). </p>
<p>The key to getting the animations to loop seamlessly was to create a single layer using Particular which had a load of particles created off screen at the top for just a few frames, so they all fall down through the shot and disappear completely at the bottom some time later. I then chose a nice frame somewhere in the middle that was full of particles and marked that frame as the loop point. Then I duplicated the layer and slid one of them forwards a bit. </p>
<p>The end result is that one layer has all the particles <em>appearing</em> from nothing (and ending at the &#8216;loop&#8217; frame marker) while the other layer <em>starts</em> on the &#8216;loop&#8217; frame marker and has all the particles <em>disappearing</em> out of shot. The overall effect is a single seamless loop of particles continuously falling. Obviously the total number of frames in your loop can&#8217;t be any less than half the time it takes for the particles to enter and leave the shot, otherwise the loop won&#8217;t be seamless. Actually, it probably needs to be exactly half. There&#8217;s a good tutorial by Aharon Rabinowitz on <a href="http://library.creativecow.net/articles/rabinowitz_aharon/CC_Looping_Particles/video-tutorial">how to loop particles properly</a> which explains it all very nicely.</p>
<p>With a little bit of fiddling it was pretty easy to get the rain animations down to a neat 16 frames. Obviously the snow falls more slowly, so &#8216;light snow&#8217; ended up running to 64 frames. Heavy snow is at 48 frames, lightning 32, hail is 16.</p>
<h3>Animating the sprites</h3>
<p>Doing the actual animation on a web page is very easy. The example above and some more  <a href="http://www.mikeafford.com/buy/animated-weather-icon-sprites.html">over here</a> use <strong>Spritely</strong> (<a href="http://spritely.net">spritely.net</a>).  All you have to do is load jQuery and Spritely on the page, define a &lt;div&gt; element with the height and width of a single frame, and the whole image strip as the background and then one line of script starts the animation going using your specified frame rate (mine are all 25 frames per second) and the total number of frames in the animation.</p>
<p>Obviously there&#8217;s one more process I haven&#8217;t mentioned &#8211; which is basically how to stick 64 separate images together to form one long strip. I daresay there are utilities out there that allow you do this &#8211; but I&#8217;m grateful to Dan Waylonis from <a href="http://nekotech.com/">nekotech.com</a> who wrote and sent me a little utility which does exactly that. </p>
<p>As always, if anyone is interested in finding out more, please do leave a comment.</p>
<p>And if you would like to have the full set of weather sprite animations they&#8217;re available as a <a href="http://www.mikeafford.com/buy/animated-weather-icon-sprites.html">download from the store</a>.</p>
<p><a href="http://www.mikeafford.com/buy/animated-weather-icon-sprites.html"><img alt="" src="http://images.mikeafford.com/weather-graphics/weather-symbols/animated-weather-symbol-sprites.jpg" title="Animated weather symbol sprites" class="alignleft" width="560" height="219" style="margin-bottom:20px;" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2011/10/seamless-looping-weather-symbol-animation-using-trapcode-particular-jquery-and-spritely/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>World Weather Online Icons</title>
		<link>http://www.mikeafford.com/blog/2011/07/world-weather-online-icons/</link>
		<comments>http://www.mikeafford.com/blog/2011/07/world-weather-online-icons/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 09:53:15 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[weather]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[weather icons]]></category>
		<category><![CDATA[weather symbols]]></category>
		<category><![CDATA[world weather online]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=895</guid>
		<description><![CDATA[Download the weather icon sets used at World Weather Online. Royalty free for personal and commercial use. Also, a FREE wind arrow pack.]]></description>
			<content:encoded><![CDATA[<p><div class="wp-caption alignleft" style="width: 225px"><a href="http://www.mikeafford.com/buy/index.html"><img alt="World Weather Online Icons" src="http://images.mikeafford.com/weather-graphics/weather-symbols/world-weather-online-icons.png" title="World Weather Online Icons" width="215" height="175" /></a><p class="wp-caption-text">World Weather Online Icons</p></div> Just a quick heads up for anyone searching online for the icons that appear on the <strong><a href="http://www.worldweatheronline.com/weather/Ireland/1004942/Dublin/1009164/info.aspx?day=0">World Weather Online</a></strong> site. </p>
<p>There&#8217;s a number of different weather icon sets available from our <a href="http://www.mikeafford.com/buy/index.html">store</a>. Professionally designed by the same guy (me) who designed the BBC weather graphics. </p>
<p>You can also download a <a href="http://www.mikeafford.com/buy/free-icons-wind.html">FREE wind arrows and icons</a> pack to complement the icon sets.</p>
<p>Watch out for special offers and discount codes. Currently there&#8217;s a <a href="http://www.mikeafford.com/buy/weather-symbol-sets.html">special 40% discount on the full set of 3 icon sets</a> (coloured backgrounds, transparent PNGs, and animated GIFs).</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2011/07/world-weather-online-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hand drawn weather icons</title>
		<link>http://www.mikeafford.com/blog/2011/06/hand-drawn-weather-icons/</link>
		<comments>http://www.mikeafford.com/blog/2011/06/hand-drawn-weather-icons/#comments</comments>
		<pubDate>Wed, 29 Jun 2011 11:02:05 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[weather]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[weather icons]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=838</guid>
		<description><![CDATA[Latest hand-sketched weather icon set available now from the <a href="http://www.mikeafford.com/buy/index.html">store</a>. 32 icons, 2 types, 4 sizes, plus Truetype font.]]></description>
			<content:encoded><![CDATA[<p><div class="wp-caption alignleft" style="width: 270px"><a href="http://www.mikeafford.com/buy/hand-drawn-icons.html"><img alt="Hand drawn weather icons" src="http://images.mikeafford.com/store/weather-icons-hand-drawn.jpg" title="Hand drawn weather icons" width="260" height="260" /></a><p class="wp-caption-text">Hand drawn weather icons</p></div>Latest icon set available now from the <a href="http://www.mikeafford.com/buy/index.html">store</a>. The perfect accompaniment for hand-drawn fonts like <em>&#8216;Pointy&#8217;, &#8216;Handvetica&#8217;, &#8216;Grutch Shaded&#8217;, &#8216;Sketch Block&#8217;</em> etc &#8211; these hand-sketched weather icons come in 4 different sizes, in coloured and outline versions, all in PNG format with transparency. Included as a free bonus is <strong>Weather Sketched Regular</strong> &#8211; a Truetype font containing all 32 icons &#8211; lowercase gives you the weather symbols, and the first 8 uppercase characters give you the eight directional wind arrows.</p>
<p>This set now includes text icons for &#8216;Hot&#8217; and &#8216;Cold&#8217; plus a new pictorial icon for &#8216;windy&#8217; &#8211; so they can now easily be used in conjunction with the Yahoo! Weather API, and similar weather data providers.<br />
<span id="more-838"></span></p>
<h3>Product details</h3>
<p><strong>Format :</strong> Images &#8211; PNG (with transparency). Font &#8211; Truetype</p>
<p><strong>Dimensions :</strong> 8 complete sets &#8211; 2 each at 64&#215;64 pixels, 100&#215;100 pixels, 128&#215;128 pixels and 256&#215;256 pixels</p>
<p><strong>Weather codes :</strong> 1. sunny, 2. sunny spells, 3. cloudy, 4. light rain showers, 5. heavy rain showers, 6. light snow showers, 7. heavy snow showers, 8. light hail showers, 9. heavy hail showers, 10. sleet showers, 11. thundery showers, 12. windy, 13. light rain, 14. heavy rain, 15. light snow, 16. heavy snow, 17. light hail, 18. heavy hail, 19. sleet, 20. stormy, 21. fog, 22. mist, 23. hot, 24. cold, 25-32. wind arrows in 8 directions</p>
<p><a href="http://www.mikeafford.com/buy/hand-drawn-icons.html"><img src="http://images.mikeafford.com/store/weather-icons-sketch.jpg" width="560" height="560" alt="hand sketched weather icons and font" /></a></p>
<p><a href="http://www.mikeafford.com/buy/hand-drawn-icons.html">Visit the store for hand-drawn weather symbols</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2011/06/hand-drawn-weather-icons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Angelfield : remembering my pal</title>
		<link>http://www.mikeafford.com/blog/2010/04/angelfield-remembering-my-pal/</link>
		<comments>http://www.mikeafford.com/blog/2010/04/angelfield-remembering-my-pal/#comments</comments>
		<pubDate>Wed, 07 Apr 2010 14:26:28 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[music]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[angelfield]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=546</guid>
		<description><![CDATA[A redesign of the band website www.angelfield.com]]></description>
			<content:encoded><![CDATA[<p><div id="attachment_550" class="wp-caption alignleft" style="width: 225px"><a href="http://www.mikeafford.com/blog/wp-content/uploads/2010/04/angelfield-site.jpg"><img src="http://www.mikeafford.com/blog/wp-content/uploads/2010/04/angelfield-site-215x195.jpg" alt="angelfield.com" title="angelfield" width="215" height="195" class="size-medium wp-image-550" /></a><p class="wp-caption-text">angelfield.com</p></div>It&#8217;s taken a little while, but I&#8217;ve just finished giving a little facelift to the <a href="http://www.angelfield.com">Angelfield website</a>. Last night I did a quick Wordpress install, customised to serve as a simple comments page in case any visitors wanted to leave a message. </p>
<p>I&#8217;d already changed the look of the main site, making it more of a tribute to Brian, who died tragically last September. He was the singer in the band, a fine musician and lyricist, and my best friend. </p>
<p>We formed Angelfield some time in the late eighties, although we&#8217;d been playing music together for many years before that. </p>
<p>As well as music, anyone that knew Brian would know also of his love of horses and racing. With that in mind,  his family and friends have sponsored a race in his memory. </p>
<p>The <strong>Brian Spencer Memorial Chase</strong> is taking place at Plumpton on the 9th of May as part of <strong>Family Raceday 2010</strong>. </p>
<p>According to the <a href="http://plumptonracecourse.co.uk/tickets/fixtures-buytickets/family-raceday-2010/">Plumpton Racecourse site</a> the Family Raceday is &#8220;an action packed programme of family entertainments &#8230; with Free Entry for children under 16&#8243;. </p>
<p>So if you&#8217;d like to have a child-friendly fun day out, remembering Brian and the good times, in the company of old friends (and horses), then get down to Plumpton on the 9th May. I think there are coaches being organised too, I&#8217;ll update this post when I find out more about that.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2010/04/angelfield-remembering-my-pal/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why we won&#8217;t be outsourcing to India any time soon</title>
		<link>http://www.mikeafford.com/blog/2010/02/why-we-wont-be-outsourcing-to-india-any-time-soon/</link>
		<comments>http://www.mikeafford.com/blog/2010/02/why-we-wont-be-outsourcing-to-india-any-time-soon/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 00:20:38 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=420</guid>
		<description><![CDATA[If you're reading this, and are in India, and do any kind of web-related business, and are considering sending multiple emails to contact@, support@, services@, ceo@, products@ ... ]]></description>
			<content:encoded><![CDATA[<p>I expect the odd bit of promotional email to arrive every now and again. But recently I&#8217;ve noticed a marked increase in emails offering web services and/or SEO, always from India, and always sent to at least <strong>four</strong> separate email addresses at this domain (contact@, support@, services@, ceo@, products@, among others &#8211; none of which even exist). Come on guys, please don&#8217;t make me set up a spam filter to look for the word &#8216;India&#8217;.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2010/02/why-we-wont-be-outsourcing-to-india-any-time-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Holiday Website design</title>
		<link>http://www.mikeafford.com/blog/2009/10/holiday-website-design/</link>
		<comments>http://www.mikeafford.com/blog/2009/10/holiday-website-design/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 22:05:09 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[websites]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=381</guid>
		<description><![CDATA[Web design for a holiday apartment site in the South of France- a sunny holiday template design. ]]></description>
			<content:encoded><![CDATA[<p><div class="wp-caption alignleft" style="width: 225px"><a href="http://www.mikeafford.com/blog/wp-content/uploads/2009/10/cannes-holiday-apartment-website.jpg"><img alt="holiday apartment web design" src="http://www.mikeafford.com/blog/wp-content/uploads/2009/10/cannes-holiday-apartment-website-small.jpg" title="cannes apartment website design" width="215" height="178" /></a><p class="wp-caption-text">holiday apartment web design</p></div>Here&#8217;s a quick website design I recently completed for a <a href="http://www.cannes-holiday-apartment.com/" target="_blank" title="cannes holiday apartment">holiday apartment in Cannes</a>. The client was looking for a refresh of their existing site, so I designed a quick-loading page template with a sunny feel and moved over all the existing content to the new design with a few on-site search engine optimizations thrown in. Everything up and running in under 48 hours.</p>
<p>If you view the site in Internet Explorer you&#8217;ll see that all the boxes (including the heading banner image) have square corners, but if you use a proper browser like Firefox, you should see rounded corners. I know it&#8217;s a bit of a cop out, and I did (briefly) investigate <a href="http://www.methvin.com/jquery/jq-corner-demo.html" target="_blank">JQuery rounded corners</a>, but in the end I opted for a IE conditional comment to replace the heading strap with an alternate (square cornered) image so that at least the look and feel is consistent depending on which browser the site is viewed in.</p>
<p>I&#8217;m also now a big fan of <strong>Parallels Desktop</strong> for the Mac. While I was doing a quick check for cross-browser compatibility I was able to run Firefox <em>and</em> Safari <em>and</em> Explorer versions 6, 7 &amp; 8 all at the same time on my laptop. Possibly the subject of a future blog post I think&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/10/holiday-website-design/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Cufón text replacement in Wordpress</title>
		<link>http://www.mikeafford.com/blog/2009/09/cufon-text-replacement-in-wordpress/</link>
		<comments>http://www.mikeafford.com/blog/2009/09/cufon-text-replacement-in-wordpress/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 11:05:21 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[fonts]]></category>
		<category><![CDATA[technical]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[customising]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[themes]]></category>
		<category><![CDATA[typography]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=345</guid>
		<description><![CDATA[Recent experiments with Cufón text replacement, and the wp-cufon Wordpress plugin.]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 225px"><a href="http://www.mikeafford.com/images/store/tolkien-font-cufon-example.png"><img alt="Tolkien Fonts - cufon text replacement example" src="http://www.mikeafford.com/images/store/tolkien-font-cufon-example-small.png" title="Tolkien Fonts - cufon text replacement example" width="215" height="157" /></a><p class="wp-caption-text">Tolkien Fonts - cufon text replacement example</p></div>I&#8217;ve recently been experimenting with <strong>Cufón</strong> text replacement, and decided to put it to use on <a href="http://www.themoment.co.uk/tolkien/category/books-by-tolkien/" target="_blank">a site I&#8217;ve been messing about with</a>. I&#8217;d also been converting the whole thing to a Wordpress-powered site (more on that later), so it seemed to make sense to look for a plug-in to do the job.</p>
<p>So, the plugin is called <strong>WP-Cufon</strong> and you can get it at <a href="http://wordpress.org/extend/plugins/wp-cufon/" target="_blank">wordpress.org/extend/plugins/wp-cufon/</a></p>
<p>It&#8217;s quick to install, has good documentation, and it&#8217;s easy enough to specify some rules to control the text replacement on your site.</p>
<p>So for example I&#8217;ve used :</p>
<p><code>Cufon.replace('h1', { hover:true });<br />
Cufon.replace('h2', { hover:true });<br />
Cufon.replace('h5');<br />
Cufon.replace('#navbar a');</code></p>
<p>which replaces the font for h1, h2, h5 headings and any link text within the &#8216;navbar&#8217; div with a special font of my own making. All of the subsequent styling is covered by CSS. It really is very simple to set up.</p>
<p>You need to convert your font first into a format that Cufon can handle &#8211; there&#8217;s a <a href="http://cufon.shoqolate.com/generate/" target="_blank">Cufon generator</a> that does the whole thing very neatly. It also, importantly, allows you to limit usage to certain domains to protect the font from use elsewhere.</p>
<p><span id="more-345"></span>I&#8217;d previously looked at <a href="http://www.mikeindustries.com/blog/archive/2004/08/sifr" target="_blank">Scalable Inman Flash Replacement (sIFR)</a> but I have to say I think Cufón may have the edge if only for ease of set-up &#8211; although, granted a lot of the hard work has already been done by the plug-in. Oh, and Cufon doesn&#8217;t use Flash.</p>
<p>I don&#8217;t claim to understand exactly <em>how</em> Cufon works, but if you&#8217;re interested in that kind of thing have a look at <a href="http://wiki.github.com/sorccu/cufon/about" target="_blank">http://wiki.github.com/sorccu/cufon/about</a> which goes into all the nitty-gritty.</p>
<p>And here&#8217;s a link to <a href="http://www.tobias-battenberg.de/wp-cufon/" target="_blank">the creator of the wp-cufon plugin, Tobias Battenberg</a></p>
<h3>OK, Tolkien fans</h3>
<p>So this next bit is only really of interest to fans of <strong>The Lord of the Rings</strong>&#8230; (look away now if hobbits and dragons aren&#8217;t your thing!). No really.</p>
<p>The site I&#8217;ve used Cufon on is a <a href="http://www.themoment.co.uk/tolkien/category/books-by-tolkien/" target="_blank" title="Tolkien books">Tolkien book collecting site</a> &#8211; and I created a special font that brings to mind the calligraphy of the author J.R.R.Tolkien &#8211; I was pretty pleased with the end result, so if anyone&#8217;s interested they can buy a copy of <a href="http://www.mikeafford.com/buy/tolkien-font.html" target="_blank" title="Tolkien font"><strong>Tolkienesque Regular</strong> (in Truetype font format) from my store</a>.</p>
<p>I also ended up tackling another Wordress theme design from scratch &#8211; so the entire site has a kind of &#8216;Tolkienesque&#8217; feel to it. That&#8217;s the name I gave to the theme too.</p>
<p><div class="wp-caption alignleft" style="width: 545px"><a href="http://www.themoment.co.uk/tolkien/books-by-tolkien/middle-earth-related/history-of-middle-earth/the-peoples-of-middle-earth-1st-edition/" target="_blank"><img alt="Tolkien Wordpress theme" src="http://www.mikeafford.com/images/store/tolkien-font-example-website.png" title="Tolkien Wordpress theme" width="535" height="706" /></a><p class="wp-caption-text">Tolkien Wordpress theme</p></div>
<p>The Wordpress theme makes heavy use of categories to organise the 400-odd entries, and has a neat &#8216;Random Item&#8217; widget that I made to pull a text link and the first thumbnail image from a random post. Anyway, I was quite pleased with the end result. It&#8217;s been a labour of love built in spare minutes snatched here and there over the last few months.</p>
<p>But I&#8217;m most pleased by the fact that I can now use any old font I like in Wordpress, subject of course to  EULAs and other <a href="http://www.fontembedding.com/fonts-and-the-law/" target="_blank">legal niceties</a>, or at least until the legal quagmire surrounding <strong>@font-face</strong>, font embedding and linking gets sorted out. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/09/cufon-text-replacement-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Wordpress Weather Widget (almost)</title>
		<link>http://www.mikeafford.com/blog/2009/05/wordpress-weather-widget-almost/</link>
		<comments>http://www.mikeafford.com/blog/2009/05/wordpress-weather-widget-almost/#comments</comments>
		<pubDate>Fri, 01 May 2009 14:55:46 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[weather]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[BBC weather symbols]]></category>
		<category><![CDATA[customising]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=253</guid>
		<description><![CDATA[An experiment to embed my own <a title="weather icons" href="http://www.mikeafford.com/buy/weather-symbols-tv.html" target="_blank">weather icons</a> into a blog-style widget.]]></description>
			<content:encoded><![CDATA[<p>Over on the right there you should be seeing a little widget-like thing showing the weather forecast for Lovely Leitrim. <em>(UPDATE: currently disabled)</em>. It&#8217;s using my own TV graphics-style <a title="weather icons" href="http://www.mikeafford.com/buy/weather-symbols-tv.html" target="_blank">Weather Icons which you can get here</a>.</p>
<p>I don&#8217;t know exactly (yet) how to make it into a downloadable widget that other people could use on their own sites, but if I get time I may investigate how to package it up. At the moment it&#8217;s just hard coded into a regular text widget. And it&#8217;s also hard coded to pick up the weather forecast for Carrick-on-Shannon, so I expect the appeal might be&#8230; er&#8230; limited.</p>
<p><span id="more-253"></span><br />
The inspiration for this came from seeing articles like <a href="http://css-tricks.com/using-weather-data-to-change-your-websites-apperance-through-php-and-css/" target="_blank">Using Weather Data to Change Your Website’s Appearance through PHP and CSS</a> and of course, the <a href="http://news.bbc.co.uk/weather/" target="_blank">BBC Weather site which displays different graphics depending on the weather forecast</a>.</p>
<p>The main thing I wanted to learn about was just the basic process of getting and parsing a feed and using some of the data it contained to pop a weather symbol on my site &#8211; there were plenty of sites out there offering different solutions, but the <a href="http://www2.voegeli.li/no_cache/code-tutorials/php-scripts.html">php classes from Marco Voegeli</a> were a great starting point. </p>
<p>I discovered quite a few useful things while trying to put this together. Probably the most important in the end was to check your hosting company&#8217;s firewall settings&#8230; </p>
<p>I&#8217;d had the basic code working fine for AGES and was testing happily using MAMP on my local Mac, but every time I tried to put it live on the server it killed the entire blog and all my existing widgets vanished from the admin page. That usually happened right before Wordpress froze up completely.</p>
<p>Anyway, the bottom line is I needed to contact my host (Supanames) to get them to allow me to contact the remote website to access the Weather feed. There&#8217;s a link in MyPanel called &#8216;Firewall Rules&#8217; and a form to send a request to the engineers to enable connections to a particular URL. Which once again, all happened very promptly, so full marks again to Supanames support.</p>
<p>Also, if ever you lose all your widgets from your Wordpress Admin screen, I&#8217;d recommend disabling your plugins one by one until the list comes back, then remove (or edit) the offending widget, and then re-activate the plugins. I know that&#8217;s probably fairly obvious to most, and may not always solve the issue, but it&#8217;s still a good starting point.</p>
<p>Mike</p>
<p>UPDATE:  March 2010<br />
This widget had been running just fine for nearly a year, but today something went screwy and it killed the whole blog. I&#8217;ve removed it for now, pending further investigation. It&#8217;s a bit tricky because I can&#8217;t view the blog to see even what kind of error it&#8217;s causing&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/05/wordpress-weather-widget-almost/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Weather Symbols</title>
		<link>http://www.mikeafford.com/blog/2009/04/weather-symbols/</link>
		<comments>http://www.mikeafford.com/blog/2009/04/weather-symbols/#comments</comments>
		<pubDate>Mon, 20 Apr 2009 19:30:41 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[weather]]></category>
		<category><![CDATA[websites]]></category>
		<category><![CDATA[BBC weather symbols]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=238</guid>
		<description><![CDATA[I&#8217;ve had plenty of people visiting my site looking for weather symbols to download so I thought it was about time that I actually made some weather symbols of my own.

The problem has been that everyone has been trying to get their hands on the old BBC ones which I &#8216;refreshed&#8217; slightly as part of [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had plenty of people visiting my site looking for weather symbols to download so I thought it was about time that I actually made <a title="Weather Symbols to download" href="http://www.mikeafford.com/buy/weather-symbols-tv.html" target="_blank">some weather symbols of my own</a>.</p>
<p><a title="Weather Symbol Set - 40 unique icons in a TV Graphics style" href="http://www.mikeafford.com/buy/weather-symbols-tv.html"><img src="http://www.mikeafford.com/images/store/weather-symbols-banner.jpg" border="1" alt="Weather Symbol Graphics" width="560" height="64" /></a></p>
<p>The problem has been that everyone has been trying to get their hands on <a title="the Beeb ones" href="http://www.mikeafford.com/tv-graphics/projects/bbc-weather-symbols.html" target="_blank">the old BBC ones which I &#8216;refreshed&#8217; slightly as part of the 2005 BBC Weather relaunch</a>. Obviously those symbols are owned by the Beeb, but I&#8217;ve been directing people back to the Weather Centre anyway, in the sure knowledge that they won&#8217;t be allowed to use them for copyright reasons. One visitor also reported back that they were refused permission because it also might be perceived as a &#8216;degree of endorsement by the BBC&#8217;.</p>
<p>Which is entirely fair enough.</p>
<p>So I decided to design a <a title="weather symbols" href="http://www.mikeafford.com/buy/weather-symbols-tv.html" target="_blank">set of 40 new and unique weather symbols / icons</a> that have a kind of &#8216;homage to old school TV graphics&#8217; quality to them, but which have been designed entirely from scratch and obviously haven&#8217;t taken a single point, line or vector from the originals.</p>
<p><span id="more-238"></span></p>
<p>To start with I built the basic cloud shape from 3 circles, giving it a slightly more &#8216;graphic&#8217; quality and a neat symmetry. This new set has a different sunshine element too, with pointed &#8216;rays&#8217; &#8211; I&#8217;d never been entirely happy with the placement of the rectangular rays on the Beeb ones &#8211; it might have been OK for TV forecasts back in the day, but I figured I could use something slightly less blocky for my own set.</p>
<div id="attachment_239" class="wp-caption alignleft" style="width: 225px"><a href="http://www.mikeafford.com/buy/weather-symbols-tv.html"><img class="size-full wp-image-239" title="cloud-symbol-construction" src="http://www.mikeafford.com/blog/wp-content/uploads/2009/04/cloud-symbol-construction.jpg" alt="Cloud Symbol construction" width="215" height="100" /></a><p class="wp-caption-text">Cloud Symbol construction</p></div>
<p>I&#8217;d also wanted to see how different background colours might help to give some added sense of the weather conditions, so the symbol sits on a blue background for sunshine or showers, and a grey background for overcast conditions. Also, as the cloud shape is not broken by a rain/snow/hail symbol I could make the cloud opaque, and have used two shades of grey for precipitation &#8211; so the darker grey is used for heavy rain/snow etc.</p>
<p>Strangely, the Beeb set had a number of shared weather symbols for day and night (even when the night conditions were showery) so I&#8217;ve added a complete set of new night-time weather symbols that sit on a dark blue colour for showers, and a dark grey colour for the rest.</p>
<p>I suppose there&#8217;s always the chance that rain is &#8217;showery&#8217; even under total cloud cover (is that right?), but I guess if the sun peeping out is good enough for daytime, then the moon should make sense for night. Obviously the downside of this is the appearance of a crescent moon symbol &#8211; which says &#8216;night-time&#8217; for sure &#8211; but may upset purists who would prefer to see the correct moon phase. If there&#8217;s enough interest I may add alternate moon-phase versions to the package.</p>
<p>It may be that the darker grey (night) versions could actually be used as part of the day-time set anyway &#8211; perhaps the darker grey could be used for 10 oktas only &#8211; or when very heavy precipitation is expected. I&#8217;ll wait and see whether the symbols are used like this (if they end up being used at all).</p>
<p>So, hopefully now if anyone arrives at this site looking to &#8216;borrow&#8217; some weather symbols they might instead decide to buy this new set and avoid any risk of copyright infringement. It&#8217;s probably worth pointing out that these symbols come as a set of 40 PNG images at four different sizes, but they do <strong>not</strong> include transparency (they all sit on a coloured square). They&#8217;re designed for use in weather tables or charts &#8211; they&#8217;re not so ideal for placing over a map. I may produce some more weather symbol sets with transparency for use on weather maps if there turns out to be enough interest in this set.</p>
<p>Let&#8217;s see.</p>
<p><strong>Buy : <a href="http://www.mikeafford.com/buy/weather-symbols-tv.html">Weather Symbols</a></strong></p>
<p>Comments welcome (we operate a &#8216;follow free&#8217; policy for useful comments!)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/04/weather-symbols/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Web Video for textatrack.co.uk</title>
		<link>http://www.mikeafford.com/blog/2009/02/video-marketing-web-commercials/</link>
		<comments>http://www.mikeafford.com/blog/2009/02/video-marketing-web-commercials/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 16:16:41 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[web video]]></category>
		<category><![CDATA[online marketing]]></category>
		<category><![CDATA[video marketing]]></category>
		<category><![CDATA[web commercials]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=155</guid>
		<description><![CDATA[I&#8217;ve just completed a little 50 second web commercial for textatrack.co.uk &#8211; it&#8217;s been put together entirely from scratch with After Effects, using 3D animations and Photoshop layers. The 3D phone and laptop models were bought in separately and modified by me using Cinema 4D.The background music is one of my own tracks &#8211; I [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just completed a little 50 second <strong>web commercial</strong> for <a href="http://www.textatrack.co.uk" target="_blank">textatrack.co.uk</a> &#8211; it&#8217;s been put together entirely from scratch with After Effects, using 3D animations and Photoshop layers. The 3D phone and laptop models were bought in separately and modified by me using Cinema 4D.<span id="more-155"></span>The background music is one of my own tracks &#8211; I chose it from my own back catalogue because it ended with a nice little &#8217;sting&#8217; which matched what I was planning for the logo resolve at the end.</p>
<p>I also rendered out a 1024&#215;576 version too which I&#8217;ve tried out on YouTube. The size seems just about right for YouTube to process a single acceptable quality version (rather than having a separate &#8216;high quality&#8217; link and showing a low res version by default). It may have more to do with frame rate though &#8211; some of my other videos were uploaded at the same size, but at 25fps and I&#8217;m thinking this might trigger the low-resolution default and &#8216;watch in high quality&#8217; link option. The YouTube version of the <strong>textatrack</strong> web movie was output from After Effects at 20fps and then converted separately to MP4 using MPEG Streamclip.</p>
<p>Here&#8217;s the YouTube version running at 560 pixel width.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="560" height="345" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/Zp1gJMn_1Eo&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" /><embed type="application/x-shockwave-flash" width="560" height="345" src="http://www.youtube.com/v/Zp1gJMn_1Eo&amp;hl=en&amp;fs=1&amp;rel=0&amp;color1=0x3a3a3a&amp;color2=0x999999" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h3>About TEXTATRACK.CO.UK</h3>
<p>It really is a neat idea &#8211; a way of paying for <a href="http://www.textatrack.co.uk" target="_blank">legal music downloads</a> without needing a credit card. Every song on the site has a unique number associated with it. You just text &#8216;track&#8217; and the number to 83262 (UK) &#8211; you get a text back with a PIN that you enter to download that track from the site. The mobile phone is charged so there&#8217;s no mucking about with credit cards. A US version of the site <strong>textatrack.com</strong> is launching soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/02/video-marketing-web-commercials/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Website Design : Blackheath Village site</title>
		<link>http://www.mikeafford.com/blog/2009/02/website-design-blackheath-village-site/</link>
		<comments>http://www.mikeafford.com/blog/2009/02/website-design-blackheath-village-site/#comments</comments>
		<pubDate>Mon, 09 Feb 2009 17:51:57 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[websites]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=138</guid>
		<description><![CDATA[A quick redesign for the local website for Blackheath &#8211; a lovely little village in Surrey.
Visit the site at www.blackheathsurrey.co.uk
If you have a website of your own &#8211; maybe one that was built years ago and in need of a quick &#8216;refresh&#8217; &#8211; please do get in touch. We can copy your existing content over [...]]]></description>
			<content:encoded><![CDATA[<div id="attachment_139" class="wp-caption alignleft" style="width: 225px"><img class="size-full wp-image-139" title="blackheathsurrey" src="http://www.mikeafford.com/blog/wp-content/uploads/2009/02/blackheathsurrey.png" alt="Blackheath Village website" width="215" height="175" /><p class="wp-caption-text">Blackheath Village website</p></div>
<p>A quick redesign for the local website for Blackheath &#8211; a lovely little village in Surrey.</p>
<p>Visit the site at <a href="http://www.blackheathsurrey.co.uk/" target="_blank">www.blackheathsurrey.co.uk</a></p>
<p>If you have a website of your own &#8211; maybe one that was built years ago and in need of a quick &#8216;refresh&#8217; &#8211; please do get in touch. We can copy your existing content over to a fresh new design in no time at all.</p>
<p>As well as a cleaner look, your new site will be optimised for faster loading and better search engine placement. So if your site is looking a bit tired and worn out, <a href="http://www.mikeafford.com/contact/index.html" target="_blank">contact us for a bit of &#8216;website spring cleaning&#8217;</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/02/website-design-blackheath-village-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The &#8216;Loading&#8217; animated GIF image</title>
		<link>http://www.mikeafford.com/blog/2009/01/the-loading-animated-gif-image/</link>
		<comments>http://www.mikeafford.com/blog/2009/01/the-loading-animated-gif-image/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 14:14:31 +0000</pubDate>
		<dc:creator>Mike</dc:creator>
				<category><![CDATA[websites]]></category>
		<category><![CDATA[animated GIF]]></category>

		<guid isPermaLink="false">http://www.mikeafford.com/blog/?p=192</guid>
		<description><![CDATA[Has anyone else spent ages staring at a spinning &#8216;LOADING&#8217; image? Watching the little guy spining away &#8211; then realising the connection has hung and the upload (or download) stopped hours ago. It&#8217;s amazing how a little bit of movement can imply all sorts of activity, which may (or may not) actually be happening.
]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mikeafford.com/blog/wp-content/uploads/2009/03/spinning-loader.gif"><img class="size-medium wp-image-193" style="float:left;margin-right:20px;border:1px solid #383838;" title="Loading - or maybe not" src="http://www.mikeafford.com/blog/wp-content/uploads/2009/03/spinning-loader.gif" alt="Spinning loader animated GIF image" width="64" height="64" /></a>Has anyone else spent <strong>ages</strong> staring at a spinning &#8216;LOADING&#8217; image? Watching the little guy spining away &#8211; then realising the connection has hung and the upload (or download) stopped hours ago. It&#8217;s amazing how a little bit of movement can imply all sorts of activity, which may (or may not) actually be happening.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikeafford.com/blog/2009/01/the-loading-animated-gif-image/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

