suda.co.uk

www2006

Microformats, converting XHTML to vCards and iCalendars

www2006 programme
May 24th, 14:00 - 15:30
Edinburgh International Conference Centre
The Exchange
Edinburgh
EH3 8EE
Scotland

Abstract

X2V is a simple set of XSLT files that extensively use XPATH to extract data from an XHTML document and convert them into corresponding vCards and iCalendars. X2V has also jump started much of the interest around Microformats. Microformats describe ways to embed data into your XHTML files through the use of classes. X2V is the main tool to extract this data. Technorati.com uses X2V in their feeds services to extract microformats from blogs for syndication. These XPATH expressions used to extract data can be used in many different applications including GRDDL to convert XHTML to RDF helping to generate more data for the semantic web.

This demo consists of simply showing an XHTML file with some structured data, running it through the XSLT file and converting it to its corresponding output. Time permitting, the demo will make changes to the input file demonstrating the changes in the output, a brief walk through of XSLT and XPATH code showing how to recursively clean strings, call-back to other parts of the XHTML file, and look up the DOM Tree to find any language encoding.

Downloads

The presentation the slides are available, most of the 15 minute demonstration was running through some examples and marking-up the speakers page with an hCard and an hCalendar.

Recommended Reading

Meta

Places to find more information about www2006 and Microformats

Tags

Last modified: October 11, 2009 15:58:15 UTC

Copyright 2002-©-2014 Brian Suda
http://suda.co.uk/publications/www2006/
Creating symbol fonts Follow Me on Twitter Sign-up for the mailing list Long Form Writing
Designing With Data By Brian Suda