W3C home > Mailing lists > Public > www-html@w3.org > June 2005

Re: DC in XHTML2

From: Phil Archer <parcher@icra.org>
Date: Wed, 8 Jun 2005 14:14:03 +0100
Message-ID: <00e101c56c2c$86ed8100$63601052@PHILXP>
To: "Johannes Koch" <koch@w3development.de>, <www-html@w3.org>
Cc: <semantic-web@w3.org>

I agree, it's very limited if you have to write a new span or div for every 
triple, but, if we can reference an RDF resource, that resource can provide 
as much metadata as you want. It can be done in many ways but RDF Content 
Labels would do it like this:

<div id="titanic" property="label:hasLabel"
  resource="http://example.org/labels.rdf#label_1">
  <span property="dc:title" class="title">Titanic</span>
  <a href="titanic.mov">See the movie</a>
</div>

Follow that resource link and you get to:

<label:ContentLabel rdf:ID="label_1">
  <label:hasClassification rdf:resource="age:twelve" />
  <ex:thing>value</ex:thing>
  <ex:thing2>value</ex:thing2>
  ...
</label:ContentLabel>

My use case really just needs support for a resource attribute in XHTML2 but 
support within that for QNames would make it more compact which is where 
Misha started with all this.

Phil.


----- Original Message ----- 
From: "Johannes Koch" <koch@w3development.de>
To: <www-html@w3.org>
Cc: <semantic-web@w3.org>; <iptc-metadata@yahoogroups.com>; 
<dc-general@jiscmail.ac.uk>
Sent: Wednesday, June 08, 2005 1:39 PM
Subject: Re: DC in XHTML2


>
> Phil Archer wrote:
>
>> <div id="titanic" property="label:hasClassification" 
>> resource="age:twelve">
>>  <span property="dc:title" class="title">Titanic</span>
>>  <a href="titanic.mov">See the movie</a>
>> </div>
>
> I think this approach is too limited, as it only permits one tripel per 
> element. What do you do when you want more? Wrap the div in another div?
>
> <div id="titanic" property="label:hasClassification" 
> resource="age:twelve">
>  <div property="foo:duration" resource="bar:105">
>   <span property="dc:title" class="title">Titanic</span>
>   <a href="titanic.mov">See the movie</a>
>   </div>
> </div>
>
> No no
> -- 
> Johannes Koch
> In te domine speravi; non confundar in aeternum.
>                             (Te Deum, 4th cent.)
>
> 
Received on Wednesday, 8 June 2005 13:25:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 5 February 2014 07:19:03 UTC