You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by Apache Wiki <wi...@apache.org> on 2005/06/08 21:56:52 UTC
[Cocoon Wiki] Update of "InputModules" by JosephPecore
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 =