X-Original-To: pgsql-www-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 5C580D1B4B5 for ; Fri, 13 Feb 2004 11:08:44 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 28722-09 for ; Fri, 13 Feb 2004 07:08:43 -0400 (AST) Received: from imap.cs.msu.su (imap.cs.msu.su [158.250.10.39]) by svr1.postgresql.org (Postfix) with ESMTP id 95BD0D1B4E1 for ; Fri, 13 Feb 2004 07:08:39 -0400 (AST) Received: from cs.msu.su (pc724-lin.cmc.msu.ru [10.3.34.136]) by imap.cs.msu.su (8.12.9p2/8.12.9) with ESMTP id i1DB8dIu054561 for ; Fri, 13 Feb 2004 14:08:40 +0300 (MSK) (envelope-from borz_off@cs.msu.su) Message-ID: <402CAFF3.5050507@cs.msu.su> Date: Fri, 13 Feb 2004 14:07:31 +0300 From: Alexey Borzov User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-www@postgresql.org Subject: Another update on 'portal' Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200402/63 X-Sequence-Number: 3628 Hi! Uploaded another attempt: http://oc.cs.msu.su/pgorg/ (trailing slash is REQUIRED) Changes since last time: * Docs are shown * gettext() localisation works The source can be d/led: http://oc.cs.msu.su/pgorg.tar.gz Main changes from the CVS version: * HTML is now contained in the template files. * Gettext is used for localization. * Language-specific pages are now named page.html.{code}, this will allow Apache's content negotiation to work on static mirrors * Code optimisations. CVS version did 2*N+1 queries to display the list of N news items, my version does 1 query. See the example of template which is ready for localisation: http://oc.cs.msu.su/pgorg/template/common.html Main advantages (from my POW): * Designers can work on HTML templates without touching anything else * Translators may work on PO files and (static) HTML templates without touching anything else. * Better suited for static mirrors. Things to do yet: * form handling * admin interface This version is about how far I want to go without Some Sort of Discussion and later Official Approval. I don't want to waste any more of my time if the current website is OK with The Important People of PostgreSQL and they just don't want to Bother Changing Anything.