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 5811 invoked from network); 3 Aug 2000 11:56:12 -0000 Received: from unknown (HELO wvs01.wireless-vision.de) (212.52.225.8) by locus.apache.org with SMTP; 3 Aug 2000 11:56:12 -0000 Received: by WVS01 with Internet Mail Service (5.5.2650.21) id ; Thu, 3 Aug 2000 13:58:09 +0200 Message-ID: <313DE864E1F5D311BA480050DA414F2C042C76@WVS01> From: Pavol Murin To: "'cocoon-users@xml.apache.org'" Subject: AW: HTML & WML from the same site? Date: Thu, 3 Aug 2000 13:58:08 +0200 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N I'm doing the same thing. I use the "media" attribute and it seems to = work OK. Don't worry about missing special attributes. I just use two possibilities: one without the media attribute (which converts to html) = and the second one with media=3D"wap".=20 Pavol Murin -----Urspr=FCngliche Nachricht----- Von: ernst.nusterer@eunet.at [mailto:ernst.nusterer@eunet.at] Gesendet: Donnerstag, 3. August 2000 12:59 An: cocoon-users@xml.apache.org Betreff: HTML & WML from the same site? Hello, I am working on a web site that should serve both HTML and WML = pages from the same URL and document root (I tried virtual named hosts in Apache, but the requestor does not always send the host name, so I did not work). Is there a way in Cocoon to make it distinguish between the kind of requests that are comming in, so that the initial page is sent either in WML or HTML? I tried it using the media=3D attribute, but I do not know what kind of browsers will be used to look at the site (especially new WAP handies, etc). Is there a better way to find out what requests come in? Or should I force the system to send the netscape & microsoft browsers the HTML version and the WML-page to all other browsers? Is there a danger that I miss a special configuration, eg of MS IE, and this user gets sent the WML-Version, which he can not read then? I run Cocoon 1.74 on apache 1.3.11 and Jserv on a linux box. Thanks a lot, Ernst --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-users-unsubscribe@xml.apache.org For additional commands, e-mail: cocoon-users-help@xml.apache.org