From owner-freebsd-www@FreeBSD.ORG Wed Oct 19 16:46:47 2005 Return-Path: X-Original-To: www@freebsd.org Delivered-To: freebsd-www@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F29CE16A41F for ; Wed, 19 Oct 2005 16:46:46 +0000 (GMT) (envelope-from fenner@research.att.com) Received: from mail-yellow.research.att.com (mail-dark.research.att.com [192.20.225.112]) by mx1.FreeBSD.org (Postfix) with ESMTP id ABDFF43D45 for ; Wed, 19 Oct 2005 16:46:46 +0000 (GMT) (envelope-from fenner@research.att.com) Received: from bright.research.att.com (bright.research.att.com [135.207.20.189]) by mail-blue.research.att.com (Postfix) with ESMTP id E2B031475F7 for ; Wed, 19 Oct 2005 12:46:45 -0400 (EDT) Received: (from fenner@localhost) by bright.research.att.com (8.12.11/8.12.10/Submit) id j9JGkj50018190; Wed, 19 Oct 2005 09:46:45 -0700 From: Bill Fenner Message-Id: <200510191646.j9JGkj50018190@bright.research.att.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII To: www@freebsd.org Date: Wed, 19 Oct 2005 09:46:45 -0700 Versions: dmail (linux) 2.7/makemail 2.14 Cc: Subject: Re: CGI Style conversion X-BeenThere: freebsd-www@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD Project Webmasters List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 16:46:47 -0000 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 and 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