[uf-discuss] Optimus — microformats parser

Thom Shannon thom at ts0.com
Wed Sep 19 09:46:24 PDT 2007


just for the hell of it, here's a yahoo pipe that uses optimus to pull 
out hcards from a url
http://pipes.yahoo.com/pipes/pipe.info?_id=CgaSycxm3BGX8R0I6kjTQA

Dmitry Baranovskiy wrote:
> 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
>
>   


More information about the microformats-discuss mailing list