<?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>DM</title>
	<atom:link href="http://danmatthew.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://danmatthew.co.uk</link>
	<description>Witterings and inanity.</description>
	<lastBuildDate>Thu, 10 May 2012 20:47:56 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Nothing good gets away</title>
		<link>http://danmatthew.co.uk/2012/05/nothing-good-gets-away/</link>
		<comments>http://danmatthew.co.uk/2012/05/nothing-good-gets-away/#comments</comments>
		<pubDate>Thu, 10 May 2012 20:40:07 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Interesting Links]]></category>
		<category><![CDATA[inspirational quote]]></category>
		<category><![CDATA[john steinbeck]]></category>
		<category><![CDATA[love]]></category>

		<guid isPermaLink="false">http://danmatthew.co.uk/?p=40</guid>
		<description><![CDATA[I am a huge fan of this letter from John Steinbeck to his son, who has recently fallen in love: First — if you are in love — that’s a good thing — that’s about the best thing that can happen to anyone. Don’t let anyone make it small or light to you. And don’t [...]]]></description>
			<content:encoded><![CDATA[<p>I am a huge fan of <a href="http://www.brainpickings.org/index.php/2012/01/12/john-steinbeck-on-love-1958/" target="_blank">this letter from John Steinbeck</a> to his son, who has recently fallen in love:</p>
<blockquote><p>First — if you are in love — that’s a good thing — that’s about the best thing that can happen to anyone. Don’t let anyone make it small or light to you.</p></blockquote>
<blockquote><p>And don’t worry about losing. If it is right, it happens — The main thing is not to hurry. <strong>Nothing good gets away.</strong></p></blockquote>
<p>I hope it&#8217;s true.</p>
]]></content:encoded>
			<wfw:commentRss>http://danmatthew.co.uk/2012/05/nothing-good-gets-away/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Phone 7 &#8211; Pixel Density</title>
		<link>http://danmatthew.co.uk/2012/02/windows-phone-7-pixel-density/</link>
		<comments>http://danmatthew.co.uk/2012/02/windows-phone-7-pixel-density/#comments</comments>
		<pubDate>Tue, 21 Feb 2012 11:10:00 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[mobile]]></category>
		<category><![CDATA[wp7]]></category>

		<guid isPermaLink="false">http://danmatthew.co.uk/?p=17</guid>
		<description><![CDATA[A frequent issue I encounter designing mobile experiences for iPhone, Android, and WP7 is that font sizes on the latter device appear considerably smaller &#8211; often to the detriment of the design as a whole. Where clients are concerned, it often just &#8220;doesn&#8217;t look right&#8221;. This is down to the fact that WP7 devices have [...]]]></description>
			<content:encoded><![CDATA[<p>A frequent issue I encounter designing mobile experiences for iPhone, Android, and WP7 is that font sizes on the latter device appear considerably smaller &#8211; often to the detriment of the design as a whole. Where clients are concerned, it often just &#8220;doesn&#8217;t look right&#8221;.</p>
<p>This is down to the fact that WP7 devices have a higher pixel density (PPI) than the iPhone and a good proportion of Android handsets. If font sizes are set in pixels*, they are going to be affected by this.</p>
<p>iPhone: 3.5&#8243;, 320 x 480 = 165 ppi<br />
HTC Trophy: 3.8&#8243;, 480 × 800 =  246 ppi</p>
<p>To fix &#8211; although a better word would be compensate &#8211; this, we can serve an extra stylesheet for WP7 which multiplies our base text sizes by 1.5. This would be a great time to use a conditional statement to supply IE with our new rules. We could also take advantage of the functionality provided by CSS preprocessors (<a href="http://lesscss.org/" title="LESS" target="_blank">LESS, for example</a>) to do the maths for us automatically. </p>
<p>* And the matter of which unit to set text in is a whole different argument altogether. This would be a good shout for setting text in ems and points, although I suspect that the using the former would see similar results.</p>
]]></content:encoded>
			<wfw:commentRss>http://danmatthew.co.uk/2012/02/windows-phone-7-pixel-density/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to configure a cron job on OSX</title>
		<link>http://danmatthew.co.uk/2012/01/configure-cron-job-on-os/</link>
		<comments>http://danmatthew.co.uk/2012/01/configure-cron-job-on-os/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 22:10:48 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[mamp]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://danmatthew.co.uk/?p=18</guid>
		<description><![CDATA[In the midst of trying to create a small Twitter-based website (stay tuned!), I realised it would be advantageous to have a cron job running on my local machine. This process would run every couple of minutes and pull my latest tweets into a database. To achieve this, open your Terminal, and type crontab -e. [...]]]></description>
			<content:encoded><![CDATA[<p>In the midst of trying to create a small Twitter-based website (stay tuned!), I realised it would be advantageous to have a cron job running on my local machine. This process would run every couple of minutes and pull my latest tweets into a database.<br />
To achieve this, open your Terminal, and type <code>crontab -e</code>. If you&#8217;ve previously added jobs to your cron file, you will see them listed, otherwise this file will be blank. Hit <code>i</code> to begin editing the file. For my requirements, I wanted to run my file every two minutes: <code>*/2 * * * * /usr/bin/curl --silent --compressed http://localhost:8888/get-my-tweets.php</code> Change that number to alter the interval at which the job is run, and feel free to ditch the very first asterisk if you&#8217;d prefer the job to run at x minutes past the hour, rather than every x minutes. To stop editing, save and exit the process, hit <code>Esc, ZZ</code>.</p>
]]></content:encoded>
			<wfw:commentRss>http://danmatthew.co.uk/2012/01/configure-cron-job-on-os/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How CSS Padding Affects Form Elements</title>
		<link>http://danmatthew.co.uk/2012/01/how-css-padding-affects-form-elements/</link>
		<comments>http://danmatthew.co.uk/2012/01/how-css-padding-affects-form-elements/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 16:09:30 +0000</pubDate>
		<dc:creator>Daniel</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web design development css tip]]></category>

		<guid isPermaLink="false">http://danmatthew.co.uk/?p=12</guid>
		<description><![CDATA[File this one under &#8220;Tips for a Rainy Day&#8221;. As I was styling a pretty simple contact form, I began to wonder why my submit button was significantly shorter than the text inputs above it. All were set to width: 350px, and all had 5px of padding applied. I had also ensured that all borders [...]]]></description>
			<content:encoded><![CDATA[<p>File this one under &#8220;Tips for a Rainy Day&#8221;.</p>
<p>As I was styling a pretty simple contact form, I began to wonder why my submit button was significantly shorter than the text inputs above it. All were set to width: 350px, and all had 5px of padding applied. I had also ensured that all borders and browser chrome had been wiped out. </p>
<p>A little peek at the &#8216;Metrics&#8217; panel within the Webkit Inspector revealed that as I added padding to my button, the width was actually decreasing: something that is not true for text inputs. </p>
<p>So there you have it: an extra 10px width ensured that all form elements were of the same appearance. It&#8217;s just a shame that silly behaviours such as these are still prevalent within the field of web design!</p>
]]></content:encoded>
			<wfw:commentRss>http://danmatthew.co.uk/2012/01/how-css-padding-affects-form-elements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

