Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 79372 invoked by uid 500); 18 Aug 2003 12:53:07 -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 79339 invoked from network); 18 Aug 2003 12:53:05 -0000 Received: from grunt26.ihug.com.au (203.109.249.146) by daedalus.apache.org with SMTP; 18 Aug 2003 12:53:05 -0000 Received: from p1184-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.150.168] by grunt26.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 19ojVL-00009c-00; Mon, 18 Aug 2003 22:53:04 +1000 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 19ojVQ-0002a1-00 for ; Mon, 18 Aug 2003 22:53:04 +1000 Date: Mon, 18 Aug 2003 22:53:04 +1000 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: Newbie question: Special file Message-ID: <20030818125304.GB8564@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: <20030816110731.GA2869@photon.localdomain> <20030816113822.GA1806@expresso.localdomain> <20030817222650.GA2504@photon.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030817222650.GA2504@photon.localdomain> User-Agent: Mutt/1.5.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, Aug 18, 2003 at 01:26:50AM +0300, Niklas Koponen wrote: > On Sat, Aug 16, 2003 at 09:38:22PM +1000, Jeff Turner wrote: > > On Sat, Aug 16, 2003 at 02:07:31PM +0300, Niklas Koponen wrote: > > > The problem is that I cannot figure out how to bypass the normal > > > processing pipeline for this one file xdocs/lunch.xml. I was able to > > > register the lunch so its get transformed to doc12. But that is not > > > really what I was after. > > > > Have a look at: > > > > http://xml.apache.org/forrest/your-project.html#adding_new_content_type > > > > You need to: > > - Add your custom DTD and register it in the catalog > > - Add your stylesheet > > - Override and customise the sitemap to apply your stylesheet to > > xdocs/lunch.xml > > > > To start with, I'd suggest running Forrest interactively ('forrest run', > > then browse http://localhost:8888), and tinkering with the sitemap in > > build/webapp/*.xmap and content in build/webapp/content/xdocs/*. That > > way, you can see in realtime how the sitemap works, and what changes need > > be made to render lunch.xml specially. > > Thank you for the advice. Development went faster after switching to > "live" mode. It's great if you're able to symlink build/webapp/content/xdocs to src/documentation/content/xdocs. Otherwise you have to use 'forrest backcopy' to synch the two. > I got figured out how to generate the pdf but I left the > html formatting alone. I noticed that the tables were configurable > using the css stylesheets. Where do I submit a new site using Forrest > ;-)? To this list, and we'll add it to live-site.xml --Jeff > -Niklas > > -- > Niklas Koponen | Hietapellontie 3 B 7 | niklas.koponen@iki.fi > +358 40 757 1459 | 02400 KIRKKONUMMI | http://www.iki.fi/niklas.koponen >