[microformats-discuss] Pure JavaScript Greasemonkey hCard parser

Tantek Ç elik tantek at cs.stanford.edu
Thu Sep 15 15:36:09 PDT 2005


Hi Mark,

On 9/15/05 2:53 PM, "Mark Pilgrim" <pilgrim at gmail.com> wrote:

> http://diveintomark.org/projects/greasemonkey/hcard/hcard.user.js
> 
> This is a pure client-side user script; it does not call Brian's
> excellent X2V service.
> 
> The parser passes all of these tests:
> http://diveintomark.org/projects/greasemonkey/hcard/tests/

Super.  I presume these are all from hcard-examples[1]?


> The user script contains a simple XHTML-driven unit testing harness.
> Install the script and load this page:
> http://diveintomark.org/projects/greasemonkey/hcard/tests/0-start-unit-tests.x
> html
> 
> Tested with Greasemonkey 0.6.2 (unreleased) + Firefox 1.5 beta 1, and
> Greasemonkey 0.5.3 + Firefox 1.0.6.

Awesome.


> (coming soon: rel="test" microformat spec)

Heh.  Shhhh... don't tell the W3C "EARL" folks.  ;)


> The script doesn't actually do anything useful with the vCards (other
> than log them to the JavaScript Console window), but I have big plans
> for this little script.  Big. Plans.

Excellent.

Mark (and all other hCard developers), one quick question (maybe two), did
you have a chance to review the issues raised[2] in hcard-parsing[3][4] and
referenced in hcard-examples, and do you have any objections to the proposed
resolutions?

I was about to incorporate the proposed resolutions/changes into both the
hCard spec[5] and hcard-parsing when your email came in.

Thanks,

Tantek

[1] http://microformats.org/wiki/hcard-examples

[2]  
http://microformats.org/discuss/mail/microformats-discuss/2005-September/000
885.html

[3] http://microformats.org/wiki/hcard-parsing#ISSUE_1

[4] http://microformats.org/wiki/hcard-parsing#ISSUE_2

[5] http://microformats.org/wiki/hcard



More information about the microformats-discuss mailing list