Marcus, *
Marcus Lange wrote:
Kay Schenk wrote:
Hello Kay,
Marcus Lange wrote:
Ivan M wrote:
2009/2/9 Marcus Lange <[email protected]>:
there's anything else that I can help with.
The idea from Gordon could be implemented (to move the variables from
index.html to the ../download.js). I've tried this and trashed the
whole
website, so I had to undo my changes. Maybe you have more luck... ;-)
I'll leave this to someone far more capable than me - Kay :)
For pages that have an OOo version other than the latest, such as
http://download.openoffice.org/2.4.2/
the variable can be overwritten in the pages' HTML to specify an
older version.
Well I'm not sure I'm all that much more capable, but....right now the
DL script and other elements on the home page itself count on this
being defined elsewhere (i.e. the main page). What I'd like to know is
in what other pages besides the DL js that this is needed. It's
conceivable, and maybe nicer, if it were just kept in a standalone js
file that could be used in various pages. This way it would only need
to be maintained in one place.
Please avoid to create new js files for single things that could be
centralized. IMHO we should keep the number of files as small as possible.
noted...
But, since I didn't get to this over last weekend, if someone could
let me know where else the version number is required so I could take
a look, I would be much obliged.
I know of the following variables:
"download.openoffice.org./index.html":
var VERSION = "3.0.1";
"download.openoffice.org./2.4.2/index.html":
var VERSION = "2.4.2";
"download.openoffice.org./test/index.html" (created by myself):
var RC_NAME = "OpenOffice.org 3.1.0 Release Candidate 1";
var RC_BUILD = "OOO310_m123";
var RC_VERSION = "3.1.0rc1";
var DEV1_TEXT = "(codeline OOO310)";
var DEV1_BUILD = "OOO310_m1";
var DEV1_VERSION = "3.1";
var DEV2_TEXT = "(codeline DEV300)";
var DEV2_BUILD = "DEV300_m41";
var DEV2_VERSION = "3.x";
IMHO all can be moved into "download.js" and rename VERSION into
STABLE_VERSION to make it unique compared to the others.
got it! you're probably right about this..
When having all in the js file, then the variables can be deleted in the
HTML files.
--> Now only one file has to be edited when we have to change version data.
But this data can be overwritten when leaving a vaiable in a HMTL file.
--> Possiblity to overwrite version data for future 2.4.x releases in
the "download.openoffice.org./2.4.2/index.html".
I hope I've explained it well enough. :-)
yes...I will experiment with this when I get a chance...maybe toward the
end of this week...
<--rest snipped -->
--
============================================================
Kay Schenk ph: 530-898-5339
Applications Development and Enterprise Design
CSU, Chico
"When life hands you lemons,
Ask for tequila and salt and call me over!!" ;}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]