If I remember correctly (correct me if I'm wrong), '**' matches any file
and any number of directories, meaning that using just :

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

would work, and that would match any flash video underneath the "yz/"
directory or any subdirectory. Somebody please tell me how I'm wrong (as
I'm pretty sure I must be).

If in the off-chance that I'm right, you'll want to use a single '*' in
place of the '**' if you wish them to be constricted to those two
directories (as opposed to any directory underneath 'yz').

Liam Morley

-----Original Message-----
From: Sebastian Mäder [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, October 02, 2001 3:23 AM
To: [EMAIL PROTECTED]
Subject: RE: Newbie: Problems with Sitemap

Hi.

Problem debugged. Sorry.

Seb.

PS: now it works:

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

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


-----Ursprüngliche Nachricht-----
Von: Sebastian Mäder [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 2. Oktober 2001 09:06
An: [EMAIL PROTECTED]
Betreff: Newbie: Problems with Sitemap


Hi Cocooner's.

I Have build a website like local:cocoon/xyz.

In the sitemap:

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

I can insert my flashfilm. Then I want to open the flashfilm a second
time.
And I insert this in the sitemap:

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

Now my Problem. Cocoon only open yz/flash.swf and cocoon don't open
yz/directory/flash.swf .. its the same File and I need this File on both
places.

What's the Problem ???

THX

Sebastian

--------------------------------------------------------------
Sebastian Mäder
Trainee uranum - GmbH | www.uranum.de
[EMAIL PROTECTED] | (49)171 42 82 021
--------------------------------------------------------------


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>


---------------------------------------------------------------------
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: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>

Reply via email to