suda.co.uk

X2C

Introduction

This is a BETA implementation of an XSLT file to transform a citation microformat encoded XHTML file into the corresponding citation file. The DRAFT specification for citation encodings can be found at the microformats.org wiki.

As the specification become less of a moving target the XSLT file will solidify.

Extract Citation from URL

Future Supported Formats

Tools

These are a few tools for anyone who wants to decode microformat Citation data.

BibTeX

If you want to create buttons or links to signal that a page is hCite encoded, you can link to the X2C transformation by using either of the following:

  • http://suda.co.uk/projects/microformats/X2C/get-citation.php?uri=<COMPLETE-URL-TO-YOUR-SITE>

Drag this bookmarklet to the bookmarks bar so you can grab BibTeX data from any participating URL.
Extract BibTeX data (Drag link to the Bookmarks Bar)

The XSLT file used to transform the data is available at:

The XSLT files have been licensed and are available for download under the W3C Open Source License.

Last modified: October 05, 2006 21:10:56 UTC

Copyright 2002-©-2009 Brian Suda
http://suda.co.uk/projects/microformats/X2C/
I have been writing in short-form on Twitter since November 22nd, 02006. You can follow @briansuda and see what all the fuss is about.
I have been experimenting in the audio-form on with a Podcast. You can subscribe in iTunes to North Atlantic Radio and listen to a short bit of tech chat plus idle banter.