Jean-Claude Moissinac wrote:
So, is there a simple way to know the directory of a sitemap?
There is, see http://wiki.apache.org/cocoon/SitemapPathModule?action=show
Regards, Nico Verwer
-
To unsubscribe, e-mail: [EMAIL
I have some sitemaps monted with the root mont-table.xml
I have the following line in the mount-table
mount uri-prefix=ccajax/ src="">
The ccajax directory has a data subdirectory.
When I use
{realpath:/ccajax/data}I get
C:\Documents\cocoon-2.1.8\build\webapp\ccajax\data
which is false; the
Jean-Claude Moissinac wrote:
I have some sitemaps monted with the root mont-table.xml
I have the following line in the mount-table
mount uri-prefix=ccajax/ src=../../../CocoonSites/ccajax//
The ccajax directory has a data subdirectory.
When I use
{realpath:/ccajax/data}
I get
So, is there a simple way to know the directory of a sitemap?
Or, in my case, to create a directory in the directory of the current sitemap?
On 11/22/05, Sylvain Wallez [EMAIL PROTECTED] wrote:
Jean-Claude Moissinac wrote: I have some sitemaps monted with the root mont-table.xml I have the
The documentation for the RealPathModule says:
RealPathModule provides a real filesystem path for a virtual context-relative
path.
So,
{realpath:/ccajax/data}
must give a real filesystem path the virtual context-relative /ccajax/data path
Giving the virtual path on a mounted sitemap, the real
Jean-Claude Moissinac wrote:
The documentation for the RealPathModule says:
RealPathModule provides a real filesystem path for a virtual
context-relative path.
So,
{realpath:/ccajax/data}
must give a real filesystem path the virtual context-relative
/ccajax/data path
Giving the virtual path