Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 7AC9240DB0F for ; Wed, 28 Mar 2012 17:29:28 -0300 (ADT) Received: from oproxy8-pub.bluehost.com ([69.89.22.20]) by makus.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1SCzUl-0004gC-Bk for pgsql-docs@postgresql.org; Wed, 28 Mar 2012 20:29:28 +0000 Received: (qmail 24989 invoked by uid 0); 28 Mar 2012 20:29:14 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by oproxy8.bluehost.com with SMTP; 28 Mar 2012 20:29:14 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=yoippyPNUucZCn+2S6t8fm4QEEqsrUpVGFpK+f2gsbA=; b=LDaBjVWxYgmCT9bogSAs0+nCFYM36bixCDfLDw8tHGpxfceSMcht8vT4CjlTd6Lv78dI3RGnI30JcI8hniO+fJQXpSsfRyrsBRHyc/T7kX81kJf2Rv/8HfYCYrxluHOy; Received: from [201.88.208.25] (helo=[10.3.2.3]) by host159.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SCzUX-0005qS-Qe; Wed, 28 Mar 2012 14:29:14 -0600 Message-ID: <4F7373FD.4020908@timbira.com> Date: Wed, 28 Mar 2012 17:26:37 -0300 From: Euler Taveira User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: Magnus Hagander CC: Alvaro Herrera , Greg Sabino Mullane , Pg Docs Subject: Re: Adding links to alternate versions of doc pages References: <1332958954-sup-332@alvh.no-ip.org> <4F736E6E.2030307@timbira.com> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 201.88.208.25 authed with euler@timbira.com} X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201203/37 X-Sequence-Number: 7236 On 28-03-2012 17:08, Magnus Hagander wrote: > I should say, but forgot to, that this list is in the database, it's > not in an XML file. There'a view that generates an XML of it on the > web, but internally it's stored in the database. > Hmmm. I didn't look at the database schema but what if we get versions per last-part-of-url? It isn't a perfect solution (because (i) some URLs are renamed along the versions and (ii) some parts get their own page) but it will cover almost all cases. -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento