W3C home > Mailing lists > Public > public-rdf-in-xhtml-tf@w3.org > December 2007

first pass implementation of Mark's chaining rules

From: Ben Adida <ben@adida.net>
Date: Wed, 05 Dec 2007 00:13:10 -0800
Message-ID: <47565D96.9080807@adida.net>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

Hi all,

I did a first pass implementation of Mark's chaining rules in my
JavaScript library. It was easier than I thought, though the code is
still a bit ugly and needs a cleanup.

Note that I also checked in a patch by Jeni Tennison that re-enabled a
number of edge cases that my last rewrite had missed. Thanks Jeni.

The result is surprisingly pleasant. Mark, I have to hand it to you,
this feels right.

Here's the GetN3 bookmarklet (works in FF2 and Safari3 for sure, not
sure about IE yet):


Here's a test page that has the kind of deep nested statements I've been
aching to write:


Try out the GetN3 bookmarklet, see if you're as pleasantly surprised as
I was.

Received on Wednesday, 5 December 2007 08:13:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:50:25 UTC