[uf-discuss] Optimus — microformats parser

Dmitry Baranovskiy dmitry.baranovskiy at gmail.com
Tue Sep 18 21:52:00 PDT 2007


Hello everyone,
Inspired by Brian's X2V[1] and Drew's presentation "Can Your Website
be Your API?"[2] I wrote µf parser that transforms any microformatted
web page to XML or JSON. It could be used as an API to any web site
with microformats. I hope now we could see some µf based mashups.

Characteristics at glance:
Supported formats:	hCalendar, hCard, hAtom, hResume, hReview,
xFolkentry, adr, geo, xfn, votelinks, rel-nofollow, rel-tag,
rel-license
Output formats:		XML, JSON, JSON-P
URL:				http://microformatique.com/optimus/
Query parameters:	uri — URI of the resource
				format — output format ("xml" or "json", default is "xml") [optional]
				function — name of call back function for JSON [optional]
				filter — space separated names of microformats
						(default is "vevent vcard hfeed hresume hreview
						xfolkentry adr geo xfn votelinks rel-nofollow rel-tag
rel-license") [optional]
Examples:
http://microformatique.com/optimus/?uri=http://ma.gnolia.com/people/drewm/tags/microformats
http://microformatique.com/optimus/?uri=http://corkd.com/wine/view/1122&format=json
http://microformatique.com/optimus/?uri=http://johnfallsopp.com&format=json&function=Back


I happy to hear any feedback, good (on-list) or bad (off-list) :)

1. http://suda.co.uk/projects/X2V/
2. http://allinthehead.com/retro/301/can-your-website-be-your-api

-- 
Best regards,
Dmitry Baranovskiy
http://dmitry.baranovskiy.com



More information about the microformats-discuss mailing list