- From: Karl Dubost <karl@la-grange.net>
- Date: Sat, 15 Aug 2009 19:35:31 -0400
- To: Lachlan Hunt <lachlan.hunt@lachy.id.au>
- Cc: public-html <public-html@w3.org>
Le 10 août 2009 à 07:48, Lachlan Hunt a écrit :
> Similarly, the cite attribute duplicates functionality of the <cite>
> elmement combined with <a href>.
cite attribute on blockquote covers different cases and makes a direct
association between the quoted text and the reference.
# Example 1
In this example, the author and even the titles can have different
URIs (a href) inside cite *element* for expressing more information.
The quoted text makes a reference to a precise book from which it has
been extracted.
The main issue for me is that I can't associate the author and the
title with the right quote, specifically when there is more than one
in the page.
<p class="source">In the book, <cite class="title">The Adventures of
Huckleberry Finn</cite>, written in 1884 by <cite class="author">
<a href="http://fr.wikipedia.org/wiki/Mark_Twain">Mark Twain</a></cite>
is referring to a previous novel:</p>
<blockquote cite="urn:isbn:978-0-14-243717-9" xml:lang="en">
<p>You don't know me about me, without you have read
a book by the name of "The Adventures of Tom Sawyer,
" but that ain't no matter.</p>
</blockquote>
# Example 2
In this example we can have also different uris inside cite element
and I can associate the source with the blockquote. But it doesn't
solve my issue when I have a text flow which is more fluid with a
narrative. I might still want to associate the author and the quotes.
<blockquote cite="urn:isbn:978-0-14-243717-9" xml:lang="en">
<p>You don't know me about me, without you have read
a book by the name of "The Adventures of Tom Sawyer,"
but that ain't no matter.</p>
<p class="source">
<cite class="auteur">Twain, Mark</cite>, p. 9.
<cite class="titre">The Adventures of Huckleberry Finn</cite>.
Penguin Classics. 2003
</p>
</blockquote>
IMHO, removing the cite attribute on quote is not a very good idea and
doesn't create any benefits.
Making it possible for browser to activate the URI contained in cite
attribute be a lot better (javascript and css can be used already see
below).
My constraints are often:
1. associating authors, titles and quotes which can be distributed in
a text.
2. still being able to associate them when multiple quotes and authors.
3. Being able to use different uris for
"cite element with a href"
and "cite attribute in blockquote and q elements".
blockquote[cite]:after {
content: "Quote from: " attr(cite);
display: block;
}
Opera had (has?) also proprietary extension to CSS
q[cite], blockquote[cite] {
-o-link: attr(cite);
-o-link-source: current;
cursor: pointer }
See references
http://www.holovaty.com/writing/176/
http://simonwillison.net/2002/Dec/20/blockquoteCitations/
http://www.456bereastreet.com/archive/200411/quotations_and_citations_quoting_text/
http://www.sitepoint.com/article/structural-markup-javascript/
http://www.blog-and-blues.org/weblog/2004/08/24/284-attribut-cite-pseudo-lien
--
Karl Dubost - http://www.la-grange.net/karl/
Près de vous, madame, oubliant les cieux,
L'astronome étonné se trouble ;
C'est dans l'éclat caressant de vos yeux,
Qu'il avait cru trouver l'étoile double.
Received on Saturday, 15 August 2009 23:35:44 UTC