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: [RT] RAW content
Date Mon, 29 Nov 2004 09:51:57 GMT
Ross Gardler wrote:
...
> 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 to the concept

This should marry well with my new RT about dir structure and 
configuration, as includes and excludes can be applied to every single 
configuration item.

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


Mime
View raw message