parsers

From Microformats

Microformats Parsers

Table of contents

This page lists libraries that consume, transform or convert microformats. This is only a partial list. If you know of other such tools for microformats, please add them and list what specific microformats they support.

For now, this page copies (rather than moves) information from the existing Implementations page.

Javascript

Sumo

Perl

Data::Microformat

  • Data::Microformat (http://search.cpan.org/~ussjoin/Data-Microformat-0.01/lib/Data/Microformat/hCard.pm) is a CPAN module to parse and create hCard, adr, and geo.
    • By Brendan O'Connor / Six Apart

Cognition

  • Cognition (http://buzzword.org.uk/cognition/) is a parser for both “upper case Semantic Web” (RDF, RDFa) and “lower case semantic web” (microformats) technologies. It includes modules for exporting parsed data in a variety of formats, including RDF, vCard, iCalendar, Atom and KML.
    • By Toby Inkster

Text::Microformat

Google Code (http://code.google.com/p/ufperl/)

PHP

hKit Microformats Toolkit for PHP5

hKit Microformats Toolkit for PHP5 (http://allinthehead.com/hkit) as announced by Drew McLellan (http://allinthehead.com/retro/291/hkit-microformats-toolkit-for-php). See also hKit on this wiki.

PHP Microformats parser

Microformats parser (http://www.phpclasses.org/browse/package/3597.html) is a PHP package for extracting the microformats data embedded into HTML. The gathered data is stored as an xArray of objects - one for each microformat type container found. Announcement (http://malatestapunk-stuff.blogspot.com/2007/01/php-microformats-parser.html). The parser supports most of the hCard (missing SOUND), hCalendar, hReview (missing item info; spec really needs some clarification) and rel elements, according to their respective specification on microformats Wiki.

Transformr

A Simple set of XSLT and PHP tools for Transforming Microformats available from Google code (http://code.google.com/p/transformr/) and as a web service (http://transformr.co.uk/).

hCard Validator

Source code (http://code.google.com/p/hcardvalidator/) of the hCard Validator (http://hcard.geekhood.net/) contains XSLT and PHP code for hCard and include microformats.

Python

AUMP

  • AUMP (http://aump.googlecode.com) is a parser written by David Janes. It supports hCard, hCalendar, hAtom, hReview and hListing.

Ruby

mofo ruby microformats parser

Microformat Parser for Ruby

XSLT

X2V

see also

Personal tools