Microformat Shiv

A light weight cross browser JavaScript Microformats parser

hCalendar Example

Below is an example of the Microformat Shiv parsing a hCalendar. This microformat is used to describe events and is based on iCalendar vevent standard used in most desktop calendar software. You can check the compliance of the Microformat Shiv to the hCalendar standard on the microformats test suite.

Async - Show n Tell 3

Async has hosted JavaScript Show n’ Tells before (one here and one there), but this one’s a little special, because this time there’ll be a boatload of international visitors in Brighton for the legendary Full Frontal conference.

Skiff, 6 Gloucester Street, BN1 4AB, Brighton

19:30 - 22:00 3 October 2010
Posted: 9 Nov 2010

Code to parse the hCalendar

var domNode = document.getElementById('hcalendar-example');
var jsonObject = navigator.microformats.get('hCalendar', domNode);
   
alert(JSON.stringify(jsonObject));