Outer Court

Tech - Posts to comp.infosystems.www.*

From: "Philipp Lenssen" <phil@mrinfo.de>
Newsgroups: comp.infosystems.www.authoring.html
Subject: Re: ABBR and ACRONYM
Date: Mon, 20 Aug 2001 11:05:16 +0200
Message-ID: <9lqjnj$qg0$1@swifty.westend.com>
"K a s t o r" <kastorNOSP@Meurope.com> wrote in message
news:j1Wf7.7083$6x5.2001108@afrodite.telenet-ops.be...
>..
> That said, in some cases it may make more sense to do this:
> <a href="http://www.nato.int" title="North Atlantic Treaty
> Organization">NATO</a>
>
> But I can imagine that in many cases you don't want to stuff your code
> with links, and certainly not repeatedly for the same
> abbreviation/acronym.
>..

IMO it would make more sense to additionaly be able to link to an
abbreviations/ acronyms file. It's like cluttering your code with
inline-styles versus using external CSS; the one is redundant, takes away
more space, clutters up the HTML, takes more time to write, has to be
written for every HTML, and so on. The following would be ideal (if
something along those lines is already a standard, I would like to hear
about it):

The HTML file:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <title>The World Wide Web</title>
    <link rel="abbreviations" href="world_wide_web.terms" />
</head>
<body>
    <p>The WWW is more than just ...</p>
</body>
</html>

And the explanatory file:

<?xml version="1.0"?>
<terms>

    <term name="WWW" type="abbreviation">
        <title>World Wide Web</title>
        <explanation longdesc="world_wide_web.htm">
            [small explanation here, detailed explanation as link]
        </explanation>
    </term>

</terms>

(When I think about it now, it should be relatively easy to do this via
server-side processing and to output in the old standard way of <abbr
title="">...</abbr>.)





 
Basic
Goodies
Design
Tech
Email