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

capturing reserved keywords in @rel

From: Ben Adida <ben@adida.net>
Date: Mon, 21 Jan 2008 12:29:23 -0800
Message-ID: <479500A3.9040904@adida.net>
To: RDFa <public-rdf-in-xhtml-tf@w3.org>

Hi all,

As promised (though a few days late), I've had time to bring the
"hgrddl" approach back into my parser, and it's all checked in.

We should *not* consider hGRDDL as an official piece of the RDFa spec.
I'm only trying to show how trivial it is to look for reserved keywords
and prefix them so they can be picked up by the main RDFa parser (which
otherwise ignores un-prefixed @rels). This approach is a pre-processing
step, which may be how we want to word it.

Take a look at the fairly short code at:

You really only need to look at lines 38-62.

The GetN3 bookmarklet now includes this functionality:

So you can run it on, say, the Creative Commons homepage:

and it will pick up the rel="license" markup.


PS: I need to add support for @rev and maybe for <meta name="">?
Received on Monday, 21 January 2008 20:29:34 UTC

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