On Tue, 19 Feb 2002, Oskar Sandberg wrote:

> On Tue, Feb 19, 2002 at 05:11:45PM +0200, Tuomas Lukinmaa wrote:

> > Also diagnostic pages lack certain mandatory tags, like DOCTYPE
> > definition (doctypes are missing from nodepages too), <HTML>
> > and <BODY>, have missing tags or wrongly nested tags.
>
> I fixed most of these I think, except the DOCTYPE thing which must be
> one of those annoying newfangled things that postdate my html knowledge
> (circa 93 or so).

Well, HTML 2.0 has it's DOCTYPE specified and it's dated as 1994, so it's
somewhat old.

Out of curiosity, I checked the cvs check-in and noticed a mistake in it.
Maybe it was partly my fault not saying what to fix exactly and writing
bit too optimistic commentary. You should also include TITLE tag for every
page. It's mandatory, though HTML, HEAD and BODY are not. If you like, you
can retain your old-style coding of HTML, just make sure TITLE is used.
Some old browsers might not parse server returned Content-Type, thus
searching HTML or TITLE to determine if the page is text or HTML. IIRC,
even latest IE versions did this in some cases when loading HTML content
from file. Can't remember the details though.

> > If possible, someone could run http://validator.w3.org/ thru all Freenet
> > nodepages to make sure all obvious errors are caught.
>
> I don't think so. If people care how the output looks, then they can
> write the HTML and I'll add it to the code.

Hmm, maybe I'll do some experiments some day when less tired due work. :)

-tumu


_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl

Reply via email to