Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B66F097C1 for ; Sat, 5 May 2012 16:48:21 +0000 (UTC) Received: (qmail 60293 invoked by uid 500); 5 May 2012 16:48:21 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 60165 invoked by uid 500); 5 May 2012 16:48:21 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 60157 invoked by uid 99); 5 May 2012 16:48:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 May 2012 16:48:21 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of kay.schenk@gmail.com designates 209.85.215.47 as permitted sender) Received: from [209.85.215.47] (HELO mail-lpp01m010-f47.google.com) (209.85.215.47) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 May 2012 16:48:16 +0000 Received: by lags15 with SMTP id s15so247347lag.6 for ; Sat, 05 May 2012 09:47:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=tk+pxo3Sd16q9bcZHy+fOugORI5+D1HpmyAIqhHtVNs=; b=lWl5vNQrUA8t4987wrUIm7B3oShUPPewU7hnYnnqB8dUG65iZi8K1c6E6d71kHY0Ra 6/8QhwqMJldjHVirXdZf/wSLxvBYwnEplBnVpdDqkaF0NKc+XhJhpysHpMQxBd/SEfSl ROxh+NR4ClJuwKr9Lhy7lvmPA+WqeYqIbU96GcF9+lJNQ8vj8F14M/KqSiTpRwzEZYkn Zre0XUMX3OWzv/NOXvfi2XockxKpaN+DYNZGLsdTihn0yNcgeTSrPwohkLR9granZ+2Q vcZ4LW9kiIuOEbxr+Byf2IG2vc2fyWcVhdpiLl5wZdn4mYp/97EKkVwft/8/S8pl9nCo z8fQ== MIME-Version: 1.0 Received: by 10.152.128.137 with SMTP id no9mr9382005lab.2.1336236474576; Sat, 05 May 2012 09:47:54 -0700 (PDT) Received: by 10.112.113.67 with HTTP; Sat, 5 May 2012 09:47:54 -0700 (PDT) In-Reply-To: <4FA52F2C.5070909@wtnet.de> References: <4F99DCEA.80608@gmail.com> <4F9B0213.5020304@apache.org> <4F9B1C21.60701@gmail.com> <4F9EDBCC.4060306@wtnet.de> <4F9F0250.2040106@gmail.com> <4F9F11D4.6080705@wtnet.de> <4F9F1CA8.1080302@t-online.de> <4F9FBEF1.70403@t-online.de> <4FA38A2D.2020801@googlemail.com> <4FA43A74.7030105@wtnet.de> <2BB9F9F7-1582-48AD-93F9-102A6624FF7B@comcast.net> <4FA48A82.2090901@wtnet.de> <4FA4FFC3.3060607@googlemail.com> <4FA52132.5060203@wtnet.de> <4FA52F2C.5070909@wtnet.de> Date: Sat, 5 May 2012 09:47:54 -0700 Message-ID: Subject: Re: [RELEASE] new DL test...needs review and comments, and probably correction From: Kay Schenk To: ooo-dev@incubator.apache.org Content-Type: multipart/alternative; boundary=f46d042d038c672db604bf4ccce6 X-Virus-Checked: Checked by ClamAV on apache.org --f46d042d038c672db604bf4ccce6 Content-Type: text/plain; charset=ISO-8859-1 On Sat, May 5, 2012 at 6:46 AM, Marcus (OOo) wrote: > Am 05/05/2012 02:55 PM, schrieb Claudio Filho: > > 2012/5/5 Marcus (OOo): >> >>> The platform seems not recognized. Please post what you get from this >>> webpage: >>> >> >> My results. >> >> Claudio >> >> >> ----- Chromium 18.0.1025.168~r134367-1 ----- >> navigator.platform: Linux i686 >> navigator.UserAgent: Mozilla/5.0 (X11; Linux x86_64) >> AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1025.168 >> Safari/535.19 >> navigator.UserAgent lower case: mozilla/5.0 (x11; linux x86_64) >> applewebkit/535.19 (khtml, like gecko) chrome/18.0.1025.168 >> safari/535.19 >> navigator.UserAgent lower case: -1 >> getLink(): undefined >> getPlatform(): Linux >> getLanguage(): Portuguese (Brazilian) >> >> >> window.location.href http://www.openoffice.org/** >> download/test/analyze.html >> navigator.platform Linux i686 >> navigator.platform.**toLowerCase() linux i686 >> navigator.userAgent Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.19 >> (KHTML, like Gecko) Chrome/18.0.1025.168 Safari/535.19 >> navigator.userAgent.**toLowerCase() mozilla/5.0 (x11; linux x86_64) >> applewebkit/535.19 (khtml, like gecko) chrome/18.0.1025.168 >> safari/535.19 >> navigator.language pt-BR >> navigator.userLanguage undefined >> navigator.systemLanguage undefined >> navigator.javaEnabled() Yes >> > > Chrome is available for rpm- and deb-based Linux. Unfortunately, the > "navigator.userAgent" doesn't show an indicator to split into rpm or deb, > so it defaults to rpm. Maybe we are at the limit to recognize and provide > the correct URL for download. > > If you - or someone else - knows about how to recognize Chrome browser on > rpm and deb Linux, please tell us. > > > ----- Iceweasel (FFox) 10.0.4esr-2 ------ >> navigator.platform: Linux x86_64 >> navigator.UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) >> Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4 >> navigator.UserAgent lower case: mozilla/5.0 (x11; linux x86_64; >> rv:10.0.4) gecko/20100101 firefox/10.0.4 iceweasel/10.0.4 >> navigator.UserAgent lower case: -1 >> getLink(): undefined >> getPlatform(): Linux x86-64 >> getLanguage(): Portuguese (Brazilian) >> >> >> window.location.href http://www.openoffice.org/** >> download/test/analyze.html >> navigator.platform Linux x86_64 >> navigator.platform.**toLowerCase() linux x86_64 >> navigator.userAgent Mozilla/5.0 (X11; Linux x86_64; rv:10.0.4) >> Gecko/20100101 Firefox/10.0.4 Iceweasel/10.0.4 >> navigator.userAgent.**toLowerCase() mozilla/5.0 (x11; linux x86_64; >> rv:10.0.4) gecko/20100101 firefox/10.0.4 iceweasel/10.0.4 >> navigator.language pt-BR >> navigator.userLanguage undefined >> navigator.systemLanguage undefined >> navigator.javaEnabled() Yes >> > > The DL magic checks if "navigator.userAgent" contains the term "debian". > If so, a URL with a deb package will be created. > Here it seems we have to extend it with the term "iceweasel". Yes, your analysis is correct. Since I don't use debian, or any of it's derivatives, I didn't know what we should expect here. Is "iceweasel" something ONLY used by debian distros? I'm confused... > > > Thanks for your help. > > Marcus > -- ---------------------------------------------------------------------------------------- MzK "Well, life has a funny way of sneaking up on you And life has a funny way of helping you out Helping you out." -- "Ironic", Alanis Morissette --f46d042d038c672db604bf4ccce6--