Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Cor, *,

On Fri, Nov 11, 2011 at 9:10 AM, Cor Nouws <oolst@nouenoff.nl> 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 website+help@global.libreoffice.org
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

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.