Difference between revisions of "Website adoptions for mirror-system"
(Deleted references to "other.html") |
|||
Line 1: | Line 1: | ||
− | The download of OpenOffice | + | The download of OpenOffice comes via a mirror-system behind http://www.openoffice.org/download/ and some other related pages like the [http://www.openoffice.org/ main page]. |
− | ==Mirrorsystems for OpenOffice | + | ==Mirrorsystems for OpenOffice== |
Currently supported mirror-systems are: | Currently supported mirror-systems are: | ||
* [[Bouncer]], [http://openoffice.bouncer.osuosl.org/download.php OSUOSL Bouncer] | * [[Bouncer]], [http://openoffice.bouncer.osuosl.org/download.php OSUOSL Bouncer] | ||
− | * [[MirrorBrain]], [http://download.services.openoffice.org/ Mirrorbrain | + | * [[MirrorBrain]], [http://download.services.openoffice.org/ Mirrorbrain OpenOffice] |
==Adoptions required for mirror-system support== | ==Adoptions required for mirror-system support== | ||
Line 12: | Line 12: | ||
* download-project / | * download-project / | ||
** index.html | ** index.html | ||
− | |||
** contribute.html | ** contribute.html | ||
* download-project /next/ | * download-project /next/ | ||
** index.html | ** index.html | ||
− | |||
* download-project /[oldrelease]/ -> currently 2.4.3 | * download-project /[oldrelease]/ -> currently 2.4.3 | ||
** index.html | ** index.html | ||
− | |||
− | ==Main javascript files to include on OpenOffice | + | ==Main javascript files to include on OpenOffice download pages== |
All these named pages requires include of | All these named pages requires include of | ||
<pre> | <pre> | ||
Line 35: | Line 32: | ||
==The control file globalvars.js== | ==The control file globalvars.js== | ||
− | The globalvars.js is the main java-script file to control the used mirror-system for OpenOffice | + | The globalvars.js is the main java-script file to control the used mirror-system for OpenOffice download. |
<pre> | <pre> | ||
Line 53: | Line 50: | ||
var DEV2_MIRROR = "mirrorbrain"; | var DEV2_MIRROR = "mirrorbrain"; | ||
</pre> | </pre> | ||
− | As you can see, each named parameter of an OpenOffice | + | As you can see, each named parameter of an OpenOffice 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]] |
Latest revision as of 12:42, 27 March 2015
The download of OpenOffice comes via a mirror-system behind http://www.openoffice.org/download/ and some other related pages like the main page.
Contents
Mirrorsystems for OpenOffice
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
- contribute.html
- download-project /next/
- index.html
- download-project /[oldrelease]/ -> currently 2.4.3
- index.html
Main javascript files to include on OpenOffice 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 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 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.