Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 May 2005 20:11:14 +0300
From:      Ville =?ISO-8859-1?Q?Skytt=E4?= <scop@FreeBSD.org>
To:        freebsd-cvsweb@freebsd.org
Subject:   Re: Patch to add html download link.
Message-ID:  <1115053874.16399.2.camel@bobcat.mine.nu>
In-Reply-To: <a7ae16fa05042815173f25c1ad@mail.gmail.com>
References:  <a7ae16fa05042815173f25c1ad@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2005-04-28 at 15:17 -0700, Allen Reese wrote:

> I store html files in a cvs repository that we access via cvsweb.  I
> find myself downloading the html file to open it in a web browser, or
> changing the link that I clicked on so I can just display the html
> file straight from cvsweb.

Just clicking the "download" link should result it being sent as
text/html assuming you have it configured so in cvsweb.conf (which is by
default set up to do that).  See for example the *.html files at
http://cvs.fedora.us/cgi-bin/cvsweb.cgi/docs/

Which version of cvsweb are you running?

> I got sick of it and wrote a patch to get around this today.  ;)
> 
> The patch adds a html link between text & markup that passes the
> mimetype as text/html.

That doesn't make much sense for files other than HTML.



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