From magnus@hagander.net Sun May 24 10:44:44 2026 Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8FD91650EC5 for ; Mon, 30 Jun 2008 10:25:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 46543-06 for ; Mon, 30 Jun 2008 10:25:28 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id ED361650E9F for ; Mon, 30 Jun 2008 10:25:33 -0300 (ADT) Received: from dynamic.hagander.net ([127.0.0.1]) (encrypted and authenticated) by svr2.hagander.net (Postfix) with ESMTP id 1BB32DCC545; Mon, 30 Jun 2008 15:25:31 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mha-laptop.hagander.net (Postfix) with ESMTP id 851BC124149; Mon, 30 Jun 2008 15:25:30 +0200 (CEST) Message-ID: <4868DECA.5060004@hagander.net> Date: Mon, 30 Jun 2008 15:25:30 +0200 From: Magnus Hagander User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Alvaro Herrera CC: PostgreSQL WWW Subject: Re: [Pgweb] r2149 - in trunk/archives/html: . includes References: <20080630131950.D5E5C1A3518@community1.commandprompt.com> In-Reply-To: <20080630131950.D5E5C1A3518@community1.commandprompt.com> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/196 X-Sequence-Number: 15423 What's the reason for this? :-) Keeping it on the main website gets you the global distribution for faster access, and also better caching for people... Is there any reason not to use that? //Magnus pgweb@pgweb.postgresql.org wrote: > Author: alvherre > Date: 2008-06-30 06:19:50 -0700 (Mon, 30 Jun 2008) > New Revision: 2149 > > Modified: > trunk/archives/html/ > trunk/archives/html/includes/top_config.php > Log: > Use a svn:external property to have the layout files in place instead of > referring to www.postgresql.org. > > > > Property changes on: trunk/archives/html > ___________________________________________________________________ > Name: svn:externals > + layout/css https://pgweb.postgresql.org/svn/trunk/portal/layout/css > layout/js https://pgweb.postgresql.org/svn/trunk/portal/layout/js > layout/images https://pgweb.postgresql.org/svn/trunk/portal/layout/images > > > > Modified: trunk/archives/html/includes/top_config.php > =================================================================== > --- trunk/archives/html/includes/top_config.php 2008-06-30 11:56:31 UTC (rev 2148) > +++ trunk/archives/html/includes/top_config.php 2008-06-30 13:19:50 UTC (rev 2149) > @@ -1,9 +1,10 @@ > + > > > - > - > - > - > + > + > + > + > > > > @@ -39,20 +40,20 @@ >
>

Header And Logo

>
> - PostgreSQL > + PostgreSQL >
>
> | > - The world's most advanced open source database. > + The world's most advanced open source database. >
>
>

Site Navigation

>
>
> - > + >
>
> - > + >
>
    >
  • > > _______________________________________________ > Pgweb mailing list > Pgweb@pgweb.postgresql.org > http://community1.commandprompt.com/cgi-bin/mailman/listinfo/pgweb From alvherre@commandprompt.com Sun May 24 10:44:44 2026 Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id BB983650FC6 for ; Mon, 30 Jun 2008 10:54:00 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 84846-04 for ; Mon, 30 Jun 2008 10:53:22 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id CBF39650FE4 for ; Mon, 30 Jun 2008 10:34:46 -0300 (ADT) Received: from perhan.alvh.no-ip.org (200-126-114-65.bk8-dsl.surnet.cl [200.126.114.65]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m5UDaORb022707 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jun 2008 06:36:29 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 28DFC47C7E; Mon, 30 Jun 2008 09:34:22 -0400 (CLT) Date: Mon, 30 Jun 2008 09:34:22 -0400 From: Alvaro Herrera To: Magnus Hagander Cc: PostgreSQL WWW Subject: Re: [Pgweb] r2149 - in trunk/archives/html: . includes Message-ID: <20080630133422.GA10311@alvh.no-ip.org> References: <20080630131950.D5E5C1A3518@community1.commandprompt.com> <4868DECA.5060004@hagander.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4868DECA.5060004@hagander.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 30 Jun 2008 06:36:33 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/197 X-Sequence-Number: 15424 Magnus Hagander wrote: > What's the reason for this? :-) > > Keeping it on the main website gets you the global distribution for > faster access, and also better caching for people... Is there any reason > not to use that? Yes -- one of the .css files references another one by relative path, so it gets a 404 when loaded from archives. I guess another solution would be to fix all the relative paths in there. -- Alvaro Herrera http://www.CommandPrompt.com/ PostgreSQL Replication, Consulting, Custom Development, 24x7 support From alvherre@commandprompt.com Sun May 24 10:44:44 2026 Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 03853650EA2 for ; Mon, 30 Jun 2008 11:05:41 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 01598-01 for ; Mon, 30 Jun 2008 11:05:17 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from lists.commandprompt.com (host-159.commandprompt.net [207.173.203.159]) by postgresql.org (Postfix) with ESMTP id BEBC9650FBD for ; Mon, 30 Jun 2008 10:52:34 -0300 (ADT) Received: from perhan.alvh.no-ip.org (200-126-114-65.bk8-dsl.surnet.cl [200.126.114.65]) (authenticated bits=0) by lists.commandprompt.com (8.13.8/8.13.8) with ESMTP id m5UDsFJ6023161 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jun 2008 06:54:24 -0700 Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 8434047C7F; Mon, 30 Jun 2008 09:52:12 -0400 (CLT) Date: Mon, 30 Jun 2008 09:52:12 -0400 From: Alvaro Herrera To: Magnus Hagander Cc: PostgreSQL WWW Subject: Re: [Pgweb] r2149 - in trunk/archives/html: . includes Message-ID: <20080630135212.GB10311@alvh.no-ip.org> References: <20080630131950.D5E5C1A3518@community1.commandprompt.com> <4868DECA.5060004@hagander.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4868DECA.5060004@hagander.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0 (lists.commandprompt.com [207.173.203.159]); Mon, 30 Jun 2008 06:54:26 -0700 (PDT) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/198 X-Sequence-Number: 15425 Magnus Hagander wrote: > What's the reason for this? :-) > > Keeping it on the main website gets you the global distribution for > faster access, and also better caching for people... Is there any reason > not to use that? Also, in order to fix the hardcodedness of lists in the archives pages, I need a templating system; and what better idea than to just reuse the PgPage stuff? So I was considering using svn:externals to get portal/system/global and pearlib/ into trunk/archives, so that a checkout of archives gets the needed files. The downside is that if somebody checks out pgweb:trunk/ then he will get those files twice. Is that too much of a problem for anyone? (Before anybody complains about the extra load, I'm not planning to use the templating stuff for every page load -- only to generate some includes when the list of lists changes. This probably means that it will be cheaper than the current code, because most of it will be plain HTML instead of having some embedded PHP.) -- Alvaro Herrera http://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. From magnus@hagander.net Sun May 24 10:44:44 2026 Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 6DB65650EA2 for ; Mon, 30 Jun 2008 11:06:17 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 02178-01 for ; Mon, 30 Jun 2008 11:05:46 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id 4DEFE650FC6 for ; Mon, 30 Jun 2008 10:54:14 -0300 (ADT) Received: from dynamic.hagander.net ([127.0.0.1]) (encrypted and authenticated) by svr2.hagander.net (Postfix) with ESMTP id 544E4DCC547; Mon, 30 Jun 2008 15:54:09 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mha-laptop.hagander.net (Postfix) with ESMTP id C8790124149; Mon, 30 Jun 2008 15:54:08 +0200 (CEST) Message-ID: <4868E580.8000904@hagander.net> Date: Mon, 30 Jun 2008 15:54:08 +0200 From: Magnus Hagander User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Alvaro Herrera CC: PostgreSQL WWW Subject: Re: [Pgweb] r2149 - in trunk/archives/html: . includes References: <20080630131950.D5E5C1A3518@community1.commandprompt.com> <4868DECA.5060004@hagander.net> <20080630135212.GB10311@alvh.no-ip.org> In-Reply-To: <20080630135212.GB10311@alvh.no-ip.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/199 X-Sequence-Number: 15426 Alvaro Herrera wrote: > Magnus Hagander wrote: >> What's the reason for this? :-) >> >> Keeping it on the main website gets you the global distribution for >> faster access, and also better caching for people... Is there any reason >> not to use that? > > Also, in order to fix the hardcodedness of lists in the archives pages, > I need a templating system; and what better idea than to just reuse the > PgPage stuff? So I was considering using svn:externals to get > portal/system/global and pearlib/ into trunk/archives, so that a > checkout of archives gets the needed files. Ah, so there's an ulterior motive :-) > The downside is that if somebody checks out pgweb:trunk/ then he will > get those files twice. Is that too much of a problem for anyone? Shouldn't be, they're tiny. > (Before anybody complains about the extra load, I'm not planning to use > the templating stuff for every page load -- only to generate some > includes when the list of lists changes. This probably means that it > will be cheaper than the current code, because most of it will be plain > HTML instead of having some embedded PHP.) Check. I absoluteliy don't mind getting it folded into using the standard stuff. //Magnus From magnus@hagander.net Sun May 24 10:44:44 2026 Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 45916650F14 for ; Mon, 30 Jun 2008 12:41:31 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98326-02-4 for ; Mon, 30 Jun 2008 12:41:18 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from svr2.hagander.net (svr2.hagander.net [88.198.128.226]) by postgresql.org (Postfix) with ESMTP id AE43A650F44 for ; Mon, 30 Jun 2008 12:37:08 -0300 (ADT) Received: from dynamic.hagander.net ([127.0.0.1]) (encrypted and authenticated) by svr2.hagander.net (Postfix) with ESMTP id 2CFA9DCC548; Mon, 30 Jun 2008 17:37:07 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by mha-laptop.hagander.net (Postfix) with ESMTP id B47C8124149; Mon, 30 Jun 2008 17:37:02 +0200 (CEST) Message-ID: <4868FD9E.6010008@hagander.net> Date: Mon, 30 Jun 2008 17:37:02 +0200 From: Magnus Hagander User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: Alvaro Herrera CC: PostgreSQL WWW Subject: Re: [Pgweb] r2149 - in trunk/archives/html: . includes References: <20080630131950.D5E5C1A3518@community1.commandprompt.com> <4868DECA.5060004@hagander.net> <20080630133422.GA10311@alvh.no-ip.org> In-Reply-To: <20080630133422.GA10311@alvh.no-ip.org> X-Enigmail-Version: 0.95.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/202 X-Sequence-Number: 15429 Alvaro Herrera wrote: > Magnus Hagander wrote: >> What's the reason for this? :-) >> >> Keeping it on the main website gets you the global distribution for >> faster access, and also better caching for people... Is there any reason >> not to use that? > > Yes -- one of the .css files references another one by relative path, so > it gets a 404 when loaded from archives. Hmm. Yuck. That does make sense though :-) > I guess another solution would be to fix all the relative paths in > there. Probably not a bad idea, to at least retain the ability. Care to submit a patch? ;) //Magnus