forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juan Jose Pablos <che...@che-che.com>
Subject Re: Directory structure in 0.6 (Re: cvs commit: ...)
Date Tue, 22 Jul 2003 10:42:18 GMT
Jeff,


> Though, the necessity of raw/ is rather annoying, as we still have two
> separate content trees with an identical structure.  If index.xml refers
> to a pregenerated sales.pdf, we'd have:
> 
> src/documentation/content/index.xml
> src/documentation/content/raw/sales.pdf
> 
> Perhaps we could rather use marker attributes in site.xml to indicate raw
> content:
> 
> <site>
>   ...
>   <salesreport href="sales.pdf" binary="true"/>
>   ...
> </site>
> 

What about?

<map:select type="exists">
           <map:when test="cocoon:/{1}@href">
...


Basicaly if a resource exist then give the resource as-is, if the 
resource does not exist try to transform it from something else.


Cheers,
Cheche


Mime
View raw message