On 05/18/2012 09:57 AM, Marcus (OOo) wrote: > Am 05/18/2012 06:25 PM, schrieb Kay Schenk: ... >> Marcus-- >> >> Could you put a little chart together on that DL rework page on the wiki >> that shows what we've got so far in terms of what "items" (platform, >> browser identification, browser UA string elments etc.) we now have mapping >> to what install packs? In other words, we're pulling *what* from the user's >> identification to get them where. >> >> That would be helpful. > > Right. It's getting difficult to keep the overview about this topic. So > I've added a table to the Wiki page. > > Marcus
You might want to modify the Ubuntu section, Ubuntu(ized) Chromium is recognigzed & is correct for 32bit, not for 64bit but that will have to wait for http://trac.webkit.org/changeset/117524 to be implemented (i686 issue pointed out by Ariel). Ubuntu Chromium 32bit: Variables from the browser Values navigator.platform Linux i686 navigator.platform.toLowerCase() linux i686 navigator.language en-US navigator.userLanguage undefined navigator.systemLanguage undefined navigator.userAgent Mozilla/5.0 (X11; Linux i686) AppleWebKit/535.19 (KHTML, like Gecko) Ubuntu/11.04 Chromium/18.0.1025.168 Chrome/18.0.1025.168 Safari/535.19 navigator.UserAgent (with Ubuntu?) 69 navigator.userAgent.toLowerCase() mozilla/5.0 (x11; linux i686) applewebkit/535.19 (khtml, like gecko) ubuntu/11.04 chromium/18.0.1025.168 chrome/18.0.1025.168 safari/535.19 navigator.UserAgent (with Ubuntu?) 69 navigator.javaEnabled() Yes JavaScript functions from the DL scripts Return values getLink( VERSION, LANGUAGE, MIRROR, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz/download getArray( LANGUAGE ) here,English (US),http://www.openoffice.org/download/other.html,n,y,y getPlatform( LANGUAGE, SCHEMA ) Linux Debian 32-Bit (DEB) getLanguage( LANGUAGE ) English (US) getLanguageISO( LANGUAGE ) en-US sourceforge_getLink( VERSION, LANGUAGE, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz/download apache_getLink( VERSION, LANGUAGE, SCHEMA ) http://www.apache.org/dyn/closer.cgi/incubator/ooo/files/stable/3.4/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz mirrorbrain_getPlatformForMirror( LANGUAGE, SCHEMA ) Linux_x86_install-deb mirrorbrain_getFileName( VERSION, LANGUAGE, SCHEMA ) Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-deb_en-US.tar.gz mirrorbrain_getExtension( LANGUAGE, SCHEMA ) .tar.gz hasMirrorLink( LANGUAGE ) true Same Ubuntu (32bit) machine using standard Google Chrome: Variables from the browser Values navigator.platform Linux i686 navigator.platform.toLowerCase() linux i686 navigator.language en-US navigator.userLanguage undefined navigator.systemLanguage undefined navigator.userAgent Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5 navigator.userAgent.toLowerCase() mozilla/5.0 (x11; linux i686) applewebkit/536.5 (khtml, like gecko) chrome/19.0.1084.46 safari/536.5 navigator.javaEnabled() Yes JavaScript functions from the DL scripts Return values getLink( VERSION, LANGUAGE, MIRROR, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz/download getArray( LANGUAGE ) here,English (US),http://www.openoffice.org/download/other.html,n,y,y getPlatform( LANGUAGE, SCHEMA ) Linux 32-Bit (RPM) getLanguage( LANGUAGE ) English (US) getLanguageISO( LANGUAGE ) en-US sourceforge_getLink( VERSION, LANGUAGE, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz/download apache_getLink( VERSION, LANGUAGE, SCHEMA ) http://www.apache.org/dyn/closer.cgi/incubator/ooo/files/stable/3.4/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz mirrorbrain_getPlatformForMirror( LANGUAGE, SCHEMA ) Linux_x86_install-rpm mirrorbrain_getFileName( VERSION, LANGUAGE, SCHEMA ) Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz mirrorbrain_getExtension( LANGUAGE, SCHEMA ) .tar.gz hasMirrorLink( LANGUAGE ) true The 'Ubuntu' URI is missing from Google Chrome standard, so the download selection defaults to RPM. Same issue with Opera (same 32bit machine): Variables from the browser Values navigator.platform Linux navigator.platform.toLowerCase() linux navigator.language en navigator.userLanguage en navigator.systemLanguage undefined navigator.userAgent Opera/9.80 (X11; Linux i686; U; en) Presto/2.10.229 Version/11.64 navigator.userAgent.toLowerCase() opera/9.80 (x11; linux i686; u; en) presto/2.10.229 version/11.64 navigator.javaEnabled() Yes JavaScript functions from the DL scripts Return values getLink( VERSION, LANGUAGE, MIRROR, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz/download getArray( LANGUAGE ) here,English (US),http://www.openoffice.org/download/other.html,n,y,y getPlatform( LANGUAGE, SCHEMA ) Linux 32-Bit (RPM) getLanguage( LANGUAGE ) English (US) getLanguageISO( LANGUAGE ) en-US sourceforge_getLink( VERSION, LANGUAGE, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz/download apache_getLink( VERSION, LANGUAGE, SCHEMA ) http://www.apache.org/dyn/closer.cgi/incubator/ooo/files/stable/3.4/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz mirrorbrain_getPlatformForMirror( LANGUAGE, SCHEMA ) Linux_x86_install-rpm mirrorbrain_getFileName( VERSION, LANGUAGE, SCHEMA ) Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz mirrorbrain_getExtension( LANGUAGE, SCHEMA ) .tar.gz hasMirrorLink( LANGUAGE ) true 64bit Opera has the same issue as Google Chrome standard: results in 32bit RPM: 64bit Opera (Ubuntu/debian) Variables from the browser Values navigator.platform Linux navigator.platform.toLowerCase() linux navigator.language en navigator.userLanguage en navigator.systemLanguage undefined navigator.userAgent Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.10.229 Version/11.64 navigator.userAgent.toLowerCase() opera/9.80 (x11; linux x86_64; u; en) presto/2.10.229 version/11.64 navigator.javaEnabled() Yes JavaScript functions from the DL scripts Return values getLink( VERSION, LANGUAGE, MIRROR, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz/download getArray( LANGUAGE ) here,English (US),http://www.openoffice.org/download/other.html,n,y,y getPlatform( LANGUAGE, SCHEMA ) Linux 32-Bit (RPM) getLanguage( LANGUAGE ) English (US) getLanguageISO( LANGUAGE ) en-US sourceforge_getLink( VERSION, LANGUAGE, SCHEMA ) http://sourceforge.net/projects/openofficeorg.mirror/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz/download apache_getLink( VERSION, LANGUAGE, SCHEMA ) http://www.apache.org/dyn/closer.cgi/incubator/ooo/files/stable/3.4/files/stable/3.4.0/Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz mirrorbrain_getPlatformForMirror( LANGUAGE, SCHEMA ) Linux_x86_install-rpm mirrorbrain_getFileName( VERSION, LANGUAGE, SCHEMA ) Apache_OpenOffice_incubating_3.4.0_Linux_x86_install-rpm_en-US.tar.gz mirrorbrain_getExtension( LANGUAGE, SCHEMA ) .tar.gz hasMirrorLink( LANGUAGE ) true IMO defaulting to RPM is fine, as long as the architecture is correct. Perhaps the key is to trigger on the UA in the same manner that you trigger with 'Ubuntu' in the URI: trigger on Linux i686 and Linux x86_64? Gary Lee
