| <?xml version="1.0"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <!-- $Id$ --> |
| |
| <map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0"> |
| <map:components/> |
| |
| <map:pipelines> |
| <map:pipeline> |
| |
| <!-- Lenya Publications --> |
| |
| <!-- matches pub-id/area/**.css --> |
| <map:match pattern="*/*/**.css"> |
| <map:act type="resource-exists" src="pubs/{1}/resources/shared/{3}.xml"> |
| <map:generate src="pubs/{../1}/resources/shared/{../3}.xml"/> |
| <map:transform src="resources/css/css.xsl"> |
| <map:parameter name="contextprefix" value="{request:contextPath}"/> |
| </map:transform> |
| <map:serialize type="text" mime-type="text/css"/> |
| </map:act> |
| <map:read src="pubs/{1}/resources/shared/{3}.css" mime-type="text/css" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.js --> |
| <map:match pattern="*/*/**.js"> |
| <map:read src="pubs/{1}/resources/shared/{3}.js" mime-type="application/x-javascript" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.jpg --> |
| <map:match pattern="*/*/**.jpg"> |
| <map:read src="pubs/{1}/resources/shared/{3}.jpg" mime-type="image/jpeg" /> |
| </map:match> |
| <map:match pattern="*/*/**.JPG"> |
| <map:read src="pubs/{1}/resources/shared/{3}.JPG" mime-type="image/jpeg" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.gif --> |
| <map:match pattern="*/*/**.gif"> |
| <map:read src="pubs/{1}/resources/shared/{3}.gif" mime-type="image/gif" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.png --> |
| <map:match pattern="*/*/**.png"> |
| <map:read src="pubs/{1}/resources/shared/{3}.png" mime-type="image/png" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.tar.gz --> |
| <map:match pattern="*/*/**.tar.gz"> |
| <map:read src="pubs/{1}/resources/shared/{3}.tar.gz" mime-type="application/x-gtar" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.pdf --> |
| <map:match pattern="*/*/**.pdf"> |
| <map:read src="pubs/{1}/resources/shared/{3}.pdf" mime-type="application/pdf"> |
| <!-- TODO: http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=112496255207733&w=2 --> |
| <map:parameter name="byte-ranges" value="false"/> |
| </map:read> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.doc --> |
| <map:match pattern="*/*/**.doc"> |
| <map:read src="pubs/{1}/resources/shared/{3}.doc" mime-type="application/msword" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.dot --> |
| <map:match pattern="*/*/**.dot"> |
| <map:read src="pubs/{1}/resources/shared/{3}.dot" mime-type="application/msword" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.rtf --> |
| <map:match pattern="*/*/**.rtf"> |
| <map:read src="pubs/{1}/resources/shared/{3}.rtf" mime-type="application/rtf" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.txt --> |
| <map:match pattern="*/*/**.txt"> |
| <map:read src="pubs/{1}/resources/shared/{3}.txt" mime-type="text/plain" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.asc --> |
| <map:match pattern="*/*/**.asc"> |
| <map:read src="pubs/{1}/resources/shared/{3}.asc" mime-type="text/plain" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.ascii --> |
| <map:match pattern="*/*/**.ascii"> |
| <map:read src="pubs/{1}/resources/shared/{3}.ascii" mime-type="text/plain" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.xls --> |
| <map:match pattern="*/*/**.xls"> |
| <map:read src="pubs/{1}/resources/shared/{3}.xls" mime-type="application/vnd.ms-excel" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.xlt --> |
| <map:match pattern="*/*/**.xlt"> |
| <map:read src="pubs/{1}/resources/shared/{3}.xlt" mime-type="application/vnd.ms-excel" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.ppt --> |
| <map:match pattern="*/*/**.ppt"> |
| <map:read src="pubs/{1}/resources/shared/{3}.ppt" mime-type="application/vnd.ms-powerpoint" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.pot --> |
| <map:match pattern="*/*/**.pot"> |
| <map:read src="pubs/{1}/resources/shared/{3}.pot" mime-type="application/vnd.ms-powerpoint" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.swf --> |
| <map:match pattern="*/*/**.swf"> |
| <map:read src="pubs/{1}/resources/shared/{3}.swf" mime-type="application/x-shockwave-flash" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.tif --> |
| <map:match pattern="*/*/**.tif"> |
| <map:read src="pubs/{1}/resources/shared/{3}.tif" mime-type="image/tiff" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.eps --> |
| <map:match pattern="*/*/**.eps"> |
| <map:read src="pubs/{1}/resources/shared/{3}.eps" mime-type="application/postscript" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.pct --> |
| <map:match pattern="*/*/**.pct"> |
| <map:read src="pubs/{1}/resources/shared/{3}.pct" mime-type="application/x-ms-word" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.m3u --> |
| <map:match pattern="*/*/**.m3u"> |
| <map:read src="pubs/{1}/resources/shared/{3}.m3u" mime-type="application/x-mpegurl" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.kar --> |
| <map:match pattern="*/*/**.kar"> |
| <map:read src="pubs/{1}/resources/shared/{3}.kar" mime-type="audio/midi" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.mid --> |
| <map:match pattern="*/*/**.mid"> |
| <map:read src="pubs/{1}/resources/shared/{3}.mid" mime-type="audio/midi" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.smf --> |
| <map:match pattern="*/*/**.smf"> |
| <map:read src="pubs/{1}/resources/shared/{3}.smf" mime-type="application/vnd.stardivision.math" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.mp3 --> |
| <map:match pattern="*/*/**.mp3"> |
| <map:read src="pubs/{1}/resources/shared/{3}.mp3" mime-type="audio/mpeg" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.swa --> |
| <map:match pattern="*/*/**.swa"> |
| <map:read src="pubs/{1}/resources/shared/{3}.swa" mime-type="audio/x-swa" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.mpg --> |
| <map:match pattern="*/*/**.mpg"> |
| <map:read src="pubs/{1}/resources/shared/{3}.mpg" mime-type="video/mpeg" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.mpv --> |
| <map:match pattern="*/*/**.mpv"> |
| <map:read src="pubs/{1}/resources/shared/{3}.mpv" mime-type="video/mpeg" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.mp4 --> |
| <map:match pattern="*/*/**.mp4"> |
| <map:read src="pubs/{1}/resources/shared/{3}.mp4" mime-type="video/mpeg" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.mov --> |
| <map:match pattern="*/*/**.mov"> |
| <map:read src="pubs/{1}/resources/shared/{3}.mov" mime-type="video/quicktime" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.bin --> |
| <map:match pattern="*/*/**.bin"> |
| <map:read src="pubs/{1}/resources/shared/{3}.bin" mime-type="application/mac-binhex40" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.sea --> |
| <map:match pattern="*/*/**.sea"> |
| <map:read src="pubs/{1}/resources/shared/{3}.sea" mime-type="application/sea" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.hqx --> |
| <map:match pattern="*/*/**.hqx"> |
| <map:read src="pubs/{1}/resources/shared/{3}.hqx" mime-type="application/mac-binhex40" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.sit --> |
| <map:match pattern="*/*/**.sit"> |
| <map:read src="pubs/{1}/resources/shared/{3}.sit" mime-type="application/x-stuffit" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.zip --> |
| <map:match pattern="*/*/**.zip"> |
| <map:read src="pubs/{1}/resources/shared/{3}.zip" mime-type="application/zip" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.jmx --> |
| <map:match pattern="*/*/**.jmx"> |
| <map:read src="pubs/{1}/resources/shared/{3}.jmx" mime-type="application/x-ms-word" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.jcl --> |
| <map:match pattern="*/*/**.jcl"> |
| <map:read src="pubs/{1}/resources/shared/{3}.jcl" mime-type="application/x-ms-word" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.qz --> |
| <map:match pattern="*/*/**.qz"> |
| <map:read src="pubs/{1}/resources/shared/{3}.qz" mime-type="application/x-ms-word" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.jbc --> |
| <map:match pattern="*/*/**.jbc"> |
| <map:read src="pubs/{1}/resources/shared/{3}.jbc" mime-type="application/x-ms-word" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.jmt --> |
| <map:match pattern="*/*/**.jmt"> |
| <map:read src="pubs/{1}/resources/shared/{3}.jmt" mime-type="application/x-ms-word" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**.cfg --> |
| <map:match pattern="*/*/**.cfg"> |
| <map:read src="pubs/{1}/resources/shared/{3}.cfg" mime-type="application/x-ms-word" /> |
| </map:match> |
| |
| <!-- matches pub-id/area/**favicon.ico --> |
| <map:match pattern="*/*/**favicon.ico"> |
| <map:read src="pubs/{1}/resources/shared/favicon.ico" mime-type="application/ico"/> |
| </map:match> |
| |
| </map:pipeline> |
| </map:pipelines> |
| </map:sitemap> |