Hi Cor, *,

On Fri, Nov 11, 2011 at 9:10 AM, Cor Nouws <[email protected]> wrote:
> webmaster for Kracked Press Productions wrote (11-11-11 01:25)
>>
>> I noticed today, while working with a 32-bit DEB based server, that when
>> I go to the download page for 3.4.4, the page chooses 32-bit RPM instead
>> of the 32-bit DEB version. It happened with Ubuntu 11.04 and Mint 11.
>
> This behaviour is as you may expect it from the website.
> Selecting the type of Linux package is what you have to do.

Well - yes. It defaults to RPM unless it can tell from the browser's
identification string that it is ubuntu or debian. As those are the
only ones who did alter the user-agent string.

> There has been some discussion on this is the past. I also once had the idea
> that it was new, that I had to do that choice myself. People convinced me
> that I must have been confused ;-)

Well, not confused just that the broswer's response doesn't give a hint anymore.

The detection uses:
navigator.platform for the OS and 32bit vs 64bit detection
navigator.userAgent for trying to guess the package format (if it
contains *buntu, debian, iceweasel → deb, otherwise rpm)
navigator.language / navigator.userLanguage for getting the language.

If you know a way on how to detect debian/ubuntu more reliably, don't
hesitate to share your knowledge :-)

You can check on this page what the values your browser reports are:
http://jsfiddle.net/ZZRSk/embedded/result/

If you think that any info can be used to derive "ah, this is a
deb-user", then please share the results :-)

ciao
Christian

-- 
Unsubscribe instructions: E-mail to [email protected]
Problems? http://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/global/website/
All messages sent to this list will be publicly archived and cannot be deleted

Reply via email to