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: About RAW content
Date Tue, 16 Nov 2004 13:03:26 GMT
Juan Jose Pablos wrote:
> Nicola Ken Barozzi wrote:
> 
>> Juan Jose Pablos wrote:
>>
>>> Nicola Ken Barozzi wrote:
>>>>
>>>> In any case, this will remove the raw directory altogether.
>>>>
>>> So is anyone against my patch to merge xdocs and raw-dir content?
>>
>> I am ok if you still also keep the original match too for now.
>>
> It will not touch any match, just project.content and project.xdocs 
> point to the same directory.

I was thinking about something like this:

<map:match type="regexp" pattern="^.+$">
   <map:select type="exists">
     <map:when test="{project:content}/{0}">
       <map:mount uri-prefix="" src="raw.xmap" check-reload="yes" />
     </map:when>
+   <map:when test="{project:content.xdocs}/{0}">
+     <map:mount uri-prefix="" src="raw.xmap" check-reload="yes" />
+   </map:when>


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


Mime
View raw message