June at paulcarvill.com, the home of Paul Carvill on the web 2009 at paulcarvill.com, the home of Paul Carvill on the web

link: paulcarvill at flickr

paulcarvill.com

Hi, I'm Paul Carvill and I'm a web developer. I am Head of Interface Development at LBi, Europe's largest digital agency.

I also like walking, cooking, Bollywood and rock 'n' roll.

Archive for June, 2009

links for 2009-06-30

Tuesday, June 30th, 2009

links for 2009-06-28

Sunday, June 28th, 2009

links for 2009-06-27

Saturday, June 27th, 2009

links for 2009-06-24

Wednesday, June 24th, 2009

links for 2009-06-23

Tuesday, June 23rd, 2009

links for 2009-06-20

Saturday, June 20th, 2009

links for 2009-06-18

Thursday, June 18th, 2009

HTML5 HTML text semantics granularity

Thursday, June 18th, 2009

Wow, HTML5 HTML semantic text description options are so granular I had to spend several minutes pondering whether my previous code snippet about relaxing Apache permissions warranted <code>, <kbd>, or <samp> elements, or a combination of all three.

In the end I settled on a <kbd> element for the bit I want you to type in (opening a file in vi from the command line), as that’s the bit you’re going to type. For the contents of the file I chose a <samp> element, as the text shown in the file is a sample of the output of my file, rather than a chunk of code you need to enter.

The difference between <code> and <samp> is very small, but it’s great that we actually now have this level of specificity, which should help ensure that HTML5 HTML is robust enough to last well into the future.

Permission denied when accessing Sites directory on a Mac

Thursday, June 18th, 2009

Solution:

Open your Apache conf file:

sudo vi /private/etc/apache2/httpd.conf

…and relax the permissions somewhat by commenting out (with a #) or removing the ‘deny from all’ line:

<Directory />
        AllowOverride None
        Order Deny,Allow
#       Deny from all
</Directory>

With thanks to Damon Parker. See his site for an explanation of why you need to fix this in the first place.

links for 2009-06-17

Wednesday, June 17th, 2009