Difference between revisions of "Website adoptions for mirror-system"
Line 53: | Line 53: | ||
var DEV2_MIRROR = "mirrorbrain"; | var DEV2_MIRROR = "mirrorbrain"; | ||
</pre> | </pre> | ||
− | As you can see, each named parameter of an OpenOffice.org download version has its own *_MIRROR parameter to control the used mirror-system for the download. Example, the version 3.1.1 uses in this example bouncer as mirror-system. The dev-build OOo-Dev 3.2.x | + | As you can see, each named parameter of an OpenOffice.org download version has its own *_MIRROR parameter to control the used mirror-system for the download. Example, the version 3.1.1 uses in this example bouncer as mirror-system. The dev-build OOo-Dev 3.2.x in version DEV300_m57 uses mirrorbrain as download mirror-system. |
[[Category:Website]] | [[Category:Website]] |
Revision as of 08:00, 15 September 2009
The download of OpenOffice.org comes via a mirror-system behind http://download.openoffice.org and some other related pages like the main page.
Contents
Mirrorsystems for OpenOffice.org
Currently supported mirror-systems are:
Adoptions required for mirror-system support
To allow downloads for co-existing mirror-systems following web-pages need some adoptions:
- www-project /
- index.html
- download-project /
- index.html
- other.html
- contribute.html
- download-project /next/
- index.html
- other.html
- download-project /[oldrelease]/ -> currently 2.4.3
- index.html
- other.html
Main javascript files to include on OpenOffice.org download pages
All these named pages requires include of
http://download.openoffice.org/globalvars.js http://download.openoffice.org/download.js http://download.openoffice.org/download_bouncer.js http://download.openoffice.org/download_mirrorbrain.js http://download.openoffice.org/languages.js
Note: Sometimes the languages.js is used local in the web-folder, e.g. dev-builds.
Important for the mirror-systems are the file download.js and the related download_[MIRROR_SYSTEM_NAME].js file. Some of the functions in the download.js need some special implementations for the mirror-system. These are included in the download_[MIRROR_SYSTEM_NAME].js file. Beside this there are also some functions for the tagging needed for the trackingtools.
The control file globalvars.js
The globalvars.js is the main java-script file to control the used mirror-system for OpenOffice.org download.
// The most recent stable release var VERSION = "3.1.1"; var MIRROR = "bouncer"; // The previously major release var OLD_VERSION = "2.4.3"; var OLD_MIRROR = "bouncer"; ... var DEV2_TEXT = "(codeline DEV300)"; var DEV2_BUILD = "OOo-Dev 3.2.x"; var DEV2_VERSION = "DEV300_m57"; var DEV2_MIRROR = "mirrorbrain";
As you can see, each named parameter of an OpenOffice.org download version has its own *_MIRROR parameter to control the used mirror-system for the download. Example, the version 3.1.1 uses in this example bouncer as mirror-system. The dev-build OOo-Dev 3.2.x in version DEV300_m57 uses mirrorbrain as download mirror-system.