forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Turner <je...@apache.org>
Subject Re: Newbie question: Special file
Date Mon, 18 Aug 2003 12:53:04 GMT
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
> 

Mime
View raw message