From owner-freebsd-doc Wed Apr 5 8:41:36 2000 Delivered-To: freebsd-doc@freebsd.org Received: from sv01.geocities.co.jp (sv01.geocities.co.jp [210.153.89.155]) by hub.freebsd.org (Postfix) with ESMTP id C013637BDDD; Wed, 5 Apr 2000 08:41:31 -0700 (PDT) (envelope-from hrs@geocities.co.jp) Received: from mail.geocities.co.jp (mail.geocities.co.jp [210.153.89.137]) by sv01.geocities.co.jp (8.9.3+3.2W/3.7W) with ESMTP id VAA19090; Wed, 5 Apr 2000 21:53:57 +0900 (JST) Received: from mail.hrs.jp (sutnmax2-ppp02.ed.noda.sut.ac.jp [133.31.173.72]) by mail.geocities.co.jp (1.3G-GeocitiesJ-3.3) with ESMTP id AAA01048; Thu, 6 Apr 2000 00:41:28 +0900 (JST) Message-Id: <200004051541.AAA01048@mail.geocities.co.jp> Received: from localhost (alph.hrs.jp [192.168.0.10]) by mail.hrs.jp (8.9.3/3.7W/DomainMaster) with ESMTP id AAA88010; Thu, 6 Apr 2000 00:17:57 +0900 (JST) (envelope-from hrs@hrs.jp) To: FreeBSD-doc@FreeBSD.ORG Cc: phantom@FreeBSD.ORG Subject: the number of entries in www/en/gallery/gallery.sgml X-Mailer: Mew version 1.94 on Emacs 19.34 / Mule 2.3 (SUETSUMUHANA) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Thu, 06 Apr 2000 00:17:55 +0900 From: Hiroki Sato X-Dispatcher: imput version 990905(IM130) Lines: 78 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, I've found that "www/en/gallery/gallery.sgml" has the numbers of "commercial", "personal", "non-profit" and "total" gallery entries and they have seemed to be written by hand, but I think it is reasonable that they should be generated automatically from "gallery.db". In addition, the file gallery.sgml has very long line, so it will be difficult for the translation teams to recognize the deltas between two revisions when they try to merge from the English version. I don't know if the following way is appropriate, but I think it is better than old one. Try to apply the accompanying patch and build "www/en/gallery/gallery.sgml". This will generate "gallery.inc" from "gallery.db" with "prune.pl", and add the numbers into "gallery.sgml". Would you please put it or something like this live if there is no problem? This at least makes the Japanese translation team happy. -- | Hiroki Sato/HRS | | j7397067@ed.noda.sut.ac.jp(univ) | hrs@jp.FreeBSD.org(FreeBSD doc-jp Project) Index: Makefile =================================================================== RCS file: /home/ncvs/www/en/gallery/Makefile,v retrieving revision 1.7 diff -d -u -I\$FreeBSD:.*\$ -I\$Id:.*\$ -r1.7 Makefile --- Makefile 1999/09/06 07:02:43 1.7 +++ Makefile 2000/04/02 07:44:51 @@ -11,7 +11,7 @@ INDEXLINK= gallery.html -CLEANFILES+= cgallery.inc npgallery.inc pgallery.inc +CLEANFILES+= cgallery.inc npgallery.inc pgallery.inc gallery.inc cgallery.html: cgallery.sgml cgallery.inc cgallery.inc: gallery.db gengallery.pl @@ -24,6 +24,12 @@ pgallery.html: pgallery.sgml pgallery.inc pgallery.inc: gallery.db gengallery.pl perl ./gengallery.pl personal gallery.db > pgallery.inc + +gallery.html: gallery.sgml gallery.inc +gallery.inc: gallery.db gallery.sgml + perl ./prune.pl gallery.db /dev/null | \ + perl -ne 'chomp; m/([-\w]+):\s+(\d+)/ and print qq/\n/'\ + > gallery.inc .include "../web.mk" Index: gallery.sgml =================================================================== RCS file: /home/ncvs/www/en/gallery/gallery.sgml,v retrieving revision 1.49 diff -d -u -I\$FreeBSD:.*\$ -I\$Id:.*\$ -r1.49 gallery.sgml --- gallery.sgml 2000/04/01 10:43:54 1.49 +++ gallery.sgml 2000/04/02 07:44:13 @@ -3,13 +3,14 @@ %includes; + %gallery; ]> &header; -

All over the world, FreeBSD is powering innovative Internet applications and services. This gallery is a showcase of 1608 organizations and individuals who have put FreeBSD to work for them. Browse and find out more about what FreeBSD can do for you!

-

To have your site added to these lists, simply fill out this form.

+

All over the world, FreeBSD is powering innovative Internet applications and services. This gallery is a showcase of &num.total; organizations and individuals who have put FreeBSD to work for them. Browse and find out more about what FreeBSD can do for you!

+

To have your site added to these lists, simply fill out this form.

To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message