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

Re: Update on RDF in XHTML (works for a CC license)

From: Dan Connolly <connolly@w3.org>
Date: Mon, 24 Nov 2003 16:07:18 -0600
To: Dominique HazaŽl-Massieux <dom@w3.org>
Cc: public-rdf-in-xhtml-tf@w3.org
Message-Id: <1069711638.11771.54.camel@dirk.dm93.org>

On Mon, 2003-11-24 at 13:31, Dan Connolly wrote:
> Next step: experiment with multiple stylesheets
> and creative commons licensing...

Yup; works...

My homepage includes...

  <head profile="http://www.w3.org/2003/11/rdf-in-xhtml">
    <link rel="xslt2rdf" href="grokCC.xsl" />
  This work is licensed under a
  <a href="http://creativecommons.org/licenses/by-nd/1.0/">Creative
Commons License</a>.

And I just cooked up this little XSLT ditty...

turns that into... the sort of RDF that the CC
folks recommend...

i.e. ...

<cc:Work rdf:about="">
	<cc:License rdf:about="http://creativecommons.org/licenses/by-nd/1.0/">
<cc:permits rdf:resource="http://web.resource.org/cc/Reproduction"/>
<cc:permits rdf:resource="http://web.resource.org/cc/Distribution"/>
<cc:requires rdf:resource="http://web.resource.org/cc/Notice"/>
<cc:requires rdf:resource="http://web.resource.org/cc/Attribution"/>

You can see for yourself...

> http://www.w3.org/2000/06/webdata/xslt?xslfile=http%3A%2F%2Fwww.w3.org%2F2003%2F11%2Frdf-in-xhtml-processor&xmlfile=http%3A%2F%2Fwww.w3.org%2FPeople%2FConnolly%2F

grokCC.xsl v1.1 only handles that one sort of license, but it
enhancing it to handle the other licenses seems entirely
straightforward, if a bit tedious.

> On Mon, 2003-11-24 at 02:48, Dominique HazaŽl-Massieux wrote:
> > In that purpose, I have started a rough draft of a possible
> > specification of such a system:
> > http://www.w3.org/2003/11/rdf-in-xhtml-proposal
> > with a demonstration of the system at:
> > http://www.w3.org/2003/11/rdf-in-xhtml-demo

Dan Connolly, W3C http://www.w3.org/People/Connolly/
Received on Monday, 24 November 2003 17:07:20 UTC

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