[ mailman-Bugs-1866486 ] validate HTML and email produced

SourceForge.net noreply at sourceforge.net
Thu Jan 24 03:31:15 CET 2008

Bugs item #1866486, was opened at 2008-01-08 10:40
Message generated for change (Comment added) made by jidanni
You can respond by visiting: 

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Web/CGI
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: jidanni (jidanni)
Assigned to: Nobody/Anonymous (nobody)
Summary: validate HTML and email produced

Initial Comment:
In your test suite add
for all languages
   for all HTML pages
       run them thru a HTML validator
   for all administrative email sent
       run them thru e.g., SpamAssassin, to detect
       SUBJECT_NEEDS_ENCODING etc. embarrassment.


>Comment By: jidanni (jidanni)
Date: 2008-01-24 10:31

Logged In: YES 
Originator: YES

Can't find the button to merge this with 1861600. Perhaps I don't have
javascript turned on.

Anyway: I did see http://wiki.list.org/display/DEV/Summer+of+Code but
he's got it all wrong. Instead of going the javascript direction, he
should just go to the strict.dtd direction. Using not even one TABLE,
only H1 H2, etc. Indeed just like the HTML in my http://jidanni.org/ .

I mean if anything, the number of buttons and choices on the Mailman
web interface should shrink, not grow. Therefore the slightly looser H1
H2 etc. instead of TABLEs will not be too big anyway. I don't even see
the need for any CSS. Just H2 or <DL><DT><DD><P> lists of questions
and answers (item names and their choices.)

Mailman is not some multimedia application. You should go the
Strict.dtd route. No color too: then you will be forced to make your
H2's titles meaningful ones, improving accessibility for everybody.

(P.S., the Chinese sample I gave also has its language selector ripped
out, else I would have to also maintain an English page, as that is
Dreamhost's site language, and cannot be
turned off (bug 1875187))


Comment By: jidanni (jidanni)
Date: 2008-01-23 03:55

Logged In: YES 
Originator: YES

And as you will find your HTML is jam packed with _very hard to
maintain presentational blibber_, causing a billion validator errors,
meaning it is just by shear luck that people hopefully see what your
thought maybe they might see in their browsers at all, therefore I
recommend you forget your FrontPage Express style tag soup mess, and
try HTML Strict (http://www.w3.org/TR/html4/strict.dtd).

Never mind all those colors and tables. Get in the habit of thinking
from the point of all users: _accessibility_.

Here's an example of how I repaired your disastrous listinfo.html.

I couldn't use strict.dtd as the stuff I include of yours isn't

Also you insist on sticking a TABLE inside an ADDRESS, in
mm-mailman-footer, so short of just hardcoding the whole thing, it
will never be valid HTML.

Anyway I'm just telling you, not volunteering to help, but just
telling you, that aren't  these <H1> and <H2>'s easier to maintain
than that TABLE tag barf that you contracted Plotzworth Whoopie Pages
Web Designers for?

P.S., Before making one more release, make sure what you release is
valid HTML. Does Wikipedia pass the validator? Yes. It is quite
bananas to just emit TAG JUMBLE GAMBLE HTML with FINGER CROSSED to
people's browsers.

Anyway, just some <h2>'s and <p>'s:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<html lang="zh-tw">
 <meta http-equiv="Content-Type" content=
 "text/html; charset=utf-8">
 <meta http-equiv="Content-Language" content="zh-tw">
 <title><mm-list-name> 相關資訊</title>
<h1><mm-list-name> -- <mm-list-description></h1>
 <P>欲在論壇發言,請寄到 <a
 <P>請於聚會現場報名。 <!--ripped out this section, must
subscribe in person-->


You can respond by visiting: 

More information about the Mailman-coders mailing list