W3C home > Mailing lists > Public > whatwg@whatwg.org > April 2008

[whatwg] Feeedback on <dfn>, <abbr>, and other elements related to cross-references

From: Michel Fortin <michel.fortin@michelf.com>
Date: Tue, 22 Apr 2008 07:03:53 -0400
Message-ID: <BE655949-3AD9-4C02-969B-416344F1C0E1@michelf.com>
Le 2008-04-21 ? 13:20, Tab Atkins Jr. a ?crit :

> Plus, who actually wants to mark up every instance of an abbreviation?
> That's a ton of work for next to no reward, and apparently isn't  
> something
> that can be automated (since there are conflicts between  
> abbreviations and
> actual words).  Mark it up once to expand it, and if you want to  
> refer to
> the original abbreviation again, give it an id and link to it.

Well, fully automated insertion of <abbr> is tricky yes, but there are  
ways to automate the process in a correct way.

With [PHP Markdown Extra][1] for instance, you can define an  
abbreviation somewhere in the document and have it applied to each  
instance of this word through the document. Since abbreviations are  
defined on a per-document basis, presumably by the author, chances are  
they'll be all correct.

  [1]: http://michelf.com/projects/php-markdown/extra/

Michel Fortin
michel.fortin at michelf.com
Received on Tuesday, 22 April 2008 04:03:53 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:02 UTC