forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thors...@apache.org>
Subject Re: [RT] RAW content
Date Mon, 29 Nov 2004 09:43:13 GMT
El lun, 29-11-2004 a las 10:32, Ross Gardler escribió:
> Nicola Ken Barozzi wrote:
> > Ross Gardler wrote:
> > ...
> 
> ...
> 
> > Let's see this from another POV: we have a directory containing an old 
> > site that I want to be included in the output as-is for historical reasons.
> > 
> > It seems to me that having some metadata that says that that dir is RAW 
> > content should be enough... which brings us to how to declare this 
> > metadata... another TR :-)  (you're Mr. Plugin, I'm MR. RT ;-)
<snip/>
> A third possibility that is a marrying of the two is elements in 
> site.xml to make it much more like the Ant fileset idea, like this:
> 
> <!-- everything in old_site directory -->
> <rawContent dir="/old_site/**"/>
> 
> <!-- everything in 0.6_docs, except the forums -->
> <rawContent dir="/0.6_docs/**">
>    <exclude name="forums/**"/>
> </rawContent>
> 
> <!-- everything in 0.6_docs, except all files in forums except the 
> index.html file -->
> <rawContent dir="/0.6_docs/**">
>    <exclude name="forums/**"/>
>    <exclude name="forums/**/index.html"/>
> </rawContent>
> 
> This leaves site.xml easily readable, allows such content to be provided 
> in an external file if there is no way of generating it from another 
> type of site descriptor file and allows us to describe pages not linked 
> to in site.xml.
> 

+1

-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Mime
View raw message