Return-Path: Delivered-To: apmail-forrest-dev-archive@www.apache.org Received: (qmail 6705 invoked from network); 16 Nov 2004 05:56:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 16 Nov 2004 05:56:22 -0000 Received: (qmail 66222 invoked by uid 500); 16 Nov 2004 05:56:21 -0000 Delivered-To: apmail-forrest-dev-archive@forrest.apache.org Received: (qmail 66202 invoked by uid 500); 16 Nov 2004 05:56:21 -0000 Mailing-List: contact dev-help@forrest.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: dev@forrest.apache.org Delivered-To: mailing list dev@forrest.apache.org Received: (qmail 66189 invoked by uid 99); 16 Nov 2004 05:56:21 -0000 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_WHOIS,FORGED_RCVD_HELO,SPF_HELO_PASS X-Spam-Check-By: apache.org Received-SPF: neutral (hermes.apache.org: local policy) Received: from [196.25.240.76] (HELO ctb-mesg4.saix.net) (196.25.240.76) by apache.org (qpsmtpd/0.28) with ESMTP; Mon, 15 Nov 2004 21:56:19 -0800 Received: from sean.site (ndn-75-166.telkomadsl.co.za [165.165.75.166]) by ctb-mesg4.saix.net (Postfix) with ESMTP id 4B5E6AD45 for ; Tue, 16 Nov 2004 07:56:12 +0200 (SAST) From: Sean Wheller Reply-To: sean@inwords.co.za Organization: In Words To: dev@forrest.apache.org Subject: Re: Selective PDF Date: Tue, 16 Nov 2004 07:51:58 +0200 User-Agent: KMail/1.6.2 References: <200411141149.20071.sean@inwords.co.za> <41994EF9.20403@apache.org> In-Reply-To: <41994EF9.20403@apache.org> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200411160751.58073.sean@inwords.co.za> X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N On Tuesday 16 November 2004 02:51, Ross Gardler wrote: > How about this: > > Say we have an output plugin for PDF. It will have to provide an fbit > for the pdf button. > > In forrest properties we can have: > > plugin.pdf.button.include.output=**.html, documentation/index.html > plugin.pdf.button.exclude.output=**/index.html > > This will result in the "button" fbit provided by the pdf plugin being > placed on all html pages, but not on the index pages (except the > documentation index). > > We can also filter on source format: > > plugin.pdf.button.include.source=**.xml > plugin.pdf.button.exclude.source=**.sxw > > *problem* how do we filter on source doctype? > > *NOTE* the include and exclude work as they do for filesets in ANT. That > is, if we define an include value, we assume everything is excluded > unless specifically included and vice-versa. Thus specifying neither > gives us the current default behaviour of the skin - i.e the current > behaviour. > > If we consider http://issues.cocoondev.org/browse/FOR-299 that Sean > highlighted we can achieve what is requested there with: > > plugin.toc.max-depth=2 > plugin.toc.min-sections=1 > plugin.toc.location=page > plugin.toc.includes.source=**/*.sxw > plugin.toc.excludes.source=**/*.xml While there are good ideas under discussion here, I think people have lost the focus. The solution now being suggested used blanket thinking ie. All *.xml or all *.swx. I was thinking more along the lines of being able to specify target formats on a per file basis. What was a simple idea has become complex. -- Sean Wheller Technical Author sean@inwords.co.za http://www.inwords.co.za