From dev-return-40644-apmail-openoffice-dev-archive=openoffice.apache.org@openoffice.apache.org Tue Aug 20 19:46:02 2013 Return-Path: X-Original-To: apmail-openoffice-dev-archive@www.apache.org Delivered-To: apmail-openoffice-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4AF310F0C for ; Tue, 20 Aug 2013 19:46:02 +0000 (UTC) Received: (qmail 98319 invoked by uid 500); 20 Aug 2013 19:46:02 -0000 Delivered-To: apmail-openoffice-dev-archive@openoffice.apache.org Received: (qmail 98246 invoked by uid 500); 20 Aug 2013 19:46:01 -0000 Mailing-List: contact dev-help@openoffice.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openoffice.apache.org Delivered-To: mailing list dev@openoffice.apache.org Received: (qmail 98238 invoked by uid 99); 20 Aug 2013 19:46:01 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 19:46:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of dwhytock@gmail.com designates 209.85.216.53 as permitted sender) Received: from [209.85.216.53] (HELO mail-qa0-f53.google.com) (209.85.216.53) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Aug 2013 19:45:55 +0000 Received: by mail-qa0-f53.google.com with SMTP id hu14so575922qab.19 for ; Tue, 20 Aug 2013 12:45:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type; bh=R0g8gBrCv4sKy8pn5Oeo7XKKWx2Z4LpDyKUmzJmP7sw=; b=QqjpqTbqhbAMOOVQLLUFIwpwE32paH2UNlAz9VllgFgziXiKNmeCV3bGtICMm980QV kjroB96NlNQtxuwy+lbCD12RR9mVKVg8UjYJFoQAfAhNRbcgGWsKx6dsVUGNCFsr7L6r 3jU+d2t4WuVilunrt6tDnewq4bEqf4AjcTnNij1GGsVNmmhIWwF6BMwQzCJNpEetRH09 SzBUMLJHa5jFAM1i46CGm0+fW+wnbqCpDFSZFBjWbaK1JFgzI9Z4uA1AJFPYwPJA0iAM if8kKfLSsT5u6/7e5W8rdYO6PgNHyOO0+mNc/9Ig5XFGPpCAEFaO4/ek25lLqBafi5Zp 3MXA== MIME-Version: 1.0 X-Received: by 10.224.42.200 with SMTP id t8mr6194544qae.4.1377027934677; Tue, 20 Aug 2013 12:45:34 -0700 (PDT) Sender: dwhytock@gmail.com Received: by 10.49.104.132 with HTTP; Tue, 20 Aug 2013 12:45:34 -0700 (PDT) In-Reply-To: <5213C205.1060905@wtnet.de> References: <52125C3E.1030501@apache.org> <20130819194415.c2ffeacb22cee610fab77b03@iol.ie> <5213B6BC.7080508@wtnet.de> <5213C205.1060905@wtnet.de> Date: Tue, 20 Aug 2013 15:45:34 -0400 X-Google-Sender-Auth: iwbB-mYxf13mVFG125e5ycg2y_Q Message-ID: Subject: Re: Should download pages *require* Javascript? From: Donald Whytock To: dev@openoffice.apache.org Content-Type: multipart/alternative; boundary=089e0158c8fae4a31404e4664c43 X-Virus-Checked: Checked by ClamAV on apache.org --089e0158c8fae4a31404e4664c43 Content-Type: text/plain; charset=ISO-8859-1 On Tue, Aug 20, 2013 at 3:22 PM, Marcus (OOo) wrote: > Am 08/20/2013 08:37 PM, schrieb Donald Whytock: > >> On Tue, Aug 20, 2013 at 2:34 PM, Marcus (OOo) >> wrote: >> >> >>> In the past it was, sorry, a pain in the ass to keep this webpage >>> up-to-date as there were always changes in paths, version number and >>> languages (new were included, old were dropped out). Copy& paste errors >>> >>> were often occurring. Now it is much easier to update it as the table is >>> generated via JS logic and this logic is filled via a few variables. >>> >>> >>> If it were turned into a static page, I think it might be a better >>> >>>> alternative to the ASF mirror structure. >>>> >>>> >>> IMHO this wouldn't change anything, except for JS or no-JS. >>> >>> So, it seems we need an intermediate step between the green box and the >>> big table. >>> >>> >>> Can the table be generated server-side, perhaps, by a PHP script? >> > > Good question but I don't know. Mostly it depends on: > - can the script grab the content of the JS variables from the webpage? > Not sure I understand this question. A PHP script would be pushing HTML (and perhaps embedded JS) from the server...it runs before the JS, and therefore before any JS variables get set. Where does the JS now get the data to build the table? > - which server do you mean? > Whatever server is hosting the download page. A PHP script is server-side and can serve as a webpage -- rather than having an index.html, you'd have an index.php. > - who is willing/able to change it into PHP? > This is the biggest question, really. :) I believe I'm able to do the PHP, though you'd probably want matching CSS, which isn't really a strong point for me. Don --089e0158c8fae4a31404e4664c43--