<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:gml="http://www.opengis.net/gml"
>

<channel>
	<title>Shaun McDonald&#039;s Blog &#187; Code</title>
	<atom:link href="http://blog.shaunmcdonald.me.uk/category/code/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.shaunmcdonald.me.uk</link>
	<description>My Random Ramblings</description>
	<lastBuildDate>Mon, 02 Jan 2012 01:32:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>WordPress London Meetup – 17 November 2011</title>
		<link>http://blog.shaunmcdonald.me.uk/2011/11/wordpress-london-meetup-%e2%80%93-17-november-2011/</link>
		<comments>http://blog.shaunmcdonald.me.uk/2011/11/wordpress-london-meetup-%e2%80%93-17-november-2011/#comments</comments>
		<pubDate>Sun, 20 Nov 2011 12:21:02 +0000</pubDate>
		<dc:creator>smsm1986</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.shaunmcdonald.me.uk/?p=509</guid>
		<description><![CDATA[On Thursday 17th there was the November WordPress London meetup in the Headshift &#124; Dachis Group offices. I recorded the 3 presentations and have uploaded them to YouTube: WordPress News by Chris Adams Chris gave a roundup of the latest changes and releases in the WordPress community. [Updated video with typo in title fixed.] &#160; WordPress Site Structure for [...]]]></description>
			<content:encoded><![CDATA[<p>On Thursday 17th there was the <a href="http://www.meetup.com/London-WordPress/events/39490242/">November WordPress London meetup</a> in the <a href="http://www.headshift.com/">Headshift | Dachis Group</a> offices. I recorded the 3 presentations and have uploaded them to YouTube:</p>
<p><a href="http://www.youtube.com/watch?v=ZiObZE-VpEc">WordPress News</a> by <a href="http://www.youtube.com/watch?v=gdGOvoDmRSc">Chris Adams</a></p>
<p>Chris gave a roundup of the latest changes and releases in the WordPress community. [Updated video with typo in title fixed.]</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/ZiObZE-VpEc?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p><a href="http://www.youtube.com/watch?v=rAeqcP0CHLk">WordPress Site Structure for SEO</a> by David Bain</p>
<p>David gave an introduction to setting up WordPress for good SEO practice.</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/rAeqcP0CHLk?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>&nbsp;</p>
<p><a href="http://www.youtube.com/watch?v=zQiYLDF9w-g">Using Custom Post Types</a> by <a href="http://www.keithdevon.com/">Keith Devon</a></p>
<p>A technical talk by Keith on how to create a new custom post types.</p>
<p><iframe width="500" height="281" src="http://www.youtube.com/embed/zQiYLDF9w-g?fs=1&#038;feature=oembed" frameborder="0" allowfullscreen></iframe></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shaunmcdonald.me.uk/2011/11/wordpress-london-meetup-%e2%80%93-17-november-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>London WordPress Meetup &#8211; 28th July 2011</title>
		<link>http://blog.shaunmcdonald.me.uk/2011/07/london-wordpress-meetup-28th-july-2011/</link>
		<comments>http://blog.shaunmcdonald.me.uk/2011/07/london-wordpress-meetup-28th-july-2011/#comments</comments>
		<pubDate>Sat, 30 Jul 2011 11:18:56 +0000</pubDate>
		<dc:creator>smsm1986</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://blog.shaunmcdonald.me.uk/?p=454</guid>
		<description><![CDATA[On Thursday there was the July 2011 London WordPress meetup in the Headshift &#124; Dachis Group offices. I recorded the presentations and have uploaded them to YouTube: Ice-breakers &#38; Introductions Introduction to WordPress by Emily Webber Beginner Theme Development by Keith Devon Looking Under the Hood of WordPress by Chris Adams If you&#8217;d like to come [...]]]></description>
			<content:encoded><![CDATA[<p>On Thursday there was the July 2011 <a href="http://www.meetup.com/London-WordPress/events/24120371/">London WordPress meetup</a> in the <a href="http://www.headshift.com/">Headshift | Dachis Group</a> offices. I recorded the presentations and have uploaded them to YouTube:</p>
<p><a href="http://www.youtube.com/watch?v=rrXqLDrC7_w">Ice-breakers &amp; Introductions</a></p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/rrXqLDrC7_w?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/rrXqLDrC7_w?version=3" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.youtube.com/watch?v=iO_jnbsS8Yk">Introduction to WordPress</a> by <a href="http://www.headshift.com/our-blog/author/emily-webber/">Emily Webber</a></p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/iO_jnbsS8Yk?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/iO_jnbsS8Yk?version=3" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.youtube.com/watch?v=XZNp-NiXf_E">Beginner Theme Development</a> by <a href="http://www.keithdevon.com">Keith Devon</a></p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/XZNp-NiXf_E?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/XZNp-NiXf_E?version=3" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p><a href="http://www.youtube.com/watch?v=WvJQM0k5snQ">Looking Under the Hood of WordPress</a> by <a href="http://www.headshift.com/our-blog/author/chris-adams/">Chris Adams</a></p>
<p><object width="500" height="306"><param name="movie" value="http://www.youtube.com/v/WvJQM0k5snQ?version=3"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/WvJQM0k5snQ?version=3" type="application/x-shockwave-flash" width="500" height="306" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<p>If you&#8217;d like to come along to future meetups, please join the <a href="http://www.meetup.com/London-WordPress/">London WordPress Meetup group</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.shaunmcdonald.me.uk/2011/07/london-wordpress-meetup-28th-july-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenStreetMap Shortlinks</title>
		<link>http://blog.shaunmcdonald.me.uk/2010/01/openstreetmap-shortlinks/</link>
		<comments>http://blog.shaunmcdonald.me.uk/2010/01/openstreetmap-shortlinks/#comments</comments>
		<pubDate>Sun, 10 Jan 2010 23:39:47 +0000</pubDate>
		<dc:creator>smsm1986</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[OpenStreetMap]]></category>

		<guid isPermaLink="false">http://blog.shaunmcdonald.me.uk/?p=374</guid>
		<description><![CDATA[Shortlinks were introduced to OpenStreetMap at the end of June 2009, by Matt Amos, as a way to have a short url to get to a specific point on the map. It is a method to go from the code to a latitude, longitude and zoom. It also works in the reverse direction too. You [...]]]></description>
			<content:encoded><![CDATA[<p>Shortlinks were introduced to OpenStreetMap at the end of June 2009, by Matt Amos, as a way to have a short url to get to a specific point on the map. It is a method to go from the code to a latitude, longitude and zoom. It also works in the reverse direction too. You will see the shortlink in the bottom right hand corner of the map on <a href="http://osm.org/">osm.org</a>. If you have a location that you want to show to people, say on twitter, then the shortlink may be a nicer method than using the standard tinyurl services.</p>
<p>Here is an example of the difference:</p>
<p>http://www.openstreetmap.org/?lat=51.5046&#038;lon=-0.0774&#038;zoom=13&#038;layers=B000FTF</p>
<p>http://osm.org/go/euu6Ari</p>
<p>You can even add markers by appending <code>?m</code> to the end of the short link and the marker will appear in the centre.</p>
<p>If you are a developer you may want to include support for the shortlink, in addition to or instead of the standard permalink. A good example is if your app sends twitter messages with your current location, where there is a limited number of characters that can be used, thus a shorter url is needed.</p>
<p>For some code take a look at the bottom of the <a href="http://trac.openstreetmap.org/browser/sites/rails_port/public/javascripts/site.js">site.js file</a>, <a href="http://trac.openstreetmap.org/browser/sites/rails_port/app/controllers/site_controller.rb">site_controller</a> and the <a href="http://trac.openstreetmap.org/browser/sites/rails_port/lib/short_link.rb">shortlink library</a>.</p>
<p><strong>Update</strong>: With the move of the OpenStreetMap codebase having moved from svn to git the new file locations are: <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/public/javascripts/site.js">sites.js</a>, <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/app/controllers/site_controller.rb">site_controller.rb</a>, and the <a href="https://github.com/openstreetmap/openstreetmap-website/blob/master/lib/short_link.rb">ruby shortlink library</a>.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><a href="http://www.openstreetmap.org/?lat=51.5046&amp;lon=-0.0774&amp;zoom=13&amp;layers=B000FTF">Permalinkhttp://www.openstreetmap.org/?lat=51.5046&amp;lon=-0.0774&amp;zoom=13&amp;layers=B000FTF</a></div>
]]></content:encoded>
			<wfw:commentRss>http://blog.shaunmcdonald.me.uk/2010/01/openstreetmap-shortlinks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing ImageMagick on Snow Leopard (64-bit)</title>
		<link>http://blog.shaunmcdonald.me.uk/2009/12/installing-imagemagick-on-snow-leopard-64-bit/</link>
		<comments>http://blog.shaunmcdonald.me.uk/2009/12/installing-imagemagick-on-snow-leopard-64-bit/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 00:36:48 +0000</pubDate>
		<dc:creator>smsm1986</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://blog.shaunmcdonald.me.uk/?p=385</guid>
		<description><![CDATA[This blog post is only relevant if you are on Snow Leopard, have a 64-bit Intel Mac, and need to install ImageMagick. There are many Ruby on Rails projects out there that have some form image manipulation, thus use ImageMagick for that. Up until recently it was a real pain to install, with some huge [...]]]></description>
			<content:encoded><![CDATA[<p>This blog post is only relevant if you are on Snow Leopard, have a 64-bit Intel Mac, and need to install ImageMagick.</p>
<p>There are many Ruby on Rails projects out there that have some form image manipulation, thus use ImageMagick for that. Up until recently it was a real pain to install, with some huge list of library dependancies that need to be downloaded, compiled and installed. The <a href="http://www.imagemagick.org/script/binary-releases.php#macosx">ImageMagick project</a> is now supplying a Intel 64-bit binary, specifically for Snow Leopard user so that they don&#8217;t need to install from source.</p>
<p>Another nice little tips that I learned for installing gems that have native extentions, is that you can put the ARCHFLAGS environment variable into your ~/.profile so that you don&#8217;t have to manually set it (and then wonder why the gem doesn&#8217;t compile elsewhere). You need to add:</p>
<pre>export ARCHFLAGS="-arch x86_64"</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.shaunmcdonald.me.uk/2009/12/installing-imagemagick-on-snow-leopard-64-bit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mashed08</title>
		<link>http://blog.shaunmcdonald.me.uk/2008/06/mashed08/</link>
		<comments>http://blog.shaunmcdonald.me.uk/2008/06/mashed08/#comments</comments>
		<pubDate>Sun, 29 Jun 2008 21:41:00 +0000</pubDate>
		<dc:creator>smsm1986</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[London]]></category>
		<category><![CDATA[Mashed08]]></category>
		<category><![CDATA[OpenStreetMap]]></category>

		<guid isPermaLink="false">http://smsm1986.wordpress.com/2008/06/29/mashed08/</guid>
		<description><![CDATA[Last weekend I was at Mashed08. I stayed there overnight, so didn&#8217;t get much sleep. Didn&#8217;t do any mashing up, though I did finally start writing a bit of ruby code to take a file with a list of street names, and ask the OSMXAPI whether that street exists within a specified bounding box. It [...]]]></description>
			<content:encoded><![CDATA[<p>Last weekend I was at Mashed08. I stayed there overnight, so didn&#8217;t get much sleep.
<div></div>
<div>Didn&#8217;t do any mashing up, though I did finally start writing a bit of ruby code to take a file with a list of street names, and ask the <a href="http://wiki.openstreetmap.org/index.php/Osmxapi">OSMXAPI</a> whether that street exists within a specified bounding box.</div>
<div></div>
<div>It was interesting to see what people were doing. There was very few people doing anything with maps. There were a few groups who using high resolution satellite imagery rather than plain old maps. A lot of people were working on something that was tv or audio related, such as ripping the subtitles and translating them into another language in almost real time. Twitter seems to be rather popular.</div>
<div></div>
<div>The event was featured in this week&#8217;s <a href="http://www.bbc.co.uk/iplayerbeta/episode/b00cglqt">BBC News Click programme</a>. (BBC iPlayer only works in the UK and programmes are only available for one week.)</div>
<div></div>
<div>I&#8217;m uploading the better photos to <a href="http://www.flickr.com/photos/smsm1/tags/mashed08/">Flicker with the Mashed08 tag</a>.</div>
<div></div>
<div><a href="http://www.flickr.com/photos/smsm1/2622809294/" title="P1020874.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3057/2622809294_d8e9a60e7d_m.jpg" width="240" height="180" alt="P1020874.JPG" /></a> <a href="http://www.flickr.com/photos/smsm1/2622825204/" title="P1020881.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3010/2622825204_a124bed89f_m.jpg" width="240" height="180" alt="P1020881.JPG" /></a> <a href="http://www.flickr.com/photos/smsm1/2622799386/" title="P1020869.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3176/2622799386_2c8bcf494b_m.jpg" width="240" height="180" alt="P1020869.JPG" /></a> <a href="http://www.flickr.com/photos/smsm1/2622844136/" title="P1020892.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3237/2622844136_41c3798b34_m.jpg" width="240" height="180" alt="P1020892.JPG" /></a> <a href="http://www.flickr.com/photos/smsm1/2622028371/" title="P1020899.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3079/2622028371_e3351d3696_m.jpg" width="240" height="180" alt="P1020899.JPG" /></a> <a href="http://www.flickr.com/photos/smsm1/2622866292/" title="P1020919.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3204/2622866292_a2090ec726_m.jpg" width="240" height="180" alt="P1020919.JPG" /></a></div>
<div></div>
<div>When your at a station waiting on a delayed train, just get some bean bags out to sit on:</div>
<div><a href="http://www.flickr.com/photos/smsm1/2622241635/" title="P1030112.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3204/2622241635_b297908546_m.jpg" width="240" height="180" alt="P1030112.JPG" /></a> <a href="http://www.flickr.com/photos/smsm1/2622248535/" title="P1030115.JPG by smsm1, on Flickr"><img src="http://farm4.static.flickr.com/3257/2622248535_f9f0ff3db7_m.jpg" width="240" height="180" alt="P1030115.JPG" /></a></div>
<div>(Kinda ideal for getting passers by ask were the bean bag sale is).</div>
]]></content:encoded>
			<wfw:commentRss>http://blog.shaunmcdonald.me.uk/2008/06/mashed08/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

