Optimus: Microformats data transformer
Microformats is data format standards for embedding semantic information in XHTML documents. Dmitry Baranovskiy created a tranformer application that can output Microformatted semantic information into formats that are suitable for mashup (JSON and XML).
The application is open source, and is hosted on Google Code.
Here is the XML and JSON outputs of my Biosketch page.
The implementation is surprisingly simple but powerful. It relies on XSTL to transform Microformatted content from an XHTML file into JSON or XML. If you want use the application as a web service, follow the instructions here.




















There’s also:
XML_GRDDL (php)
Where you can simply switch the parser to expect to extract hcard, hcalendar, etc or any other stylesheets you have floating around.
The usage examples show you how to do that, and simply use a bit of xpath to extract out data from the RDF/XML - you don’t need to stick it into a triple store to get good value from it.
Comment by Daniel O'Connor — April 23, 2008 @ 12:43 am