CGI Style conversion
Bill Fenner
fenner at research.att.com
Wed Oct 19 09:46:47 PDT 2005
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
More information about the freebsd-www
mailing list