<?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>Ben Cardy</title>
	<atom:link href="http://www.bencardy.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bencardy.co.uk</link>
	<description></description>
	<lastBuildDate>Tue, 02 Feb 2010 14:00:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ennoverse Web Hosting</title>
		<link>http://www.bencardy.co.uk/portfolio/ennoverse-web-hosting/</link>
		<comments>http://www.bencardy.co.uk/portfolio/ennoverse-web-hosting/#comments</comments>
		<pubDate>Sat, 30 Jan 2010 15:53:16 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://www.bencardy.co.uk/?p=263</guid>
		<description><![CDATA[Ennoverse provide quality web hosting and domain services, and required a new identity and web site to accompany the launch of new hosting packages.]]></description>
			<content:encoded><![CDATA[<p>The work done for Ennoverse involved various aspects. The initial stage consisted of identity branding, where various ideas were presented before the final brand (seen to the right) was chosen. Work could then begin on the website design, with the website being built entirely in the browser, with photoshop used only to provide enhancements.</p>
<p>This project was an interesting one for a number of reasons. For a start, it was the first site that we&#8217;ve built where Photoshop was not the first application to be opened. The design also makes use of a rigid grid, although elements may break out of it occasionally to stand out. Each element was built to be modular, so that future enhancements to the design, or additional package designs do not break the layout.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/portfolio/ennoverse-web-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Suzie Cardy</title>
		<link>http://www.bencardy.co.uk/portfolio/suzie-cardy/</link>
		<comments>http://www.bencardy.co.uk/portfolio/suzie-cardy/#comments</comments>
		<pubDate>Fri, 01 Jan 2010 17:14:20 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Projects]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=56</guid>
		<description><![CDATA[Suzie Cardy is a talented costumier and tailor who required a website that could showcase her incredible skills and provide important contact information.]]></description>
			<content:encoded><![CDATA[<p>The work done for Suzie involved various aspects. The initial stage consisted of identity branding, where various ideas were presented before the final brand (above) was chosen. Work could then begin on the website design, which had to showcase her work in a simple and intuitive form, focusing on the high quality photos of her craftmanship.</p>
<p>A complex administration section to the site was coded from scratch, to provide a bespoke solution for managing projects and uploading Suzie&#8217;s showcase images. The system was written using PHP and MySQL, and makes use of the popular Javascript library JQuery for AJAX interactions and visual effects.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/portfolio/suzie-cardy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox Applescript</title>
		<link>http://www.bencardy.co.uk/blog/dropbox-applescript/</link>
		<comments>http://www.bencardy.co.uk/blog/dropbox-applescript/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 15:08:30 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://www.bencardy.co.uk/?p=254</guid>
		<description><![CDATA[A couple of people asked me for an AppleScript that would copy a given file to their Public <a href='http://www.getdropbox.com'>Dropbox</a> folder, and then copy the public URL to the clipboard. In this post I'll give you the script, talk you through it, and how to customise it to use it yourself.]]></description>
			<content:encoded><![CDATA[<p>A couple of people asked me for an AppleScript that would copy a given file to their Public <a href='http://www.getdropbox.com'>Dropbox</a> folder, and then copy the public URL to the clipboard. In this post I&#8217;ll give you the script, talk you through it, and how to customise it to use it yourself.</p>
<pre><code>on splitText(delimiter, someText)
	set prevTIDs to AppleScript's text item delimiters
	set AppleScript's text item delimiters to delimiter
	set output to text items of someText
	set AppleScript's text item delimiters to prevTIDs
	return output
end splitText

on open {dropped_item}
	set myPath to (path to home folder) as string
	set myPath to myPath &#038; "Dropbox:Public:"
	tell application "Finder" to duplicate (dropped_item) to folder (myPath as string)
	set fileName to item (count splitText(":", dropped_item as text)) of splitText(":", dropped_item as text)
	set filePath to "https://dl.getdropbox.com/u/1083712/" &#038; fileName
	tell application "Finder" to set the clipboard to filePath as text
end open</code></pre>
<p>The first chunk of code, starting with &#8220;on splitText&#8221; and ending with &#8220;end splitText&#8221; is just an function required to split a string apart at a given delimiter. This may already be built into AppleScript; if so, I couldn&#8217;t find it, so I&#8217;ve got a custom function to do it for me.</p>
<p>The next lines of the code say what to do when a file is dropped onto the Application. It gets your home directory, and appends &#8220;Dropbox:Public:&#8221; onto it &#8211; this assumes that your Dropbox is installed in the standard location. If not, you&#8217;ll have to set the variable &#8220;myPath&#8221; to wherever your Dropbox is actually located, using the syntax &#8220;Path:to:dropbox:folder:&#8221;.</p>
<p>Next, the AppleScript copies the file to that folder, and then uses the splitText function to get the individual file name. This is then added to the end of your public Dropbox URL (you will have to change this to your own URL &#8211; the current one is mine). The resulting URL is then inserted into the clipboard, ready for you to paste somewhere useful.</p>
<p>To use this script, alter the lines above that need changing, then use the File > Save As menu to save this as an Application. Now, whenever you drop a file onto it, it will get copied to your Dropbox Public folder, and the public URL copied into the clipboard.</p>
<p>You can download the Application (along with a custom icon) <a href='http://lab.bencardy.co.uk/SaveToDropbox.zip'>here</a>. Open this with Script Editor and edit as above.</p>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/blog/dropbox-applescript/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>CSS3 &#8211; what to do about the less compliant browsers</title>
		<link>http://www.bencardy.co.uk/blog/css3-what-to-do-about-the-less-compliant-browsers/</link>
		<comments>http://www.bencardy.co.uk/blog/css3-what-to-do-about-the-less-compliant-browsers/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:44:16 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Blog]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=226</guid>
		<description><![CDATA[CSS3 is hitting the internet by storm - many sites are popping up making heavy use of text-shadow and border-radius (and this site is by no means an exception). But we can't afford to forget those browsers that don't understand this new fangled-code - after all, there are still many users out there that haven't yet upgraded to Firefox 3.5, Safari 4 or Google Chrome.]]></description>
			<content:encoded><![CDATA[<p>CSS3 is hitting the internet by storm &#8211; many sites are popping up making heavy use of text-shadow and border-radius (and this site is by no means an exception). But we can&#8217;t afford to forget those browsers that don&#8217;t understand this new fangled-code &#8211; after all, there are still many users out there that haven&#8217;t yet upgraded to Firefox 3.5, Safari 4 or Google Chrome.</p>
<p>First of all, let&#8217;s have a look at a couple of CSS3 techniques that are in use on this site.</p>
<h3>Box Shadow</h3>
<p>The CSS3 <code>box-shadow</code> (or <code>-moz-box-shadow</code> for Mozilla-based browsers and <code>-webkit-box-shadow</code> for Webkit-based browsers) property produces, as the name would suggest, a hazy drop shadow around the element in question. The full syntax is as follows:</p>
<pre><code>box-shadow: 2px 2px 5px #c9c9c0</code></pre>
<p>The first attribute is the horizontal offset of the shadow, the second is the vertical offset of the shadow, the third is the softness (0 will cause a hard-edged shadow) of the shadow, and the final attribute is the colour of the shadow.</p>
<p>The code above is that used on this website, and you see the shadow it produces around the codebox above. But don&#8217;t forget, that when dealing with the current browser market, you will have to include the above rule three times &#8211; one valid CSS3, one for Mozilla and one for Webkit, like below:</p>
<pre><code>-moz-box-shadow: 2px 2px 5px #c9c9c0;
-webkit-box-shadow: 2px 2px 5px #c9c9c0;
box-shadow: 2px 2px 5px #c9c9c0;</code></pre>
<h3>Border Radius</h3>
<p>Another popular attribute that&#8217;s also used on this site is the <code>border-radius</code> property (or <code>-moz-border-radius</code> and <code>-webkit-border-radius</code>). This does exactly what it says on the tin &#8211; adds a rounded corners to an element. The following is the code used on this site.</p>
<pre><code>border-radius: 0.5em;
-moz-border-radius: 0.5em;
-webkit-border-radius: 0.5em;</code></pre>
<p>The one (and only) attribute for the property is the radius of the border &#8211; here, specified in ems so that it will increase if the text is increased. You can see the effect of the above code on the codebox above.</p>
<h3>RGBa</h3>
<p>This technique is not employed on this site, but I have used it on others. This is not a property by itself, but is instead used as the value of any other property that takes a colour attribute. It has the ability to give the element a colour, but also an opacity (&#8216;RGB&#8217; for the colour, &#8216;a&#8217; for alpha transparency). The syntax is as follows:</p>
<pre><code>color: rgba( 255, 255, 255, 0.5 )</code></pre>
<p>The first three properties in the rgba brackets are the Red, Green and Blue values of the colour, respectively, from 0 (for none of that colour) to 255 (for all of that colour). The final one represents the transparency &#8211; 0.5, for example, is 50% transparent.</p>
<h3>But the other browsers?</h3>
<p>Now these are all very well, but what about the other browsers? Well, first you must remember this: <strong>websites do not have to look the same in all browsers</strong>. Therefore, it&#8217;s acceptable to have some styles when the site is viewed in Safari 4 that simply do not show when the site is viewed in Internet Explorer &#8211; as long as the functionality is still there.</p>
<p>So what can you do? Just make sure that if you use these properties, your site does not rely heavily on them &#8211; if you use the <code>border-radius</code>, ensure that the site looks acceptable with square corners. If you use the <code>box-shadow</code>, make sure that if the shadow doesn&#8217;t show, everything still looks ok. It might not look <em>as good</em>, mind, but it must still look ok.</p>
<p>The RGBa is the only one listed here where a further property must be defined for other browsers &#8211; ensure that you define a standard colour (in hex code, for example) on a line before the line that defines the RGa colour. The less compliant browsers will pick up on this and ignore the ones they don&#8217;t understand.</p>
<p>So don&#8217;t let the fact that CSS3 is not full supported wide-spread put you off from using it&#8217;s advanced features. Give them a go!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/blog/css3-what-to-do-about-the-less-compliant-browsers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tim Van Damme</title>
		<link>http://www.bencardy.co.uk/inspiration/tim-van-damme/</link>
		<comments>http://www.bencardy.co.uk/inspiration/tim-van-damme/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:39:08 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=224</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/inspiration/tim-van-damme/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Paul Boag</title>
		<link>http://www.bencardy.co.uk/inspiration/paul-boag/</link>
		<comments>http://www.bencardy.co.uk/inspiration/paul-boag/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:38:36 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=222</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/inspiration/paul-boag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>John Hicks</title>
		<link>http://www.bencardy.co.uk/inspiration/john-hicks/</link>
		<comments>http://www.bencardy.co.uk/inspiration/john-hicks/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:37:50 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=220</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/inspiration/john-hicks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Johno Boardley</title>
		<link>http://www.bencardy.co.uk/inspiration/johno-boardley/</link>
		<comments>http://www.bencardy.co.uk/inspiration/johno-boardley/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:36:12 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=218</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/inspiration/johno-boardley/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mike Matas</title>
		<link>http://www.bencardy.co.uk/inspiration/mike-matas/</link>
		<comments>http://www.bencardy.co.uk/inspiration/mike-matas/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:33:16 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=216</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/inspiration/mike-matas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Jonathan Snook</title>
		<link>http://www.bencardy.co.uk/inspiration/jonathan-snook/</link>
		<comments>http://www.bencardy.co.uk/inspiration/jonathan-snook/#comments</comments>
		<pubDate>Wed, 19 Aug 2009 16:30:47 +0000</pubDate>
		<dc:creator>Ben</dc:creator>
				<category><![CDATA[Inspiration]]></category>

		<guid isPermaLink="false">http://localhost/themedev/?p=211</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[]]></content:encoded>
			<wfw:commentRss>http://www.bencardy.co.uk/inspiration/jonathan-snook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
