You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by vg...@apache.org on 2007/12/21 22:15:41 UTC
svn commit: r606319 -
/cocoon/trunk/blocks/cocoon-welcome/src/main/resources/COB-INF/sitemap.xmap
Author: vgritsenko
Date: Fri Dec 21 13:15:41 2007
New Revision: 606319
URL: http://svn.apache.org/viewvc?rev=606319&view=rev
Log:
remove resource matches, comments
Modified:
cocoon/trunk/blocks/cocoon-welcome/src/main/resources/COB-INF/sitemap.xmap
Modified: cocoon/trunk/blocks/cocoon-welcome/src/main/resources/COB-INF/sitemap.xmap
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-welcome/src/main/resources/COB-INF/sitemap.xmap?rev=606319&r1=606318&r2=606319&view=diff
==============================================================================
--- cocoon/trunk/blocks/cocoon-welcome/src/main/resources/COB-INF/sitemap.xmap (original)
+++ cocoon/trunk/blocks/cocoon-welcome/src/main/resources/COB-INF/sitemap.xmap Fri Dec 21 13:15:41 2007
@@ -129,7 +129,12 @@
<!-- main pipeline -->
<map:pipeline>
- <!-- welcome page -->
+ <!--
+ - Match current sitemap URI against specified pattern.
+ - Here we are using empty pattern, "". If URI matches
+ - (if it is empty), nested instructions are exectuted,
+ - thus assembling the welcome page.
+ -->
<map:match pattern="">
<!--+
@@ -177,31 +182,6 @@
| expanded into the src="" attribute of the reader, indicating
| what file it has to read.
+-->
-
- <!-- Images -->
- <map:match pattern="images/*.gif">
- <map:read src="resource/images/{1}.gif" mime-type="image/gif"/>
- </map:match>
-
- <map:match pattern="images/*.jpg">
- <map:read src="resource/images/{1}.jpg" mime-type="image/jpeg"/>
- </map:match>
-
- <!-- CSS stylesheets -->
- <map:match pattern="styles/*.css">
- <!-- Rewrite links to images to put correct servlet context of this application -->
- <map:read type="servletLinkRewriter" src="resource/styles/{1}.css" mime-type="text/css"/>
- </map:match>
-
- <!-- JavaScript scripts -->
- <map:match pattern="scripts/*.js">
- <map:read src="resource/scripts/{1}.js" mime-type="text/javascript"/>
- </map:match>
-
- <!-- Favicon -->
- <map:match pattern="**favicon.ico">
- <map:read mime-type="image/x-icon" src="resource/icons/cocoon.ico"/>
- </map:match>
<!--+
| Mount user directories.