W3C home > Mailing lists > Public > public-html@w3.org > September 2009

Re: Change back the semantics of <cite>

From: Karl Dubost <karl@la-grange.net>
Date: Sun, 13 Sep 2009 07:52:42 -0400
Message-Id: <576C3A43-C63F-4A8D-B1CD-2639589DA117@la-grange.net>
Cc: HTMLWG <public-html@w3.org>
To: Smylers <Smylers@stripey.com>

Le 10 sept. 2009 à 20:16, Smylers a écrit :
>> Or perhaps <cite> needs the role attribute?
>
> We could add <cite role=name> and define it as a name which doesn't  
> need
> highlighting to users.  But that would be cramming two meanings into  
> one
> element, and would be displayed in italics (or whatever) in existing
> browsers.  If we're going to invent something for this situation why  
> not
> <name> or <person>, so the two meanings are entirely distinct?

For 8 or 9 years, I'm using cite for person's name which are author of  
something, depending on the context in the text.

1. <cite class="auteur">Yanagi, Soetsu</cite>  (author)
2. <cite class="titre">Artisan et inconnu</cite> (title)
3. <p class="source"><cite class="auteur">Yanagi, Soetsu</cite>, <cite  
class="titre">Artisan et inconnu</cite>. p.20, L'Asiathèque. 1992</p>  
(full source)

The issue usually when using

     <cite>Yanagi, Soetsu, Artisan et
           inconnu. p.20, L'Asiathèque. 1992
           </cite>

is the lack of structure for working with the text. Sure, I could use  
spans too. But that would cover only the case when the source is an  
academic citation with the full source in the text. Most of the time  
in text, we write about a title and an author (think blogs,  
newspapers, novels for example) not in the same chunk of text.

If we restrict the usage of cite to full source citation, then we need  
something to markup authors and titles (and a way to relate them if  
they are apart in the text.)


     <cite about="urn:isbn:978-2901795513"
           property="dc:title">
           Artisan et inconnu
           </cite>

     [… blablabla …]

     <span about="urn:isbn:978-2901795513"
           property="dc:creator">
           Yanagi, Soetsu
           </span>


-- 
Karl Dubost
Montréal, QC, Canada
http://twitter.com/karlpro
Received on Sunday, 13 September 2009 11:52:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 9 May 2012 00:16:48 GMT