Author: marcus
Date: Fri Jun  6 15:17:01 2014
New Revision: 1600910

URL: http://svn.apache.org/r1600910
Log:
Added webpage to analyze download problems, added webpage to explain the 
difference between full installation and language packs

Added:
    openoffice/ooo-site/trunk/content/download/analyze.html   (with props)
    openoffice/ooo-site/trunk/content/download/full_vs_lp.html   (with props)

Added: openoffice/ooo-site/trunk/content/download/analyze.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/analyze.html?rev=1600910&view=auto
==============================================================================
--- openoffice/ooo-site/trunk/content/download/analyze.html (added)
+++ openoffice/ooo-site/trunk/content/download/analyze.html Fri Jun  6 15:17:01 
2014
@@ -0,0 +1,354 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; />
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>Apache OpenOffice Downloads - Analyze errors of stable release</title>
+  <script type="text/javascript" src="globalvars.js"></script>
+  <script type="text/javascript" src="languages.js"></script>
+  <script type="text/javascript" src="release_matrix.js"></script>
+  <script type="text/javascript" src="download.js"></script>
+  <style type="text/css">
+  /* <![CDATA[ */
+  /*-------------------- Exceptions on standard css -----------------------*/
+  @import "styles.css";
+  @import "exceptions.css";
+  /* ]]> */
+  </style>
+</head>
+
+<body>
+
+<div>
+  <!-- What to do to report a broken link -->
+  <script type="text/javascript">
+  <!--
+  document.write( ""
+    + "<h1>How to report a broken download link?</h1>"
+
+    + "<p>"
+      + "<ol style='padding: 0px 0px 0px 15px; list-style: disc outside 
none;'>"
+       + "<li><b>Select your favorites</b>: Operating system, language and 
version in the green below.</li>"
+       + "<li>Verify that these options <b>still do not</b> lead to valid 
download links.</li>"
+       + "<li>Click on the button <b>[Update the table]</b> below the green 
box.</li>"
+       + "<li>Click on the button <b>[Select the table]</b> below the green 
box.</li>"
+       + "<li><b>Copy via [Ctrl] + [C]</b> the selected table data into the 
clipboard.</li>"
+       + "<br />"
+       + "<li><b>Create a new mail</b>.</li>"
+       + "<li><b>Write a problem description</b> (what does not work and what 
do you expect).</li>"
+       + "<li>Also add <b>details about the operating system</b> you are 
using.</li>"
+       + "<li><b>Paste the copied data</b> at the end.</li>"
+       + "<li>Finally, <b>send the mail</b> to the: "
+         + "<a 
href='mailto:[email protected]&#63;subject=Reporting%20broken%20download%20link'"
+           + "title='Send the broken link report to the Apache OpenOffice 
developers mailing list'>"
+           + "<b>Apache OpenOffice Development Mailing List</b>"
+         + "</a>. *)"
+       + "</li>"
+      + "</ol>"
+      + "<br />"
+
+      + "*) "
+      + "<a href='http://openoffice.apache.org/mailing-lists.html' 
title='Learn more about what a mailing list is'"
+      + "target='_blank'><b>Click here to learn more about what a mailing list 
is</b>"
+      + "</a>."
+
+      + "<h3>We will try to respond as soon as we get the mail and the problem 
analyzed."
+      + "<br />Thank you for your report.</h3>"
+
+      + "<p>&nbsp;</p>"
+    + "</p>" );
+  //-->
+  </script>
+</div>
+
+<div class="optionset" style="float: left;">
+  <!-- Text above the first colored box -->
+  <script type="text/javascript">
+  <!--
+  // The text in the H1 tag is intentionally shown as "display: none" (do not 
display).
+  // This is to please accessibility tools like a screen reader.
+  document.write( "<h1 style='display: none;'>Apache OpenOffice Download</h1>" 
);
+  //-->
+  </script>
+
+  <!-- Green: Stable release -->
+  <!-- Download via select boxes -->
+  <script type="text/javascript">
+  <!--
+
+  // Set a specific language ISO code to force to assemble a certain localized 
build as download link.
+  // The variable can be found in the "msg_prop_l10n_<ISO_code>.js".
+  NL_LANG = "";
+
+  // Green colored box.
+  // Show select boxes and both download text buttons.
+  document.write( "<div class='first button green-sel' id='optionitem2'>"
+    // Headline.
+    + "<h2>"
+      + "<a title='Download Apache OpenOffice for your favorite operating 
system, language and version'>"
+        + "Download Apache OpenOffice"
+      + "</a>"
+    + "</h2>"
+
+    // Select text.
+    + "<p style='padding-bottom: 0px;'>"
+      + "<a title='Apache OpenOffice binary files are hosted by 
Sourceforge.net - A trusted website'>"
+        + "(Hosted by Sourceforge.net - A trusted website)"
+      + "</a>"
+      + "<a title='Select your favorite operating system, language and 
version'>"
+        + "<b>Select your favorite operating system, language and version:</b>"
+      + "</a>"
+    + "</p>"
+
+    // Select boxes.
+    + "<form name='download'>"
+      + "<select class='sel-os' id='os' name='os' title='Select your favorite 
operating system' onchange='getLinkSel()'>"
+      + "</select>"
+      + "<select class='sel-lang' id='lang' name='lang' title='Select your 
favorite language' onchange='getLinkSel()'>"
+      + "</select>"
+      + "<select class='sel-ver' id='ver' name='ver' title='Select your 
favorite release version' onchange='getLinkSel()'>"
+      + "</select>"
+    + "</form>"
+
+    // Both download text buttons: First for "full install", then for 
"langpack".
+    + "<a style='padding: 0px 0px 0px 3%; cursor: default;'></a>"
+
+    + "<div class='btn_dl' style='display: inline-block;'>"
+      + "<h3>"
+        + "<a id='dl_f_link' href='' title='' target='_blank'></a>"
+      + "</h3>"
+    + "</div>"
+
+    + "<a style='padding: 0px 0px 0px 3%; cursor: default;'></a>"
+
+    + "<div class='btn_dl' style='display: inline-block;'>"
+      + "<h3>"
+        + "<a id='dl_lp_link' href='' title='' target='_blank'></a>"
+      + "</h3>"
+    + "</div>"
+    + "<br /><br />"
+
+  + "</div>" );
+
+  // Sub-green colored box.
+  // Show release info, filesizes, checksum links and help links.
+  document.write( "<div id='sub_green_box' class='sub-green-sel'>"
+    + "<p>"
+      // Error text with hint.
+      + "<img id='dl_err_img'    style='margin: 5px 5px 15px 0px;' src='' 
title='' height='16' width='16' alt='' />"
+      + "<a id='dl_err'                  style='text-decoration: none;' 
title=''></a>"
+
+      // Release info.
+      + "<a id='dl_rel_info'     style='text-decoration: none;'></a>"
+      + "<br />"
+
+      // Full installation: Filesize and checksums.
+      + "<a id='dl_f_info'       style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_keys'   style='text-decoration: underline;' href='' 
title='' target='_blank'></a>"
+      + "<a id='space1'                  style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_asc'    style='text-decoration: underline;' href='' 
title='' target='_blank'></a>"
+      + "<a id='space2'                  style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_md5'    style='text-decoration: underline;' href='' 
title='' target='_blank'></a>"
+      + "<a id='space3'                  style='text-decoration: none;'></a>"
+      + "<a id='dl_f_chk_sha256'  style='text-decoration: underline;' href='' 
title='' target='_blank'></a>"
+      + "<br />"
+
+      // Langpack: Filesize and checksums.
+      + "<a id='dl_lp_info'      style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_keys'          style='text-decoration: underline;' 
href='' title='' target='_blank'></a>"
+      + "<a id='space4'                  style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_asc'   style='text-decoration: underline;' href='' 
title='' target='_blank'></a>"
+      + "<a id='space5'                  style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_md5'   style='text-decoration: underline;' href='' 
title='' target='_blank'></a>"
+      + "<a id='space6'                  style='text-decoration: none;'></a>"
+      + "<a id='dl_lp_chk_sha256' style='text-decoration: underline;' href='' 
title='' target='_blank'></a>"
+      + "<br />"
+
+      // Help: What is a language pack?
+      + "<img id='dl_hlp_img'    style='padding: 5px 5px 0px 0px;' src='' 
title='' height='16' width='16' alt='' />"
+      + "<a id='dl_hlp' href=''          title='' target='_blank' 
onclick='showWindow( this.href ); return false;'></a>"
+      + "<a                      style='padding: 0px 0px 0px 30px;'></a>"
+
+      // Help: How to verify the download?
+      + "<img id='dl_chk_img'    style='padding: 5px 5px 0px 0px;' src='' 
title='' height='16' width='16' alt='' />"
+      + "<a id='dl_chk' href=''          title='' target='_blank'></a>"
+      + "<a                      style='padding: 0px 0px 0px 30px;'></a>"
+
+      // Help: Report broken link.
+      + "<img id='dl_rpt_img'    style='padding: 5px 5px 0px 0px;' src='' 
title='' height='16' width='16' alt='' />"
+      + "<a id='dl_rpt' href=''          title='' target='_blank'></a>"
+    + "</p>" );
+  document.write( "</div>" );
+
+  // Fill the select boxes and wait for the user's choice.
+  init( 1 );
+
+  entourage.initialize();
+  //-->
+  </script>
+
+  <p>&nbsp;</p>
+</div>
+
+<div style="clear: both; float: left;">
+  <form name="update_and_copy">
+    <input class="btn_analyze" type="button" name="update" 
href="javascript:void( 0 )"
+      title="Put the selected options as values into the table below" 
onclick="updateTable(); return false;"
+      value="Click to update the table" />
+    </input>
+
+    <a style="padding: 0px 0px 0px 30px;"></a>
+
+    <input class="btn_analyze" type="button" name="select" 
href="javascript:void( 0 )"
+      title="Select all data in the table below" onclick="selectTable( 
'table_data' ); return false;"
+      value="Click to select the table" />
+    </input>
+
+    <a style="padding: 0px 0px 0px 30px;"></a>
+
+    <p class="btn_analyze" style="padding: 0px 5px 0px 5px; display: inline; 
cursor: default"
+      title="Copy the selected table data via [Ctrl] + [C] into the clipboard">
+      Copy with [Ctrl] + [C]
+    </p>
+  </form>
+
+  <p>&nbsp;</p>
+</div>
+
+<div style="clear: both; float: left;">
+  <script type="text/javascript">
+
+    document.write( "<div style='float: left;'>"
+
+      // List some variables from browser's Document Object Model (DOM).
+      + "<table class='tbl_analyze' id='table_data' style='border-collapse: 
collapse; border-spacing: 2px; width: 100%;'>"
+      + "<tbody>"
+        + "<th style='width:25%;'><b>Browser variables</b>     </th 
style='75%;'><th><b>Values</b></th>"
+         + "<tr><td>navigator.appCodeName                      </td><td>" + 
navigator.appCodeName      + "</td></tr>"
+         + "<tr><td>navigator.appName                          </td><td>" + 
navigator.appName          + "</td></tr>"
+         + "<tr><td>navigator.appVersion                       </td><td>" + 
navigator.appVersion       + "</td></tr>"
+         + "<tr><td>navigator.platform                         </td><td>" + 
navigator.platform         + "</td></tr>"
+         + "<tr><td>navigator.oscpu                            </td><td>" + 
navigator.oscpu            + "</td></tr>"
+         + "<tr><td>navigator.cpuClass                         </td><td>" + 
navigator.cpuClass         + "</td></tr>"
+         + "<tr><td>navigator.product                          </td><td>" + 
navigator.product          + "</td></tr>"
+         + "<tr><td>navigator.productSub                       </td><td>" + 
navigator.productSub       + "</td></tr>"
+         + "<tr><td>navigator.vendor                           </td><td>" + 
navigator.vendor           + "</td></tr>"
+         + "<tr><td>navigator.vendorSub                        </td><td>" + 
navigator.vendorSub        + "</td></tr>"
+         + "<tr><td>navigator.language                         </td><td>" + 
navigator.language         + "</td></tr>"
+         + "<tr><td>navigator.browserLanguage                  </td><td>" + 
navigator.browserLanguage  + "</td></tr>"
+         + "<tr><td>navigator.userLanguage                     </td><td>" + 
navigator.userLanguage     + "</td></tr>"
+         + "<tr><td>navigator.systemLanguage                   </td><td>" + 
navigator.systemLanguage   + "</td></tr>"
+         + "<tr><td>navigator.userAgent                        </td><td>" + 
navigator.userAgent        + "</td></tr>" );
+
+         if ( navigator.userAgent.toLowerCase().indexOf( "debian"    ) != -1 )
+           document.write( "<tr><td>Debian / Ubuntu / IceWeasel ?      
</td><td>Yes / No / No</td></tr>" );
+         else if ( navigator.userAgent.toLowerCase().indexOf( "ubuntu"    ) != 
-1 )
+           document.write( "<tr><td>Debian / Ubuntu / IceWeasel ?      
</td><td>No / Yes / No</td></tr>" );
+         else if ( navigator.userAgent.toLowerCase().indexOf( "iceWeasel" ) != 
-1 )
+           document.write( "<tr><td>Debian / Ubuntu / IceWeasel ?      
</td><td>No / No / Yes</td></tr>" );
+         else
+           document.write( "<tr><td>Debian / Ubuntu / IceWeasel ?      
</td><td>No / No / No</td></tr>" );
+
+       // List all variables and function's return values from scripting.
+       document.write( "<th><b>Stable Release</b></th><th>&nbsp;</th>"
+         + "<tr><th><b>JavaScript&nbsp;functions/variables</b> 
</th><th><b>Values</b></th></tr>"
+         + "<tr><td>Language ISO code                          
</td><td></td></tr>"    /* LANG_ISO */
+         + "<tr><td>Language ISO code (from select box)        
</td><td></td></tr>"    /* LANG_SEL */
+         + "<tr><td>Release matrix platform position (full)    
</td><td></td></tr>"    /* RELEASE_PLATFORM_POS_FULL */
+         + "<tr><td>Release matrix platform position (lp)      
</td><td></td></tr>"    /* RELEASE_PLATFORM_POS_LP */
+         + "<tr><td>Release matrix platform array data         
</td><td></td></tr>"    /* RELEASE_PLATFORM */
+         + "<tr><td>Release matrix language array data         
</td><td></td></tr>"    /* RELEASE_LANG */
+         + "<tr><td>UI platform name                           
</td><td></td></tr>"    /* UI_PLATFORM */
+         + "<tr><td>UI platform name (not supported)           
</td><td></td></tr>"    /* UI_PLATFORM_NO_SUP */
+         + "<tr><td>Platform (short)                           
</td><td></td></tr>"    /* PLATFORM */
+         + "<tr><td>URL platform name (full)                   
</td><td></td></tr>"    /* PLATFORM_FULL */
+         + "<tr><td>URL platform name (lp)                     
</td><td></td></tr>"    /* PLATFORM_LP */
+         + "<tr><td>URL platform name (from select box)        
</td><td></td></tr>"    /* PLATFORM_SEL */
+         + "<tr><td>Version (from select box)                  
</td><td></td></tr>"    /* VERSION_SEL */
+         + "<tr><td>File name (full)                           
</td><td></td></tr>"    /* FILENAME_FULL */
+         + "<tr><td>File name (lp)                             
</td><td></td></tr>"    /* FILENAME_LP */
+         + "<tr><td>File extension                             
</td><td></td></tr>"    /* EXTENSION */
+         + "<tr><td>File size (full) (MByte)                   
</td><td></td></tr>"    /* FILESIZE_FULL */
+         + "<tr><td>File size (lp) (MByte)                     
</td><td></td></tr>"    /* FILESIZE_LP */
+         + "<tr><td>Release info                               
</td><td></td></tr>"    /* REL_TEXT */
+         + "<tr><td>Download file link (full)                  
</td><td></td></tr>"    /* LINK_FULL */
+         + "<tr><td>Download file link (lp)                    
</td><td></td></tr>"    /* LINK_LP */
+         + "<tr><td>Checksum file link (full) (here for MD5)   
</td><td></td></tr>"    /* LINK_CHK_MD5_FULL */
+         + "<tr><td>Checksum file link (lp) (here for MD5)     
</td><td></td></tr>"    /* LINK_CHK_MD5_LP */
+         + "<tr><td>Base URL to Sourceforge.net                
</td><td></td></tr>"    /* SOURCEFORGE_BASE_URL */
+         + "<tr><td>Base URL to Apache Archive                 
</td><td></td></tr>"    /* ASF_ARC_BASE_URL */
+         + "<tr><td>getLinkSel()                               
</td><td></td></tr>"    /* getLinkSel() */
+         + "<tr><td>isLangSupported() ?                        
</td><td></td></tr>"    /* isLangSupported() */
+         + "<tr><td>Old platform ?                             
</td><td></td></tr>"    /* OLD_PLATFORM */
+         + "<tr><td>Contains link to Sourgeforge ?             
</td><td></td></tr>"    /* SF */
+         + "<tr><td>Contains link to porting webpage ?         
</td><td></td></tr>"    /* OTHER */
+         + "<tr><td>Contains link to the archive ?             
</td><td></td></tr>"    /* ARCHIVE */
+         + "<tr><td>General error ?                            
</td><td></td></tr>"    /* ERROR */
+      + "</tbody>"
+      + "</table>"
+    + "</div>" );
+
+    function updateTable() {
+       // All variables and functions that should be shown in the table.
+       elements = [    LANG_ISO, LANG_SEL, RELEASE_PLATFORM_POS_FULL, 
RELEASE_PLATFORM_POS_LP, RELEASE_PLATFORM,
+                       RELEASE_LANG, UI_PLATFORM, UI_PLATFORM_NO_SUP, 
PLATFORM, PLATFORM_FULL, PLATFORM_LP, PLATFORM_SEL,
+                       VERSION_SEL, FILENAME_FULL, FILENAME_LP, EXTENSION, 
FILESIZE_FULL, FILESIZE_LP, REL_TEXT, LINK_FULL,
+                       LINK_LP, LINK_CHK_MD5_FULL, LINK_CHK_MD5_LP, 
SOURCEFORGE_BASE_URL, ASF_ARC_BASE_URL, getLinkSel(),
+                       isLangSupported(), OLD_PLATFORM, SF, OTHER, ARCHIVE, 
ERROR ];
+
+       // Assign the respective table cell with the variable or function.
+       // Start with the 20th row (i = 19) in the 2nd cell (1), count through 
the elements array (j):
+       for( var i = 19, j = 0, k = elements.length; j < k; i++, j++ ) {
+               document.getElementById( "table_data" ).rows[ i ].cells[ 1 
].innerHTML = elements[ j ];
+       }
+
+       return;
+    }
+
+    function selectTable( table ) {
+       // Select all table data, so that the user can copy it manually into 
the clipboard.
+
+       var data = document.getElementById( table );
+       var selection      = window.getSelection();
+       var selected_range = document.createRange();
+
+       // All browsers but not MSIE < version 9.
+       if( window.getSelection ) {
+               selected_range.selectNodeContents( data );
+               selection.removeAllRanges();
+               selection.addRange( selected_range );
+
+       } else if( document.body.createTextRange ) {
+               // Only MSIE < version 9.
+               selected_range = document.body.createTextRange ();
+               selected_range.moveToElementText( data );
+               selected_range.select();
+
+       } else if( document.createRange && window.getSelection ) {
+               // All other browsers.
+               selected_range.selectNodeContents( table );
+               selection.removeAllRanges();
+               selection.addRange( selected_range );
+       }
+
+       return;
+    }
+  </script>
+</div>
+
+<!-- Every new element and text that is defined below the previous DIV will be 
actually dislayed wrapped below this DIV
+(because of "clear: both" instead of floated around the previous DIVs. This is 
really needed. -->
+<div style="clear: both;"></div>
+
+<!-- No JavaScript enabled -->
+<noscript>
+  <div class="notice">
+    <h1>Apache OpenOffice Downloads - Analyze errors</h1>
+    <br />
+    <h2>JavaScript not enabled?</h2>
+    <p>JavaScript needs to be enabled to show the analysis data on this 
webpage.</p>
+  </div>
+</noscript>
+
+</body>
+</html>
+

Propchange: openoffice/ooo-site/trunk/content/download/analyze.html
------------------------------------------------------------------------------
    svn:eol-style = native

Added: openoffice/ooo-site/trunk/content/download/full_vs_lp.html
URL: 
http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/content/download/full_vs_lp.html?rev=1600910&view=auto
==============================================================================
--- openoffice/ooo-site/trunk/content/download/full_vs_lp.html (added)
+++ openoffice/ooo-site/trunk/content/download/full_vs_lp.html Fri Jun  6 
15:17:01 2014
@@ -0,0 +1,49 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd";>
+<html xmlns="http://www.w3.org/1999/xhtml"; />
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>Apache OpenOffice - Full Installation vs. Language Pack</title>
+  <style type="text/css">
+  /* <![CDATA[ */
+  /*-------------------- Exceptions on standard css -----------------------*/
+  @import "styles.css";
+  @import "exceptions.css";
+  /* ]]> */
+  </style>
+</head>
+
+<body style="padding: 10px 10px 10px 10px;">
+  <!-- The text in the H1 tag is intentionally shown as not displayable, just 
to please accessibility tools like a
+  screen reader. -->
+  <h1 style="display: none;">Apache OpenOffice</h1>
+  <h2 style="display: none;">Apache OpenOffice</h2>
+
+  <h3>Apache OpenOffice - Full Installation vs. Language Pack</h3>
+
+  <p>By default Apache OpenOffice is offering a single language when 
installing a full installation. Full installation means
+  that all application modules (Write, Calc, Impress, etc.) are available. The 
term does not belong to languages.</p>
+
+  <p>When you want to use one or more languages in OpenOffice for the user 
interface (for example, menus, dialogs and
+  messages ) and help topics then it is recommended to use language packs. The 
idea is to have a base installation for,
+  e.g., English (US) and additional languages on top without a need to install 
a full installation for every language. For
+  this every language pack has to be installed over a full installation. 
Important is that the same version number and
+  platform has to fit to the base installation (for example, it is not 
possible to install a language pack from release
+  4.0.0 over the base installation of 4.1.0).</p>
+
+  <p>Language packs contain only resource files to show menus, dialogs, 
messages, etc. in your favorite language but there
+  is no program logic. In case text is not fully localized some elements of 
the user interface or help topics will display
+  in English as default language.</p>
+
+  <p>After the language pack is installed the new language can be switched via 
the menu "Tools - Options - Language
+  Settings - Languages - User Interface".</p>
+
+  <p><b>Please note:</b><br />
+  Since OpenOffice 3.4.1 dictionaries are no longer included in the 
installation files. Dictionaries are not part of the
+  OpenOffice project but stored on the <a 
href="http://extensions.openoffice.org/en/search?query=dictionaries";
+  title="Get Apache OpenOffice Extensions and Dictionaries" 
target="_blank">extension webpage</a> (hosted by
+  <a href="http://www.sourceforge.net/"; title="Sourceforge - Download, Develop 
and Publish Free Open Source Software"
+  target="_blank"> Sourceforge.net</a>). Therefore they get improved 
independent of the release schedule of OpenOffice and
+  are offered separately. Then they can be updated at any time when new 
versions are released.</p>
+</body>
+</html>
+

Propchange: openoffice/ooo-site/trunk/content/download/full_vs_lp.html
------------------------------------------------------------------------------
    svn:eol-style = native


Reply via email to