cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simeon Walker <sim...@sbs.bangor.ac.uk>
Subject [C2] sitemap directory generator entry
Date Fri, 19 Jan 2001 19:13:29 GMT
Hi,
   experimenting with the directory generator in C2 I found that
the current sitemap entry doesn't really work. Changing the match
pattern to **/ at least allows otherwise unhandled directories to
be browsed and the resulting links to files to be correct. It's
trivial but since it's the first time I've used cvs diff, here
it is.

Sim

Index: webapp/sitemap.xmap
===================================================================
RCS file: /home/cvspublic/xml-cocoon/webapp/Attic/sitemap.xmap,v
retrieving revision 1.1.2.36
diff -u -r1.1.2.36 sitemap.xmap
--- webapp/sitemap.xmap	2001/01/17 22:15:12	1.1.2.36
+++ webapp/sitemap.xmap	2001/01/19 19:08:00
@@ -312,7 +312,7 @@
     <map:read src="resources/images/{1}.png" mime-type="image/png"/>
    </map:match>
 
-   <map:match pattern="*">
+   <map:match pattern="**/">
     <map:generate type="directory" src="{1}"/>
     <map:transform src="stylesheets/system/directory2html.xsl"/>
     <map:serialize/>

-- 
Simeon Walker,                      email: simeon@sbs.bangor.ac.uk
School of Biological Sciences,      phone: +44 (0)1248 383702
University of Wales, Bangor,        fax: +44 (0)1248 382569
Gwynedd, LL57 2UW, UK.              www: http://biology.bangor.ac.uk/

Mime
View raw message