cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörg Heinicke <joerg.heini...@gmx.de>
Subject Re: Newbie: Problems with Sitemap
Date Tue, 02 Oct 2001 12:42:46 GMT
> <map:match pattern="yz/**.swf">
>    <map:read src="yz/flash/{1}.swf"
> mime-type="application/futuresplash"/>
> </map:match>

Something like this will work, but your {1} contains the matched directories
plus the filename.

Change it to

<map:match pattern="yz/**/*.swf">
    <map:read src="yz/flash/{2}.swf" mime-type="application/futuresplash"/>
</map:match>

Joerg



---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message