Date: Thu, 06 Apr 2000 00:17:55 +0900 From: Hiroki Sato <hrs@geocities.co.jp> To: FreeBSD-doc@FreeBSD.ORG Cc: phantom@FreeBSD.ORG Subject: the number of entries in www/en/gallery/gallery.sgml Message-ID: <200004051541.AAA01048@mail.geocities.co.jp>
next in thread | raw e-mail | index | archive | help
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 <hrs@geocities.co.jp> | | 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/<!ENTITY num./.lc($$1).qq/ CDATA "$$2">\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 @@ <!ENTITY date "$FreeBSD: www/en/gallery/gallery.sgml,v 1.49 2000/04/01 10:43:54 phantom Exp $"> <!ENTITY title "The FreeBSD Gallery"> <!ENTITY % includes SYSTEM "../includes.sgml"> %includes; +<!ENTITY % gallery SYSTEM "./gallery.inc"> %gallery; ]> <!-- $FreeBSD: www/en/gallery/gallery.sgml,v 1.49 2000/04/01 10:43:54 phantom Exp $ --> <html> &header; -<P>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 <STRONG>you</STRONG>!</P><P></P> -<A NAME="commercial"></A><A NAME="non-profit"></A><A NAME="personal"></A><UL><LI><A HREF="cgallery.html">1008 commercial organizations</A></LI><LI><A HREF="npgallery.html">438 non-profit organizations</A></LI><LI><A HREF="pgallery.html">162 personal sites</A></LI></UL><P>To have your site added to these lists, simply fill out <A HREF="http://www.FreeBSD.org/cgi/gallery.cgi">this form</A>.<P> +<P>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 <STRONG>you</STRONG>!</P><P></P> +<A NAME="commercial"></A><A NAME="non-profit"></A><A NAME="personal"></A><UL><LI><A HREF="cgallery.html">&num.commercial; commercial organizations</A></LI><LI><A HREF="npgallery.html">&num.non-profit; non-profit organizations</A></LI><LI><A HREF="pgallery.html">&num.personal; personal sites</A></LI></UL><P>To have your site added to these lists, simply fill out <A HREF="http://www.FreeBSD.org/cgi/gallery.cgi">this form</A>.<P> <TABLE WIDTH="100%" BORDER="0"> <TR> <TD ALIGN="LEFT"><IMG SRC="../gifs/powerlogo.gif" ALT="" ALIGN="LEFT" BORDER="0"></TD> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200004051541.AAA01048>