Return-Path: Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 80615 invoked from network); 15 Nov 2000 14:04:31 -0000 Received: from unknown (HELO mail.antistatic.fr) (postfix@195.154.65.150) by locus.apache.org with SMTP; 15 Nov 2000 14:04:31 -0000 Received: from antistatic.fr (ANice-102-1-1-50.abo.wanadoo.fr [193.252.35.50]) by mail.antistatic.fr (Postfix) with ESMTP id 6FA214B2A1 for ; Wed, 15 Nov 2000 15:07:33 +0100 (CET) Message-ID: <3A1296F4.9090304@antistatic.fr> Date: Wed, 15 Nov 2000 15:00:20 +0100 From: Christophe Spada Reply-To: chrisml@antistatic.fr Organization: Antistatic User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.14-15mdk i686; en-US; m18) Gecko/20001010 X-Accept-Language: en MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Default media References: <20001115103853.29642.qmail@web2002.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Drasko Kokic wrote: > I guess I am missing something from the original > requirements ... but, why don't you simply: > > -create two host aliases pointing to the same machine > (IP) > -serve the content type based on clients browser type > Cause i want to give a wml output to an unknown client browser who ask for wap.mysite.com and i want to give an html output to an unknown client browser who ask for www.mysite.com For all the known agents, i have no problem to server good things cause i know the media. > Are you just trying to simplify your stylesheet > reference directive (getting rid of ... media=... > part) or there is something else you would like to > achive?! No, i just wap a wap default media for wap.mysite.com and a html default media for www.mysite.com. My stylesheets references don't change for that.