Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 8360 invoked from network); 24 Nov 2006 12:44:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 24 Nov 2006 12:44:20 -0000 Received: (qmail 76929 invoked by uid 500); 24 Nov 2006 12:44:28 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 76672 invoked by uid 500); 24 Nov 2006 12:44:27 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 76661 invoked by uid 99); 24 Nov 2006 12:44:27 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 04:44:27 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [143.182.124.21] (HELO mga03.intel.com) (143.182.124.21) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 24 Nov 2006 04:44:14 -0800 Received: from azsmga001.ch.intel.com ([10.2.17.19]) by mga03.intel.com with ESMTP; 24 Nov 2006 04:43:53 -0800 Received: from fmsmsx333.amr.corp.intel.com ([132.233.42.2]) by azsmga001.ch.intel.com with ESMTP; 24 Nov 2006 04:43:45 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.09,455,1157353200"; d="scan'208"; a="149994599:sNHT26209064" Received: from nnsmsx411.ccr.corp.intel.com ([10.125.16.19]) by fmsmsx333.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Fri, 24 Nov 2006 04:43:45 -0800 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [doc] Style sheets on site Date: Fri, 24 Nov 2006 15:43:22 +0300 Message-ID: <32CD23D8C6B1454C9120C1525D521D677C825F@nnsmsx411.ccr.corp.intel.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [doc] Style sheets on site Thread-Index: AccPqSbrV/mqOR75SMWGqqc4gVUq1gAApGYAAAZ+LaA= From: "Konovalova, Svetlana" To: X-OriginalArrivalTime: 24 Nov 2006 12:43:45.0761 (UTC) FILETIME=[2E45B510:01C70FC6] X-Virus-Checked: Checked by ClamAV on apache.org To get rid of certain absolute links, I've created a new issue Harmony-2308 [1]. Please have a look. [1] http://issues.apache.org/jira/browse/HARMONY-2308 Best regards, Sveta -----Original Message----- From: Ivanov, Alexey A [mailto:alexey.a.ivanov@intel.com]=20 Sent: Friday, November 24, 2006 1:01 PM To: dev@harmony.apache.org Subject: RE: [doc] Style sheets on site >-----Original Message----- >From: Tim Ellison [mailto:t.p.ellison@gmail.com] >Sent: Friday, November 24, 2006 12:15 PM >To: dev@harmony.apache.org >Subject: Re: [doc] Style sheets on site > >Ivanov, Alexey A wrote: >> I have no problems with browsing the web site on my local file system, >> with the exception of the fact that some links point to the site on >> Apache rather than to local files. >> >> As far as I know, relative paths work fine both for web and local >> copies. We may consider changing the links on the web site pages to >> relative ones too. > >I vaguely recall some discussion about keeping the links absolute a >while ago, though I admit it may have been on a different ASF mailing >list. If required I can look back and try to reconstruct the argument >for you. Tim, I've found the discussion about problem with CSS when testing locally [1]. (These problems would've been experienced on the web if the site had been deployed.) I can't find anything related to the links to pages though. The problem with the style sheet was resolved by copying it to each folder. My patch fixes it -- the site will have only one copy at its root, both for local browsing and for the deployed web site. There was a question about base URL for relative links. [2] The answer to the question "Anyone knows one?" in the end of the message is *every* browser has such a feature. HTML has element where you can specify the base URL for all the relative links in a document. But this URL should be different for web site and local file system, and using BASE may break some other relative links in documents. So we'd better not use it. And most of the links are relative which makes it possible to surf both local and web version in the same way. (At least all the menu links are.) However I faced several links in document content which refer to the same page as a menu item but has absolute path which consequently leads to the web version. (I can't remember any at the moment.) I'm just talking about fixing these links to use relative paths where applicable. If there's something else, I'd like to hear it. Thanks, Alexey. [1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200609.mb ox/%3c03138847-5991-4941-A17D-320AFA181488@pobox.com%3e Or http://thread.gmane.org/gmane.comp.java.harmony.devel/13906/focus=3D13906= [2] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200609.mb ox/%3cf470f68e0609211042w36277a4re3e12967edd03789@mail.gmail.com%3e Or http://thread.gmane.org/gmane.comp.java.harmony.devel/13906/focus=3D13918= > >Regards >Tim > >-- > >Tim Ellison (t.p.ellison@gmail.com) >IBM Java technology centre, UK.=20 -- Alexey A. Ivanov Intel Enterprise Solutions Software Division