Re: capturing reserved keywords in @rel

I am not qualified to comment on the value of the approach, but I note 
that there are many more reserved values than the ones listed.  See 
section 9.2.6 of the current draft.

Ben Adida wrote:
> 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:
> http://www.w3.org/2006/07/SWD/RDFa/impl/js/xhtml1-hgrddl.js
>
> You really only need to look at lines 38-62.
>
> The GetN3 bookmarklet now includes this functionality:
> http://www.w3.org/2006/07/SWD/RDFa/impl/js/
>
> So you can run it on, say, the Creative Commons homepage:
> http://creativecommons.org/
>
> and it will pick up the rel="license" markup.
>
> -Ben
>
> PS: I need to add support for @rev and maybe for <meta name="">?
>   

-- 
Shane P. McCarron                          Phone: +1 763 786-8160 x120
Managing Director                            Fax: +1 763 786-8180
ApTest Minnesota                            Inet: shane@aptest.com

Received on Monday, 21 January 2008 22:39:05 UTC