Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 7242 invoked by uid 500); 9 Dec 2002 16:36:33 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 7233 invoked from network); 9 Dec 2002 16:36:33 -0000 Received: from smtp3.ihug.com.au (203.109.250.76) by daedalus.apache.org with SMTP; 9 Dec 2002 16:36:33 -0000 Received: from p1232-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.150.216] by smtp3.ihug.com.au with esmtp (Exim 3.22 #1 (Debian)) id 18LQtW-0001qK-00; Tue, 10 Dec 2002 03:36:35 +1100 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 18LR0y-00046s-00 for ; Tue, 10 Dec 2002 03:44:16 +1100 Date: Tue, 10 Dec 2002 03:44:16 +1100 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: Newbie question Message-ID: <20021209164416.GC1638@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: <3DF3DBE1.2070100@chalko.com> <006701c29f4d$9e1a0a00$7501a8c0@claudius> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <006701c29f4d$9e1a0a00$7501a8c0@claudius> User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, Dec 09, 2002 at 02:38:33PM +0800, Hans E. Kristiansen wrote: > I would like to publish a certificate using forrest. The problem is that the > cert file always get the extension .html, rather than .crt. e.g. the file is > called cacert.crt, but the generated file is always called cacert.crt.html > (using "forrest site" command). > > How do I ensure that the file extension is maintained during the publishing > process. It isn't really possible with the current Forrest. See the mail I just posted, "Adding protocols to links". If I were you I'd wait to see what happens on that thread. The closest that can be achieved with today's Forrest is to stop Cocoon adding the .html by filtering out the cacert.crt link, with a custom sitemap: http://cvs.apache.org/viewcvs/jakarta-avalon/src/documentation/sitemap.xmap?rev=1.20.2.4&content-type=text/vnd.viewcvs-markup and stylesheet: http://cvs.apache.org/viewcvs/jakarta-avalon/src/documentation/resources/stylesheets/Attic/avfilterlinks.xsl Then cacert.crt would have to be copied manually. --Jeff > Thank you very much. > > Regards, > Hans E. >