pascalin / pycoon

Automatically exported from code.google.com/p/pycoon
GNU General Public License v2.0
0 stars 0 forks source link

Sitemap mounting via <map:mount> #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sitemap mounting is an important feature of Apache Cocoon. It allows the
creation of modular webapps. Practically, I need to split my rather large
siemap.xmap into several sub-sitemaps, e. g. separate sitemaps for the site
API, debugging, etc.

Original issue reported on code.google.com by anrien...@gmail.com on 13 Dec 2006 at 7:00

GoogleCodeExporter commented 9 years ago
Implemented the <map:mount> element. The check-reload attribute is ignored.
Sub-sitemap modification is checked automatically. Only implicit file URI 
scheme was
checked within src attribute.

Here is a basic sample:

<map:pipeline>
  <map:match pattern="api/beta/**">
    <map:mount src="api/" uri-prefix="api/beta"/>
  </map:match>
</map:pipeline>

See Apache Cocoon sitemap documentation
<http://cocoon.apache.org/2.1/userdocs/concepts/sitemap.html>.

Original comment by anrien...@gmail.com on 13 Dec 2006 at 7:07

GoogleCodeExporter commented 9 years ago

Original comment by anrien...@gmail.com on 26 Feb 2007 at 6:30