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

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...
  http://www.w3.org/People/Connolly/grokCC.xsl

turns that into... the sort of RDF that the CC
folks recommend...
http://creativecommons.org/license/results-one?license_code=by-nd&format=text&stylesheet=%2fincludes%2fccliss%2ecss&partner_icon_url=%2fimages%2fremote_logo%2egif

i.e. ...

<cc:Work rdf:about="">
<cc:license
rdf:resource="http://creativecommons.org/licenses/by-nd/1.0/"/>
</cc:Work>
-
	<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"/>
</cc:License>


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