forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicola Ken Barozzi <nicola...@apache.org>
Subject Re: Stop menu generation
Date Fri, 14 Feb 2003 07:50:51 GMT

Jeff Turner wrote, On 14/02/2003 4.05:
> On Thu, Feb 13, 2003 at 10:48:25PM -0400, admin wrote:
...
> If you look in the sitemap, the final page is composed of body, 'book' (menu)
> and tabs:
> 
>     <map:match pattern="**/*.html">
>       <map:aggregate element="site">
>         <map:part src="cocoon:/{1}/book-{1}/{2}.xml" />
>         <map:part src="cocoon:/{1}/tab-{1}/{2}.xml" />
>         <map:part src="cocoon:/body-{1}/{2}.xml" label="content" />
>       </map:aggregate>
>       ...
> 
> So to get just the body HTML, request body-{whatever}.xml.  Eg,
> http://localhost:8888/body-index.xml will retrieve the index.html page body.

Hey, we have a printer-friendly page!

Does anyone mind if I add on the page, along with PDF, the link for 
printer-friendly and pure xml?

ie body-index.xml
    index.xml

Seems cool :-)

-- 
Nicola Ken Barozzi                   nicolaken@apache.org
             - verba volant, scripta manent -
    (discussions get forgotten, just code remains)
---------------------------------------------------------------------


Mime
View raw message