Re: [uf-discuss] Optimus — microformats parser
Jim Wilson
wilson.jim.r at gmail.com
Tue Sep 18 22:30:17 PDT 2007
Hi Dmitry,
That looks like a very useful and powerful tool. Thanks!
In testing JSON-P output, I'm getting the error "d.getTimeZoneOffset
is not a function". Here is the fragment of JSON which is causing
the issue:
"published": (function(){var d = new Date(2007, 8, 18, 1, 11, 28,
0);d.setMinutes(d.getMinutes() + (d.getTimeZoneOffset() - (-0)));
return d;})()
I'm using Firefox 2.0.0.6.
Besides that, this thing is great! Thanks again,
-- Jim R. Wilson (jimbojw)
On 9/18/07, Dmitry Baranovskiy <dmitry.baranovskiy at gmail.com> 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
>
> --
> Best regards,
> Dmitry Baranovskiy
> http://dmitry.baranovskiy.com
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>
More information about the microformats-discuss
mailing list