Immediate uses for Microformats

Warning This article was written over six months ago, and may contain outdated information.

One of the hardest things about Microformats is explaining their benefits to people. You can say “It’s a standardised format of marking-up content, which is both human and machine readable!” until you’re blue in the face, but until you can show people a practical benefit they usually remain unmoved.

Luckily there are a few tools out there which will help you show off the benefits of using Microformats, and involve little work from you.

King amongst tools, of course, is Operator, an add-on for Firefox which finds data in pages and presents you with options to transform them using a series of web-based tools. If the person you’re trying to convince doesn’t use Firefox and/or have Operator installed, however, there are a few good tools available online to show their potential.

hAtom is a microformat used for marking up blog posts or other serialised content. Using the Optimus tool you can turn any page marked up with hAtom into an RSS feed, by adding a link on your page in the following format:

http://microformatique.com/optimus/
?uri=http://www.example.com/&format=RSS

Optimus will return correctly formatted XML for users to subscribe to. It’s also a decent validator for other Microformats (although actually seems to struggle a little with hAtom in that department).

hCard is the standard for marking up contact details, and there is a tool from Brian Suda which will convert them into vCards for you; Technorati also have a test implementation of this tool available, which I’ll link to as they no doubt have better servers Brian’s work is the foundation for H2VX, which I’ll be using in these examples. To extract vCards from a page which has hCard markup, simply create a link in this format:

http://h2vx.com/vcf/http://www.example.com/

You can then either save the generated vCard, or add it directly to your address book.

Also from Brian Suda / Technorati comes the hCalendar tool, which transforms your data into the iCalendar standard. Again, you just link to your marked-up page using a specially formatted URL, although this time you get two choices;

http://h2vx.com/ics/http://www.example.com/

… returns a single .ics file with each of your events to add to a calendar; while:

http://h2vx.com/ics/sub/http://www.example.com/

… produces a webcal feed which is updated regularly, allowing subscription to your events.

Implement these tools on your web pages and you’ll have a suite of neat features you can impress your visitors and peers with. It’s a real advantage of using Microformats.

5 comments on
“Immediate uses for Microformats”

  1. IE8 leverages hatom for its ‘web slices’ feature…

    Sylvain galineau [June 24th, 2008, 06:07]

  2. hCard Validator is another implementation hopefully making authoring of hcards easier.

  3. […] — bookmarked by 2 members originally found by SLIPSTR3AM on 2008-12-24 Immediate uses for Microformats http://www.broken-links.com/2008/06/19/immediate-uses-for-microformats/ — bookmarked by 6 members […]

  4. Update: the Technorati contacts and events feed services are now offline (2012), however you can use H2VX.com instead, e.g.:

    Instead of: feeds.technorati.com/contacts/
    use: h2vx.com/vcf/

    Instead of: feeds.technorati.com/events/
    use: h2vx.com/ics/

    Instead of: webcal://feeds.technorati.com/events/
    use: h2vx.com/ics/sub/

    Please feel free to update your article to change the Technorati feed links/examples to H2VX.

    Thanks!

    Tantek

  5. Thanks Tantek, I’ve updated all of the links.