Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2005 09:46:45 -0700
From:      Bill Fenner <fenner@research.att.com>
To:        www@freebsd.org
Subject:   Re: CGI Style conversion
Message-ID:  <200510191646.j9JGkj50018190@bright.research.att.com>

next in thread | raw e-mail | index | archive | help

I've fixed the table size problems, by giving html_header() an
optional second argument that determines whether it's HTML 4.01
or XHTML.  This allows html_header() to output the right doctype,
decide whether or not to output the closing slashes on <link>
and <meta> elements, and (hacky) output style for th,td to get
the table size right but only for HTML 4.01 where the IE quirks
apply.

This is hacky, but cvsweb is the only one that is still HTML 4.01
(it previously had hacks to change the DOCTYPE that html_header()
returned, fun!) so it's a limited scope hack.

The only remaining barrier to claiming that it's ready is the
mailing list archives - it looks like there is some special
magic that's only on docs.freebsd.org and I'd have to test
there, but docs.freebsd.org's web server doesn't execute CGIs
in user directories.  Anyone know how the mailing list archive
stuff is set up well enough to help test how it'll work with my
updated cgi-style.pl?

Thanks,
  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200510191646.j9JGkj50018190>