cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Cocoon Wiki] Update of "InputModules" by JosephPecore
Date Wed, 08 Jun 2005 19:56:52 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Cocoon Wiki" for change notification.

The following page has been changed by JosephPecore:
http://wiki.apache.org/cocoon/InputModules

------------------------------------------------------------------------------
   *  [http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html Java Date Format]
  
  '''Note:''' 'format' attribute doesn't seem to work. Nested {{{<format/>}}} tags work
fine.
+ 
+ Example of using date in a sitemap:
+ {{{
+         <!-- Get file based on the current date -->
+          <map:match pattern="current.html">
+             <map:generate src="content/{date:yyyy-mm}.xml"/>
+               ...
+ }}}
+ 
  
  ----
  = GlobalInputModule =

Mime
View raw message