Microformats

One of the buzzes in the web world at the moment is microformats (all part of this web 2.0 thingi). Basically microformats take the whole semantic web to the next level. Where valid markup uses correct tags to indicate headers, lists and tables, mircoformats use a combination of tags and class names to represent specific structured data.

The first 2 structures that this has been applied to are vcard & icalendar - the microformat equivalents are hcard and hcalendar. Formats also exist for reviews, resumes, relationships etc.

Microformats are a way of taking information that already exists and adding structure to allow the information to be parsed.

So whats the point? Imagine google indexing the site not just for plain text for for specific event information, being able to click on contact information or an event and adding it in your address book or calendar, clicking on an address and seeing it's location (and getting directions) from google maps?

The great thing is that it's not a lot of work to put things into this format. This is actually encapsulated in the official definition of microformats:

Designed for humans first and machines second, microformats are a set of simple, open data formats built upon existing and widely adopted standards.

I was able to convert the address in footer of the designIT site to a vcard with some simple re-formating.

<div class="vcard">
<span class="fn org">designIT</span>
<div class="adr">
<span class="type">work</span>
<span class="extended-address">10.01</span> <span class="street-address">365 Little Collins Street</span>
<span class="locality">Melbourne</span>, <span class="region">Victoria</span>
<span class="country-name">Australia</span> <span class="postal-code">3000</span>
</div>
P <span class="tel">
<span class="type">work</span>
<span class="value">+61 3 9913 0044</span>
</span>
<a class="email" href="mailto:info@designit.com.au">info@designit.com.au</a>
</div>

The eZ publish Training & Certification in Sydney, Australia 4 - 6 December 2006 post was formatted using the hcalendar format and utilises embedded hcard information for the location.

Here is some more reading:

Comments

Popular posts from this blog

It's been a while since my last post...

eZ Publish Admin redesign - Dashboard = OpenSocial?