<?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>Think Drastic &#187; Microformats</title>
	<atom:link href="http://thinkdrastic.net/journal/subjects/microformats/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkdrastic.net</link>
	<description>The inane babblings of Olly Hodgson</description>
	<lastBuildDate>Thu, 07 May 2009 18:00:38 +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>Microformats</title>
		<link>http://thinkdrastic.net/journal/2006/09/27/microformats/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=microformats</link>
		<comments>http://thinkdrastic.net/journal/2006/09/27/microformats/#comments</comments>
		<pubDate>Wed, 27 Sep 2006 21:18:45 +0000</pubDate>
		<dc:creator>Olly</dc:creator>
				<category><![CDATA[dconstruct]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[Microformats]]></category>
		<category><![CDATA[Web Code]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://thinkdrastic.net/journal/2006/09/27/microformats/</guid>
		<description><![CDATA[Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards. I didn’t understand it at first. I just couldn’t see the point. I wasn’t thinking outside the box. It took a kick up the backside from Jeremy Keith and co to figure [...]]]></description>
			<content:encoded><![CDATA[<blockquote cite="http://microformats.org"><p>Designed for humans first and machines second, <a href="http://microformats.org/">microformats</a> are a set of simple, open data formats built upon existing and widely adopted standards.</p></blockquote>
<p><img id="image314" src="http://thinkdrastic.net/journal/wp-content/uploads/2006/09/mf-lg-ora.gif" alt="" class="metaB" /></p>
<p>I didn’t understand it at first. I just couldn’t see the point. I wasn’t thinking outside the box. It took <a href="http://upcoming.org/event/104699">a kick up the backside from Jeremy Keith and co</a> to figure it out.</p>
<p>You see, most web-sites contain some form of useful data: Contact information, reviews, events and so on. Sometimes, it’s not even obviously structured data. Take my “About the author” snippet for example:</p>
<blockquote><p class="vcard"><a href="http://thinkdrastic.net/about/" class="fn url">Olly Hodgson</a> is a <span class="title">Web Designer</span> dude from <span class="locality">Cheltenham</span>, <span class="country-name">England</span>.</p>
</blockquote>
<p>It tells you who I am, what I do, where I’m from and includes a link where you can find out more about me. There’s almost enough for a business card. </p>
<p>The thing is, no two coders will mark-up their contact information, reviews and events in quite the same way, so it’s not exactly simple to extract it and use it elsewhere. Microformats aim to change that.</p>
<h3>Here comes the science bit</h3>
<p>Let’s take a closer look at that snippet:</p>
<p><code>&lt;p <strong>class="vcard"</strong>&gt;<br />
&lt;a href="http://thinkdrastic.net/about/" <strong>class="fn url"</strong>&gt;Olly Hodgson&lt;/a&gt; is a &lt;span <strong>class="title"</strong>&gt;Web Designer&lt;/span&gt; dude from &lt;span <strong>class="adr"</strong>&gt;&lt;span <strong>class="locality"</strong>&gt;Cheltenham&lt;/span&gt;, &lt;span <strong>class="country-name"</strong>&gt;England&lt;/span&gt;&lt;/span&gt;.<br />
&lt;/p&gt;</code></p>
<p>You see those class-names wrapped around the important bits of data? That’s the <a href="http://microformats.org/wiki/hcard">hCard microformat</a> in action. Basically, it’s an HTML version of vCard, which is the industry-standard electronic business card format. In there we’ve got a name (class=“fn”), a web address (class=“url”), a job-title (class=“title”) and so on.</p>
<p>Run this page through <a href="http://technorati.com/contacts/">Technorati’s hCard to vCard converter</a> and hey presto! <a href="http://feeds.technorati.com/contacts/http://thinkdrastic.net/contact/">A vCard</a> you can open in your address book software.</p>
<p>The real beauty is that you don’t have to change the look-and-feel of your web-site in the slightest. Just add the magical class-names to your existing mark-up and you’re done.</p>
<h3>So what’s next?</h3>
<p>Microformats are obviously still in their infancy, but their potential is endless. Where <a href="http://microformats.org/wiki/hcard">hCard</a> opens up contact information, <a href="http://microformats.org/wiki/hcalendar">hCalendar</a> does the same for events. <a href="http://microformats.org/wiki/hreview">hReview</a> has the potential to completely shake up the way products are rated in the online shopping world. <a href="http://microformats.org/wiki/xoxo">XOXO</a> could enable a web-browser to offer an outline-view of your site similar to the one offered in Microsoft Word. The list goes on and on.</p>
<p>What’s more, while microformats offer a standardised way of extracting data from HTML, they don’t in any way lock you into writing it in a specific way. Your HTML code can look how you want it to really, as long as it includes those magical class attributes.</p>
<p>Go on, get out there and implement them. You know you want to.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkdrastic.net/journal/2006/09/27/microformats/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>

<!-- Served from: thinkdrastic.net @ 2012-05-21 14:43:19 by W3 Total Cache -->
