blob: ab029291e0c42464896651865397b946757ed55e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
|
<?xml version="1.0"?>
<map:sitemap xmlns:map="http://apache.org/cocoon/sitemap/1.0">
<!-- =========================== Components ================================ -->
<map:components>
<map:generators default="file">
<map:generator name="file" src="org.apache.cocoon.generation.FileGenerator" label="content"/>
<map:generator name="directory" src="org.apache.cocoon.generation.DirectoryGenerator" label="content"/>
<map:generator name="html" src="org.apache.cocoon.generation.HTMLGenerator" label="content"/>
<map:generator name="libre" src="org.apache.forrest.yer.use.cocoon.HierarchyGenerator" label="content"/>
<map:generator name="nekodtd" src="org.apache.forrest.components.generator.XNIConfigurableFileGenerator" label="content"/>
<!-- FIXME: Change this once better view handling is implemented -->
<map:generator name="file-nolabel" src="org.apache.cocoon.generation.FileGenerator"/>
</map:generators>
<map:transformers default="xslt">
<!--
<map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer">
<use-request-parameters>false</use-request-parameters>
<use-browser-capabilities-db>false</use-browser-capabilities-db>
</map:transformer>
-->
<map:transformer name="xslt" src="org.apache.cocoon.transformation.TraxTransformer"
logger="sitemap.transformer.xsltc"
pool-max="32" pool-min="8" pool-grow="2">
<use-request-parameters>false</use-request-parameters>
<use-browser-capabilities-db>false</use-browser-capabilities-db>
<use-deli>false</use-deli>
<!-- transformer-factory>com.icl.saxon.TransformerFactoryImpl</transformer-factory -->
<!-- transformer-factory>org.apache.xalan.xsltc.trax.TransformerFactoryImpl</transformer-factory -->
</map:transformer>
</map:transformers>
<map:readers default="resource">
<map:reader name="resource" src="org.apache.cocoon.reading.ResourceReader"/>
</map:readers>
<map:serializers default="html">
<map:serializer name="html" mime-type="text/html" src="org.apache.cocoon.serialization.HTMLSerializer">
<doctype-public>-//W3C//DTD HTML 4.01 Transitional//EN</doctype-public>
<encoding>ISO-8859-1</encoding>
</map:serializer>
<map:serializer name="xml" mime-type="text/xml" src="org.apache.cocoon.serialization.XMLSerializer">
<encoding>ISO-8859-1</encoding>
</map:serializer>
<map:serializer name="fo2pdf"
src="org.apache.cocoon.serialization.FOPSerializer"
mime-type="application/pdf"/>
<map:serializer name="links" src="org.apache.cocoon.serialization.LinkSerializer">
<encoding>ISO-8859-1</encoding>
</map:serializer>
<map:serializer name="svg2jpeg" mime-type="image/jpeg" src="org.apache.cocoon.serialization.SVGSerializer">
<parameter name="quality" type="float" value="1.0"/>
</map:serializer>
<map:serializer name="svg2png" mime-type="image/png" src="org.apache.cocoon.serialization.SVGSerializer"/>
<!-- ========================== FOP Additions ========================== -->
<map:serializer name="svg2pdf" mime-type="application/pdf" src="org.apache.cocoon.serialization.SVGSerializer">
<parameter name="transcoder"
value="org.apache.fop.svg.PDFTranscoder"/>
</map:serializer>
<!-- ======================= End FOP Additions ======================== -->
</map:serializers>
<map:matchers default="wildcard">
<map:matcher name="wildcard" src="org.apache.cocoon.matching.WildcardURIMatcher"/>
</map:matchers>
<!--
<map:selectors default="skin-parameter">
<map:selector name="request-parameter" logger="sitemap.selector.request-parameter"
src="org.apache.cocoon.selection.RequestParameterSelector">
<parameter-name>skin</parameter-name>
</map:selector>
<map:selector name="style-parameter" logger="sitemap.selector.request-parameter"
src="org.apache.cocoon.selection.RequestParameterSelector">
<parameter-name>style</parameter-name>
</map:selector>
</map:selectors>
-->
<map:actions>
<!-- <map:action logger="sitemap.action.request" name="request" src="org.apache.cocoon.acting.RequestParamAction"/> -->
<map:action logger="sitemap.action.resource-exists" name="resource-exists" src="org.apache.cocoon.acting.ResourceExistsAction"/>
</map:actions>
<!--
The different pipeline implementations
-->
<map:pipelines default="caching">
<map:pipeline name="caching" src="org.apache.cocoon.components.pipeline.impl.CachingProcessingPipeline"/>
<map:pipeline name="noncaching" src="org.apache.cocoon.components.pipeline.impl.NonCachingProcessingPipeline"/>
<!-- The following two can be used for profiling:
<map:pipeline name="profile-caching" src="org.apache.cocoon.components.profiler.ProfilingCachingProcessingPipeline"/>
<map:pipeline name="profile-noncaching" src="org.apache.cocoon.components.profiler.ProfilingNonCachingProcessingPipeline"/>
-->
</map:pipelines>
</map:components>
<!-- =========================== Views =================================== -->
<map:views>
<map:view name="content" from-label="content">
<map:serialize type="xml"/>
</map:view>
<map:view name="links" from-position="last">
<map:transform src="library/xslt/filterlinks.xsl"/>
<map:serialize type="links"/>
</map:view>
</map:views>
<map:resources>
<map:resource name="skinit">
<map:transform src="skins/{defaults:skin}/xslt/html/{type}.xsl">
<map:parameter name="isfaq" value="{isfaq}"/>
<map:parameter name="nopdf" value="{nopdf}"/>
<map:parameter name="path" value="{path}"/>
<!-- Can set an alternative project skinconfig here
<map:parameter name="config-file" value="../../../../skinconf.xml"/>
-->
</map:transform>
<map:serialize/>
</map:resource>
<map:resource name="book">
<map:generate src="content/xdocs/{../1}book.xml"/>
<map:call resource="skinit">
<map:parameter name="type" value="book2menu"/>
<map:parameter name="path" value="{path}"/>
</map:call>
</map:resource>
<map:resource name="skin-read">
<map:read src="skins/{defaults:skin}/{path}" mime-type="{mime-type}"/>
</map:resource>
</map:resources>
<!-- =========================== Pipelines ================================= -->
<map:pipelines>
<!-- Pipeline that manages the internal URI space
For the external URI space manager, see the next pipeline. -->
<map:pipeline internal-only="true">
<map:match pattern="**tab-**.xml">
<map:generate src="content/xdocs/tabs.xml"/>
<map:call resource="skinit">
<map:parameter name="type" value="tab2menu"/>
<map:parameter name="path" value="{2}.html"/>
</map:call>
</map:match>
<map:match pattern="**book-**/*.xml">
<map:call resource="book">
<map:parameter name="path" value="{2}/{3}"/>
</map:call>
</map:match>
<map:match pattern="**book-**.xml">
<map:call resource="book">
<map:parameter name="path" value="{2}"/>
</map:call>
</map:match>
<map:match pattern="body-todo.xml">
<map:generate type="file-nolabel" src="status.xml"/>
<map:transform src="library/xslt/todo2document.xsl" label="content"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="/todo.xml"/>
</map:call>
</map:match>
<map:match pattern="body-changes.xml">
<map:generate type="file-nolabel" src="status.xml"/>
<map:transform src="library/xslt/changes2document.xsl" label="content"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="/changes"/>
</map:call>
</map:match>
<map:match pattern="body-**/faq.xml">
<map:generate type="file-nolabel" src="content/xdocs/{1}/faq.xml"/>
<map:transform src="library/xslt/faq2document.xsl" label="content"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="{1}/faq"/>
<map:parameter name="isfaq" value="true"/>
</map:call>
</map:match>
<map:match pattern="body-faq.xml">
<map:generate type="file-nolabel" src="content/xdocs/faq.xml"/>
<map:transform src="library/xslt/faq2document.xsl" label="content"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="faq"/>
<map:parameter name="isfaq" value="true"/>
</map:call>
</map:match>
<!-- ========================== FOP Additions ========================== -->
<map:match pattern="body-compliance.xml">
<map:generate type="file-nolabel" src="content/xdocs/compliance.xml"/>
<map:transform src="resources/stylesheets/compliance2document.xsl" label="content"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="compliance"/>
</map:call>
</map:match>
<!-- ======================== End FOP Additions ======================== -->
<!-- Redirect requests for community/ (eg in the trail) to the home page -->
<map:match pattern="community/index.html">
<map:redirect-to uri="../index.html"/>
</map:match>
<!-- index pages for contribution categories -->
<map:match pattern="body-community/*/index.xml">
<map:generate src="content/xdocs/community/{1}/index.xml"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="community/{1}/index"/>
</map:call>
</map:match>
<!-- no special transformation, yet, for revision pages -->
<map:match pattern="body-community**revision-*.xml">
<map:generate src="content/xdocs/community{1}revision-{2}.xml"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="community/{1}/revision-{2}"/>
</map:call>
</map:match>
<!-- all contribution docs -->
<map:match pattern="body-community/*/*/**.xml">
<map:aggregate element="all" >
<map:part src="content/xdocs/community/{1}/{2}/{3}.xml"/>
<map:part src="cocoon:/revisions-community/{1}/{2}/{3}" />
</map:aggregate>
<map:transform src="library/xslt/{1}2document.xsl" label="content"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="community/{1}/{2}/{3}"/>
</map:call>
</map:match>
<!-- revisions only implemented for community pages -->
<map:match pattern="revisions-community/*/*/**">
<map:generate type="directory" src="content/xdocs/community/{1}/{2}">
<map:parameter name="dateFormat" value="yyyy-MM-dd hh:mm" />
</map:generate>
<map:transform src="library/xslt/directory2revisions.xsl" label="content" >
<map:parameter name="use-request-parameters" value="true"/>
<map:parameter name="page" value="{3}"/>
</map:transform>
<map:serialize type="xml" />
</map:match>
<!-- Any other howto directories get transformed, without revisions -->
<map:match pattern="body-**howto/*.xml">
<map:generate src="content/xdocs/{1}howto/{2}.xml"/>
<map:transform src="library/xslt/howto2document.xsl" label="content"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="{1}howto/{2}"/>
</map:call>
</map:match>
<!-- Generate the "doclist" - list of all documentation
The first match generates each book.xml and adds a new attribute "uri".
The second match aggregates each book.xml into a doclist and
then converts it to a document.
-->
<map:match pattern="doclist/content/xdocs/**book.xml">
<map:generate src="content/xdocs/{1}book.xml"/>
<map:transform src="library/xslt/doclist.xsl">
<map:parameter name="uri" value="{1}"/>
</map:transform>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="body-doclist.xml">
<map:aggregate element="doclist">
<map:part src="cocoon:/doclist/content/xdocs/book.xml"/>
<map:part src="cocoon:/doclist/content/xdocs/community/howto/book.xml"/>
</map:aggregate>
<map:transform src="library/xslt/doclist2document.xsl"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="doclist"/>
<map:parameter name="nopdf" value="true"/>
</map:call>
</map:match>
<!-- HTML DTD Documentation generation pipeline, makes use of NekoDTD tool -->
<map:match pattern="body-**.dtdx.xml">
<map:generate type="nekodtd" src="resources/schema/dtd/{1}.dtd">
<map:parameter name="config-class" value="org.cyberneko.dtd.DTDConfiguration" />
</map:generate>
<map:transform src="library/xslt/dtdx2flat.xsl"/>
<map:transform src="library/xslt/flat2document.xsl"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="isfaq" value="true"/>
<map:parameter name="path" value="{1}.dtdx.html"/>
</map:call>
</map:match>
<!-- Generates body HTML for files in subdirs -->
<map:match pattern="body-**/*.xml">
<map:generate src="content/xdocs/{1}/{2}.xml"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="{1}/{2}"/>
</map:call>
</map:match>
<!-- Generates body HTML for root-level files -->
<map:match pattern="body-**.xml">
<map:generate src="content/xdocs/{1}.xml"/>
<map:call resource="skinit">
<map:parameter name="type" value="document2html"/>
<map:parameter name="path" value="{1}"/>
</map:call>
</map:match>
</map:pipeline>
<map:pipeline internal-only="false">
<!-- ========================== FOP Additions ========================== -->
<map:match pattern="*/svg/*.svg">
<map:read src="content/xdocs/{1}/svg/{2}.svg" mime-type="image/svg"/>
</map:match>
<map:match pattern="*/svg/*.png">
<map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
<map:serialize type="svg2png"/>
</map:match>
<map:match pattern="*/svg/*.pdf">
<map:generate src="content/xdocs/{1}/svg/{2}.svg"/>
<map:serialize type="svg2pdf"/>
</map:match>
<map:match pattern="fo/*.fo">
<map:read src="content/xdocs/fo/{1}.fo" mime-type="text/xml"/>
</map:match>
<map:match pattern="fo/*.fo.pdf">
<map:generate src="content/xdocs/fo/{1}.fo"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="**/fo/*.fo">
<map:read src="content/xdocs/{1}/fo/{2}.fo" mime-type="text/xml"/>
</map:match>
<map:match pattern="**/fo/*.fo.pdf">
<map:generate src="content/xdocs/{1}/fo/{2}.fo"/>
<map:serialize type="fo2pdf"/>
</map:match>
<!-- ======================= End FOP Additions ======================== -->
<map:match pattern="">
<map:redirect-to uri="/{context:context}/index.html"/>
</map:match>
<map:match pattern="**">
<!-- if the file is present verbatim as content, give that to the user... -->
<map:act type="resource-exists">
<map:parameter name="url" value="content/{1}"/>
<map:read src="content/{../1}"/>
</map:act>
<!-- ... otherwise try to generate it using these rules. -->
<map:match pattern="apachestats">
<map:generate type="html"
src="http://www.apache.org/~rubys/stats/xml.apache.org/">
<map:parameter name="xpath"
value="/html/body//a[contains(@href,'.xml')]"/>
</map:generate>
<map:serialize type="xml"/>
</map:match>
<map:match pattern="*.html">
<map:aggregate element="site">
<map:part src="cocoon:/book-{1}.xml"/>
<map:part src="cocoon:/tab-{1}.xml"/>
<map:part src="cocoon:/body-{1}.xml" label="content"/>
</map:aggregate>
<map:call resource="skinit">
<map:parameter name="type" value="site2xhtml"/>
<map:parameter name="path" value="{1}"/>
</map:call>
</map:match>
<map:match pattern="**/*.html">
<map:aggregate element="site">
<map:part src="cocoon:/{1}/book-{1}/{2}.xml"/>
<map:part src="cocoon:/{1}/tab-{1}/{2}.xml"/>
<map:part src="cocoon:/body-{1}/{2}.xml" label="content"/>
</map:aggregate>
<map:call resource="skinit">
<map:parameter name="type" value="site2xhtml"/>
<map:parameter name="path" value="{1}/{2}"/>
</map:call>
</map:match>
<map:match pattern="*.dtdx.pdf">
<map:generate type="nekodtd" src="resources/schema/dtd/{1}.dtd">
<map:parameter name="config-class" value="org.cyberneko.dtd.DTDConfiguration" />
</map:generate>
<map:transform src="library/xslt/dtdx2flat.xsl"/>
<map:transform src="library/xslt/flat2document.xsl"/>
<map:transform src="skins/{defaults:skin}/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="**/*.dtdx.pdf">
<map:generate type="nekodtd" src="resources/schema/dtd/{2}.dtd">
<map:parameter name="config-class" value="org.cyberneko.dtd.DTDConfiguration" />
</map:generate>
<map:transform src="library/xslt/dtdx2flat.xsl"/>
<map:transform src="library/xslt/flat2document.xsl"/>
<map:transform src="skins/{defaults:skin}/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="changes.pdf">
<map:generate type="file-nolabel" src="status.xml"/>
<map:transform src="library/xslt/changes2document.xsl" label="content"/>
<map:transform src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="todo.pdf">
<map:generate type="file-nolabel" src="status.xml"/>
<map:transform src="library/xslt/todo2document.xsl" label="content"/>
<map:transform src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="faq.pdf">
<map:generate type="file-nolabel" src="content/xdocs/faq.xml"/>
<map:transform src="library/xslt/faq2document.xsl" label="content"/>
<map:transform src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<!-- ========================= FOP Additions ========================== -->
<map:match pattern="**/faq.pdf">
<map:generate type="file-nolabel" src="content/xdocs/{1}/faq.xml"/>
<map:transform src="library/xslt/faq2document.xsl" label="content"/>
<map:transform src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="compliance.pdf">
<map:generate type="file-nolabel" src="content/xdocs/compliance.xml"/>
<map:transform src="resources/stylesheets/compliance2document.xsl" label="content"/>
<map:transform src="skins/forrest-site/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<!-- ======================= End FOP Additions ======================== -->
<map:match pattern="community/howto/**.pdf">
<map:generate src="content/xdocs/community/howto/{1}.xml"/>
<map:transform src="library/xslt/howto2document.xsl" label="content"/>
<map:transform src="skins/{defaults:skin}/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<map:match pattern="**.pdf">
<map:generate src="content/xdocs/{1}.xml"/>
<map:transform src="skins/{defaults:skin}/xslt/fo/document2fo.xsl"/>
<map:serialize type="fo2pdf"/>
</map:match>
<!-- ================ Directory redirects =========================== -->
<!-- Redirect any request for a directory to the directory's index.html file -->
<map:match pattern="**/">
<map:redirect-to uri="{context:context}/{1}/index.html"/>
</map:match>
<!-- ================ Libre =========================== -->
<map:match pattern="libre">
<map:generate type="libre" src="content/xdocs" >
<map:parameter name="depth" value="-1" />
</map:generate>
<map:serialize type="xml"/>
</map:match>
<!-- ================ Static =========================== -->
<map:match pattern="skin/**.js">
<map:call resource="skin-read">
<map:parameter name="path" value="scripts/{1}.js"/>
<map:parameter name="mime-type" value="application/javascript"/>
</map:call>
</map:match>
<map:match pattern="**/skin/**.js">
<map:call resource="skin-read">
<map:parameter name="path" value="scripts/{2}.js"/>
<map:parameter name="mime-type" value="application/javascript"/>
</map:call>
</map:match>
<map:match pattern="**.js">
<map:read src="resources/scripts/{1}.js" mime-type="application/javascript"/>
</map:match>
<map:match pattern="skin/**.css">
<map:call resource="skin-read">
<map:parameter name="path" value="css/{1}.css"/>
<map:parameter name="mime-type" value="text/css"/>
</map:call>
</map:match>
<map:match pattern="**/skin/**.css">
<map:call resource="skin-read">
<map:parameter name="path" value="css/{2}.css"/>
<map:parameter name="mime-type" value="text/css"/>
</map:call>
</map:match>
<map:match pattern="**.css">
<map:read src="resources/css/{1}.css" mime-type="text/css"/>
</map:match>
<map:match pattern="skin/images/**.*">
<map:call resource="skin-read">
<map:parameter name="path" value="images/{1}.{2}"/>
<map:parameter name="mime-type" value="image/{2}"/>
</map:call>
</map:match>
<!-- WARNING: You are strongly advised not to make use of this target, as it
leads to browsers having to cache multiple copies of the images, one per
directory. See the forrest-site skin XSLTs for an example of how to make
all image references use the 'skin/images/**.*' rule above -->
<map:match pattern="**/skin/images/**.*">
<map:call resource="skin-read">
<map:parameter name="path" value="images/{2}.{3}"/>
<map:parameter name="mime-type" value="image/{3}"/>
</map:call>
</map:match>
<!-- DS: handles images local to a contributor directory -->
<map:match pattern="**my-images/**.*">
<map:read src="content/xdocs/{1}my-images/{2}.{3}" mime-type="image/{3}"/>
</map:match>
<map:match pattern="images/**.*">
<map:read src="resources/images/{1}.{2}" mime-type="image/{2}"/>
</map:match>
<!-- WARNING: See above: this target should not be made use of -->
<map:match pattern="**/images/**.*">
<map:read src="resources/images/{2}.{3}" mime-type="image/{3}"/>
</map:match>
<map:match pattern="**favicon.ico">
<map:call resource="skin-read">
<map:parameter name="path" value="images/favicon.ico"/>
<map:parameter name="mime-type" value="image/x-ico"/>
</map:call>
</map:match>
</map:match>
</map:pipeline>
</map:pipelines>
</map:sitemap>
|