www.gnupg.org - new design

Michael Nahrath michael@nahrath.de
Wed, 04 Dec 2002 12:57:16 +0100


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Webmaster,

[I first sent this mail to Werner in German language, because according to
the 'meta'-elements he is the 'Author' and 'Translator'. This is mainly a
translation of the mail I sent to him yesterday]

I like the new site. It's a bit surprising for a GNU project but not yet
overloaded.

While taking a look at the code ("who did they do this ..." ;-) my editor
printed out an error report. Maybe you are interested.

This report is for <http://www.gnupg.org/(en)/misc/links.html> in special.

> File "00003A38.html"; Line 20:  Document type doesn't permit attribute
> =B3align=B2 within element =B3<div>=B2.

By
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
you declare to use 'XHTML 1.0 strict'.

But this is not what you are doing. The site uses several attributes that
are not contained in the 'strict' variant of XHTML 1.0.

Rather use (according to your coding)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/2000/REC-xhtml1-20000126/DTD/xhtml1-transitional.dtd"=
>

> File "00003A38.html"; Line 20:  Value of attribute =B3cellspacing=B2 for
> element =B3<table>=B2 must be a number or percent (for example =B350=B2 or =B350%=B2)=
.
> File "00003A38.html"; Line 25:  Value of attribute =B3width=B2 for element
> =B3<col>=B2 must be a number or percent (for example =B350=B2 or =B350%=B2).
> [repeated ...]

You use the unit 'px' for lengths in XHTML attributes. That is wrong. That
was the way you'd do it in CSS but XHTML length attributes are always in
'px' and therefor written without unit.

<col width=3D"23px" /> is wrong whereas <col width=3D"23" /> would be right.

> File "00003A38.html"; Line 27:  Document type doesn't permit attribute
> =B3height=B2 within element =B3<tr>=B2.
> [repeated ...]

HTML4 and XHTML1 don't define the attribute 'hight' for the 'tr' element.
Instead it may be used for 'td' and 'th':
<http://www.w3.org/TR/html401/struct/tables.html#adef-height-TH>

Its use is 'deprecated', but still allowed if you use the 'transitional'
flavour of XHTML1.

> File "Users:michi:Library:Preferences:iCab Preferences:iCab
> Cache:g:00003A38.html"; Line 138:  Value of attribute =B3id=B2 for element =B3<=
dt>=B2
> must begin with one of {A-Z,a-z} followed by zero or more of
> {A-Z,a-z,0-9,-,_,:,.}.

This is for
<dt id=3D"site_ab-peter_gutmann_(mirror)">
    <a href=3D"http:///">Peter Gutmann (mirror)</a>

The brackets are not allowed in the 'id' attribute's value.

With these issues corrected the site would be completely valid:
http://validator.w3.org/check?uri=3Dhttp://www.gnupg.org/(en)/misc/links.html
My compliments!


Some other issues i recognized at first sight:

<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dutf-8" />
is only usefull (if ever ...) if it is used as early in the code as
possible. It should be the very first child of 'body'.

Ever preferable was to correctly set up the server by putting
    AddCharset  utf-8  .html
into the .htaccess file for the site.

In the moment the Charset sent by the http:-header is contradicting to the
Charset you wrote into the 'meta' elemnt. That may cause unpredictable
results on different browsers.

Werner uses entities for the German umlauts (=C4 =3D &Auml;) anyway.
That is why the misconfiguration does not disturbe much at the moment in
practice.

Documentation for this:
<http://httpd.apache.org/docs/mod/mod_mime.html#addcharset>


TD.frame-navb {
  /* ... */
  font-size: x-small;
}
is far too small. Going two grades beyoned the users' browser preferences
for "well readable" will render the navigational text unreadable in many
cases.
Additionally finding something on other people's website is one of the
hardest tasks for a surfer. Don't make this even harder by making it less
readable than the rest of the text!


The <span class=3D"gnu">Gnu</span><span class=3D"pg">PG</span> at the top of
each page might be marked up as 'h1' ...


Of course what you are doing here ist table abuse, but at least you don't
bloat the code too much by this. Additionally I don't have a simple idea at
the moment how to achieve the same effect without tables and I like it :-)

I hope you are interested in my unasked proposals for enhancement.

Gru=DF, Michi

P.S.: For Werner: "Heimat" is not a good German translation for "home" (if
meaning "homepage"). "Startseite" would be better understood.

P.P.S.: Please include me in replies on this mail! I am not subscribed to
gpgweb-devel@gnupg.org but Werner asked me to post this to the list.
- --=20
Michael Nahrath, Hasestra=DFe 41, 31137 Hildesheim, T+F+AB: +49 [0]5121 51391=
9
<http://michael.nahrath.de>   PGP-ID: 0x9A4C704C   Mobil: +49 [0]170 295595=
7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.1 (Darwin)

iD8DBQE97e2m19dRf5pMcEwRAiqjAKDUMXar4zGYXlyO48jDBTu5G0EjwQCeLxp3
GvIvZOvs+jvv4qbSFJgnfG8=3D
=3DiLco
-----END PGP SIGNATURE-----