Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 87020 invoked by uid 500); 3 May 2003 15:38:49 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 87007 invoked from network); 3 May 2003 15:38:48 -0000 Received: from main.gmane.org (80.91.224.249) by daedalus.apache.org with SMTP; 3 May 2003 15:38:48 -0000 Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Bz4u-00017V-00 for ; Sat, 03 May 2003 17:37:32 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: cocoon-users@xml.apache.org Received: from news by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 19Bz4t-00017M-00 for ; Sat, 03 May 2003 17:37:31 +0200 From: Luca Morandini Subject: Re: Readable URLs Date: Sat, 03 May 2003 17:39:26 +0200 Lines: 35 Message-ID: References: <200305031601.38489.mb03a@gmx.net> Reply-To: lmorandini@ieee.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@main.gmane.org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: it, en-us, en, fr In-Reply-To: <200305031601.38489.mb03a@gmx.net> Sender: news X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Matthias Brunner wrote: > Hello, > > is there a way to make URLs more readable? > For example, instead of > "http://server/cocoon/db/speeches?id=32&release_id=232" I would like > to have something like > "http://server/cocoon/db/speeches_2003-04-07.pdf". This has the > advantage that the user is presented with a reasonable filename when > he tries to save the file locally. > > I could imagine that there are some sitemap directives to convert > portions of the filename to request parameters. Is this possible? > not in my knowledge. The good news is that, IMHO, you don't need them: converting URI portions to sitemap variables and passing them along your pipeline should be enough, something like: Regards, ------------------------------------------ Luca Morandini GIS Consultant lmorandini@ieee.org http://space.virgilio.it/kumora/index.html ------------------------------------------ --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org