cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler" <cziege...@s-und-n.de>
Subject RE: cvs commit: xml-cocoon2/src/webapp sitemap.xmap
Date Fri, 05 Jul 2002 14:45:03 GMT
Please, we decided to leave the main sitemap clean, so we should stick
to it.
Second, why do you still need this, we don't have a mount directory
anymore, it's all in samples?

Carsten

> -----Original Message-----
> From: haul@apache.org [mailto:haul@apache.org]
> Sent: Friday, July 05, 2002 4:39 PM
> To: xml-cocoon2-cvs@apache.org
> Subject: cvs commit: xml-cocoon2/src/webapp sitemap.xmap
> 
> 
> haul        2002/07/05 07:38:37
> 
>   Modified:    src/webapp sitemap.xmap
>   Log:
>   Put "mount" back into main sitemap. OK, this one looks big but 
> it's the only
>   solution I found for all cases.
>     mount
>     mount/
>     mount/sample
>     mount/sample/page
>     mount/sample/sub/page
>     ...
>   
>   Revision  Changes    Path
>   1.69      +27 -0     xml-cocoon2/src/webapp/sitemap.xmap
>   
>   Index: sitemap.xmap
>   ===================================================================
>   RCS file: /home/cvs/xml-cocoon2/src/webapp/sitemap.xmap,v
>   retrieving revision 1.68
>   retrieving revision 1.69
>   diff -u -r1.68 -r1.69
>   --- sitemap.xmap	3 Jul 2002 21:23:35 -0000	1.68
>   +++ sitemap.xmap	5 Jul 2002 14:38:37 -0000	1.69
>   @@ -427,6 +427,33 @@
>        </map:match>
>      </map:pipeline>
>    
>   +
>   +  <!-- pipeline mounting mount/* -->
>   +  <map:pipeline>
>   +    <!-- first match only mount (without trailing slash) and 
> forward to        -->
>   +    <!-- "mount/" because relative URLs would otherwise be 
> handled incorrectly -->
>   +    <!-- by the client.                                        
>                 -->
>   +    <map:match pattern="mount">
>   +        <map:redirect-to uri="mount/"/>
>   +      </map:match>
>   +    <!-- second, generate a directory listing for mount -->
>   +    <map:match pattern="mount/">
>   +        <map:generate type="directory" src="mount"/>
>   +        <map:transform 
> src="samples/common/style/xsl/html/directory2html.xsl"/>
>   +        <map:serialize/>
>   +    </map:match>
>   +    <!-- third, if a locating deeper than 1 is called, mount 
> the first level -->
>   +    <!-- and delegate to sitemap contained in that directory.  
>               -->
>   +    <map:match pattern="mount/*/**">
>   +      <map:mount check-reload="yes" src="mount/{1}/" 
> uri-prefix="mount/{1}"/>
>   +    </map:match>   
>   +    <!-- fourth, locations contained in "mount" can be mounted 
> directly --> 
>   +    <map:match pattern="mount/*">
>   +      <map:mount check-reload="yes" src="mount/{1}/" 
> uri-prefix="mount/{1}"/>
>   +    </map:match>   
>   +  </map:pipeline>
>   +
>   +
>      <!-- pipeline mounting samples sitemaps -->
>      <map:pipeline>
>        <!-- mount everything else -->
>   
>   
>   
> 
> ----------------------------------------------------------------------
> In case of troubles, e-mail:     webmaster@xml.apache.org
> To unsubscribe, e-mail:          cocoon-cvs-unsubscribe@xml.apache.org
> For additional commands, e-mail: cocoon-cvs-help@xml.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message