cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Liam Morley" <lmor...@WPI.EDU>
Subject RE: Newbie: Problems with Sitemap
Date Tue, 02 Oct 2001 10:49:06 GMT
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:maeder@fh-brandenburg.de] 
Sent: Tuesday, October 02, 2001 3:23 AM
To: cocoon-users@xml.apache.org
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:maeder@fh-brandenburg.de]
Gesendet: Dienstag, 2. Oktober 2001 09:06
An: cocoon-users@xml.apache.org
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
maeder@fh-brandenburg.de | (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: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
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