[m-rev.] sourceforge web site changes

Fergus Henderson fjh at cs.mu.OZ.AU
Mon Apr 9 21:56:10 AEST 2001


For the record, here is a diff of the current changes on the SourceForge
web site (see my mail to mercury-developers).

? mercury
? w3
? zztryit
? mailing-lists/mercury-ads/list.html
? mailing-lists/mercury-reviews/list.html
cvs server: Diffing .
Index: Makefile.common
===================================================================
RCS file: /home/mercury1/repository/w3/Makefile.common,v
retrieving revision 1.12
diff -u -d -r1.12 Makefile.common
--- Makefile.common	1999/12/06 23:57:08	1.12
+++ Makefile.common	2001/04/09 11:40:59
@@ -4,7 +4,8 @@
 # Public License - see the file COPYING in the Mercury distribution.
 #-----------------------------------------------------------------------------#
 
-PHP3=/usr/lib/cgi-bin/php3 -q
+#PHP3=/usr/lib/cgi-bin/php3 -q
+PHP3=/home/groups/m/me/mercury/bin/php3 -q
 CP=cp -afu
 
 #-----------------------------------------------------------------------------#
@@ -44,9 +45,11 @@
 
 
 .PHONY: install
-install: html
+install: $(MAYBEHTML)
 	[ -d $(INSTALL_WEBDIR) ] || mkdir -p $(INSTALL_WEBDIR)
+ifdef MAYBEHTML
 	$(CP) $(HTML) $(INSTALL_WEBDIR)/
+endif
 ifdef DIRS
 	for dir in $(DIRS);						\
 	do				        			\
cvs server: Diffing bin
Index: bin/install_webpages
===================================================================
RCS file: /home/mercury1/repository/w3/bin/install_webpages,v
retrieving revision 1.20
diff -u -d -r1.20 install_webpages
--- bin/install_webpages	2001/02/13 01:26:33	1.20
+++ bin/install_webpages	2001/04/09 11:40:59
@@ -10,6 +10,8 @@
 # and be run from the top level directory of the w3 module.
 #
 
+do_htdig=yes
+
 www_host=venus
 
 export PATH=/usr/local/bin:$PATH
@@ -19,12 +21,12 @@
 whathost=`hostname | sed -e 's/\..*//'`
 if [ $whathost != "$www_host" ]
 then
-    echo "install_webpages: must be run on $www_host."
-    exit 1
+    echo "install_webpages: must be run on $www_host to do htdig stuff."
+    do_htdig=no
 fi
 
 DIR=${INSTALL_WEBDIR=spec_unknown_value}
-if [ $DIR == "spec_unknown_value" ]
+if [ $DIR = "spec_unknown_value" ]
 then
     echo "install_webpages: INSTALL_WEBDIR not set."
     exit 1
@@ -41,10 +43,12 @@
     #
     # Rearchive the mailing list.
     #
+if [ $do_htdig = "yes" ] ; then
 (
     cd mailing-lists;
     ./rearchive
 )
+fi
 
     #
     # Install the web pages
@@ -53,6 +57,7 @@
 cvs checkout tutorial
 make install
 
+if [ $do_htdig = "yes" ] ; then
     #
     # Reindex the web site for searching.
     #
@@ -69,5 +74,7 @@
 do
     mv $file `basename $file .work`
 done
+
+fi
 
 echo Install finished at `date`
cvs server: Diffing contact
cvs server: Diffing contact/include
Index: contact/include/email.inc
===================================================================
RCS file: /home/mercury1/repository/w3/contact/include/email.inc,v
retrieving revision 1.2
diff -u -d -r1.2 email.inc
--- contact/include/email.inc	1998/10/11 14:50:57	1.2
+++ contact/include/email.inc	2001/04/09 11:40:59
@@ -14,11 +14,11 @@
 exhibits the bug), any error messages encountered, operating system
 version, and configuration information, compiler flags used and Mercury
 compiler version. Also, you might want to check the 
-<a href="../download/release.html">current release</a> to see if a newer
-release is available, or see the 
-<a href="../download/current-release-bugs.html">known problems</a>
+<? named_local_link("download/release", "current release") ?> 
+to see if a newer release is available, or see the 
+<? named_local_link("download/current-release-bugs", "known problems") ?>
 section to see if the bug has already been reported.
 
 <p> 
 You may also be interested in subscribing to the Mercury 
-<a href = "../mailing-lists/mailing-lists.html">mailing lists</a>.
+<? named_local_link("mailing-lists/mailing-lists", "mailing lists") ?>.
cvs server: Diffing download
cvs server: Diffing download/include
cvs server: Diffing download/patches
cvs server: Diffing htdig
cvs server: Diffing htdig/include
cvs server: Diffing images
cvs server: Diffing include
Index: include/contact.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/contact.inc,v
retrieving revision 1.1.1.1
diff -u -d -r1.1.1.1 contact.inc
--- include/contact.inc	1998/09/01 02:41:06	1.1.1.1
+++ include/contact.inc	2001/04/09 11:40:59
@@ -8,14 +8,13 @@
 
 <ul>
         <li>
-        <a href = "contact/email.html">
-        Mercury email addresses</a>
+        <? named_local_link("contact/email", "Mercury email addresses") ?>
 
         <li>
-        <a href = "contact/people.html">
-        People involved in the Mercury project</a>
+        <? named_local_link("contact/people",
+		 "People involved in the Mercury project") ?>
 
         <li>
-        <a href = "mailing-lists/mailing-lists.html"> 
-        Information on the Mercury mailing lists</a>.
+        <? named_local_link("mailing-lists/mailing-lists",
+		 "Information on the Mercury mailing lists") ?>
 </ul>
Index: include/download.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/download.inc,v
retrieving revision 1.2
diff -u -d -r1.2 download.inc
--- include/download.inc	1998/09/04 06:52:47	1.2
+++ include/download.inc	2001/04/09 11:40:59
@@ -9,20 +9,20 @@
 
 <ul>
         <li>
-        <a href = "download/release.html">
-        The current release of the Mercury system</a>
+        <? named_local_link("download/release",
+		"The current release of the Mercury system") ?>
 
         <li>
-        <a href = "download/rotd.html">
-        The current snapshot for the Mercury system</a>
+        <? named_local_link("download/rotd",
+		"The current snapshot for the Mercury system") ?>
 
         <li>
-        <a href = "download/old-release.html">
-        Old releases of the Mercury system</a>
+        <? named_local_link("download/old-release",
+		"Old releases of the Mercury system") ?>
 </ul>
 
-Mercury 0.7.3 shipped with Debian GNU/Linux 2.0 for the x86
-architecture.  You can download it from any of the Debian mirrors -
+Mercury is shipped with Debian GNU/Linux.
+You can download it from any of the Debian mirrors -
 see the <a href="http://www.debian.org">Debian Web Site</a> for more
 information on Debian.
 
Index: include/functions.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/functions.inc,v
retrieving revision 1.4
diff -u -d -r1.4 functions.inc
--- include/functions.inc	2000/10/06 03:27:15	1.4
+++ include/functions.inc	2001/04/09 11:40:59
@@ -1,4 +1,61 @@
 <?
+
+	// set a global variable -- if we are on sourceforge, we can rely on
+	// using PHP to generate pages dynamically, otherwise assume we are
+	// doing static generation.
+if (eregi("sourceforge", $HTTP_HOST, $regs)) {
+	$apache_php_is_available = yes;
+} else {
+	$apache_php_is_available = no;
+}
+
+	// a link to a local file, either .php3 or .html depending on the
+	// server
+function local_link($file) {
+	global $root, $apache_php_is_available;
+
+	if (eregi("\.html$", $file, $regs)) {
+		return sprintf("$root/%s", $file);
+	}
+
+	if ($apache_php_is_available) {
+		return sprintf("$root/%s.php3", $file);
+	} else {
+		return sprintf("$root/%s.html", $file);
+	}
+}
+
+	// return a string containing a link to the file, using the given name
+	// as the link text
+function named_local_link_str($file, $name) {
+	$local = local_link($file);
+
+	return sprintf("<a href=\"%s\">%s</a>", $local, $name);
+}
+
+	// return a string containing a link to a reference in the file, using
+	// the given name as the link text
+function named_local_link_ref_str($file, $ref, $name) {
+	$local = local_link($file);
+
+	return sprintf("<a href=\"%s#%s\">%s</a>", $local, $ref, $name);
+}
+
+
+	// print a named local link
+function named_local_link($file, $name) {
+
+	$named_link = named_local_link_str($file, $name);
+	printf($named_link);
+}
+
+	// print a named local link ref
+function named_local_link_ref($file, $ref, $name) {
+
+	$named_link = named_local_link_ref_str($file, $ref, $name);
+	printf($named_link);
+}
+
 function newsitem($date, $item) {
 
 	list($title, $news) = $item;
Index: include/index.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/index.inc,v
retrieving revision 1.5
diff -u -d -r1.5 index.inc
--- include/index.inc	1998/11/13 04:21:47	1.5
+++ include/index.inc	2001/04/09 11:40:59
@@ -13,5 +13,5 @@
 
 This list contains only the latest news items.<br>
 For older news items, see the
-(<a href="<? echo $root ?>/news.html">complete news archive</a>).
+<? named_local_link("news", "complete news archive") ?>.
 
Index: include/information.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/information.inc,v
retrieving revision 1.2
diff -u -d -r1.2 information.inc
--- include/information.inc	2001/03/29 00:23:57	1.2
+++ include/information.inc	2001/04/09 11:40:59
@@ -6,16 +6,16 @@
 performance.
 <ul>
         <li>
-        <a href = "information/motivation.html">
-        Motivation and overview</a>
+	<? named_local_link("information/motivation",
+		"Motivation and overview") ?>
 
         <li>
-        <a href = "information/features.html">
-        The main features of Mercury</a>
+	<? named_local_link("information/features",
+		"The main features of Mercury") ?>
 
         <li>
-        <a href = "information/benchmarks.html">
-        Benchmarking information</a>
+	<? named_local_link("information/benchmarks",
+		"Benchmarking information") ?>
 </ul>
 
 <!-- This link doens't work anymore.
@@ -38,20 +38,20 @@
 
 <ul>
         <li>
-        <a href = "information/documentation.html">
-        Documentation on Mercury</a>
+	<? named_local_link("information/documentation",
+		"Documentation on Mercury") ?>
 
         <li>
-        <a href = "information/papers.html">
-        Papers and presentations on Mercury</a>
+	<? named_local_link("information/papers",
+		"Papers and presentations on Mercury") ?>
 
         <li>
-        <a href = "information/related.html">
-        Related projects</a>
+	<? named_local_link("information/related",
+		"Related projects") ?>
 
         <li>
-        <a href = "information/developer.html">
-        Information for the developers of Mercury</a>
+	<? named_local_link("information/developer",
+		"Information for the developers of Mercury") ?>
 </ul>
 
 <h3> Events and Reports </h3>
Index: include/menubar.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/menubar.inc,v
retrieving revision 1.15
diff -u -d -r1.15 menubar.inc
--- include/menubar.inc	2001/04/03 06:44:48	1.15
+++ include/menubar.inc	2001/04/09 11:40:59
@@ -1,30 +1,29 @@
-<B><a href="<?echo $root?>/index.html">Home</a></B>
+<B><? named_local_link("index", "Home") ?></B>
 
 <P>
 
-<B><a href="<?echo $root?>/news.html">News</a></B>
+<B><? named_local_link("news", "News") ?></B>
 
 <P>
 
-<B><a href="<?echo $root?>/information.html">Information</a></B><BR>
+<B><? named_local_link("information", "Information") ?></B><BR>
 <?
 if($menu == "Information") {
 ?>
 <SMALL>
-    <a href="<?echo $root?>/information/motivation.html">Overview</a>
+    <? named_local_link("information/motivation", "Overview") ?>
     <BR>
-    <a href="<?echo $root?>/information/features.html">Features</a>
+    <? named_local_link("information/features", "Features") ?>
     <BR>
-   
-    <a href="<?echo $root?>/information/benchmarks.html">Benchmarks</a>
+    <? named_local_link("information/benchmarks", "Benchmarks") ?>
     <BR>
-    <a href="<?echo $root?>/information/papers.html">Papers</a>
+    <? named_local_link("information/papers", "Papers") ?>
     <BR>
-   &nbsp<a href="<?echo $root?>/information/developer.html">Developers</a>
+    <? named_local_link("information/developer", "Developers") ?>
     <BR>
-   &nbsp<a href="<?echo $root?>/information/events.html">Events</a>
+    <? named_local_link("information/events", "Events") ?>
     <BR>
-   &nbsp<a href="<?echo $root?>/information/reports.html">Reports</a>
+    <? named_local_link("information/reports", "Reports") ?>
     <BR>
 </SMALL>
 <?
@@ -33,18 +32,24 @@
 
 <P>
 
-<B><a href="<?echo $root?>/information/documentation.html">Documentation</a>
+<B><? named_local_link("information/documentation", "Documentation") ?>
 </B><BR>
 <?
 if($menu == "Documentation") { 
 ?>
 <SMALL>
-    <a href="<?echo $root?>/tutorial/index.html">Tutorial</a><BR>
-    <a href="<?echo $root?>/information/doc/reference_manual_toc.html">Reference Manual</a><BR>
-    <a href="<?echo $root?>/information/doc/user_guide_toc.html">User Guide</a><BR>
-    <a href="<?echo $root?>/information/doc/library_toc.html">Library Reference</a><BR>
-    <a href="<?echo $root?>/information/doc/transition_guide_toc.html">cf. Prolog</a><BR>
-    <a href="<?echo $root?>/information/comparison_with_haskell.html">cf. Haskell</a><BR>
+    <? named_local_link("tutorial/index.html", "Tutorial") ?>
+  <BR>
+    <? named_local_link("information/doc/reference_manual_toc.html", "Reference Manual") ?>
+  <BR>
+    <? named_local_link("information/doc/user_guide_toc.html", "User Guide") ?>
+  <BR>
+    <? named_local_link("information/doc/library_toc.html", "User Guide") ?>
+  <BR>
+    <? named_local_link("information/doc/transition_guide_toc.html", "cf. Prolog") ?>
+  <BR>
+    <? named_local_link("information/comparison_with_haskell.html", "cf. Haskell") ?>
+  <BR>
     <a href="http://hydra.cs.mu.oz.au/cgi-bin/fom">FAQ</a><BR>
 </SMALL>
 <?
@@ -113,15 +118,14 @@
 ?>
 
 <P>
-
-<B><a href="<?echo $root?>/information/related.html">Related</a></B><BR>
+<B><? named_local_link("information/related", "Related") ?></B><BR>
 <?
 if($menu == "Related") {
 ?>
 <SMALL>
-    <a href="<?echo $root?>/applications.html">Applications</a><BR>
-    <a href="<?echo $root?>/mcorba.html">MCORBA</a> <BR>
-    <a href="<?echo $root?>/contributions.html">Contributing Code</a> <BR>
+    <? named_local_link("applications", "Applications") ?><BR>
+    <? named_local_link("mcorba", "MCORBA") ?> <BR>
+    <? named_local_link("contributions", "Contributing Code") ?> <BR>
 </SMALL>
 <?
 }
@@ -129,7 +133,7 @@
 
 <P>
 
-<B><a href="<?echo $root?>/contact.html">Contact</a></B><BR>
+<B><? named_local_link("contact", "Contact") ?></B>
 <?
 if($menu == "Contact") {
 ?>
@@ -143,5 +147,4 @@
 ?>
 
 <P>
-
-<B><a href="<?echo $root?>/search.html">Search</a></B><BR>
+<B><? named_local_link("search", "Search") ?></B><BR>
Index: include/news.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/news.inc,v
retrieving revision 1.2
diff -u -d -r1.2 news.inc
--- include/news.inc	1998/09/04 06:52:51	1.2
+++ include/news.inc	2001/04/09 11:40:59
@@ -1,7 +1,8 @@
 <H2>News</H2>
 
 If you see a feature that has been added and that you would like to try
-out, you can download our <A HREF="download/rotd.html">release of the day</A>.
+out, you can download our <? named_local_link("download/rotd", 
+	"release of the day") ?>.
 
 <P>
 
Index: include/search.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/search.inc,v
retrieving revision 1.4
diff -u -d -r1.4 search.inc
--- include/search.inc	2001/02/13 01:26:42	1.4
+++ include/search.inc	2001/04/09 11:40:59
@@ -3,8 +3,8 @@
 <hr noshade size=4>
 This search will allow you to search the contents of
 the Mercury web site <B>excluding</B> the mailing lists.
-<A HREF="mailing-lists/search.html">Click here</A> to search
-the mailing list archive.
+<? named_local_link("mailing-lists/search", "Click here") ?> 
+to search the mailing list archive.
 <br>
 <p>
 <form method="post" action="http://www.mercury.cs.mu.oz.au/cgi-bin/htsearch">
cvs server: Diffing information
cvs server: Diffing information/bench
cvs server: Diffing information/developers
cvs server: Diffing information/dotnet
cvs server: Diffing information/events
cvs server: Diffing information/events/images
cvs server: Diffing information/include
Index: information/include/papers.inc
===================================================================
RCS file: /home/mercury1/repository/w3/information/include/papers.inc,v
retrieving revision 1.21
diff -u -d -r1.21 papers.inc
--- information/include/papers.inc	2000/10/05 09:26:27	1.21
+++ information/include/papers.inc	2001/04/09 11:40:59
@@ -3,13 +3,12 @@
 The Mercury team have written quite a few papers about the Mercury
 programming language, its implementation techniques, design, theoretical
 basis and other topics. In addition, we have written several papers
-on <a href = "papers.html#related">related</a> topics.
-Almost all are available here as postscript
-files, compressed using gzip.
+on <? named_local_link_ref("information/papers", "related", "related") ?> topics.
+Almost all are available here as postscript files, compressed using gzip.
 <p>
-Below the papers, the notes from a number of <a
-href="papers.html#presentations">presentations</a> given on
-Mercury, at a variety of levels, are also available.
+Below the papers, the notes from a number of 
+<? named_local_link_ref("information/papers", "presentations", "presentations") ?> 
+given on Mercury, at a variety of levels, are also available.
 
 <h2>Papers on Mercury</h2>
 
@@ -457,7 +456,8 @@
 the abstract machine instructions are implemented as C or GNU C code.)
 <p>
 The raw data on which the evaluation is based
-is available on our <a href = "./benchmarks.html">benchmarking page</a>.
+is available on our 
+<? named_local_link("information/benchmarks", "benchmarking page") ?>.
 <p>
 
 <li>
cvs server: Diffing information/library
cvs server: Diffing information/mercury-doc
cvs server: Diffing information/notes
cvs server: Diffing information/papers
cvs server: Diffing information/reports
cvs server: Diffing mailing-lists
cvs server: Diffing mailing-lists/include
cvs server: Diffing mailing-lists/mercury-ads
cvs server: Diffing mailing-lists/mercury-ads/include
cvs server: Diffing mailing-lists/mercury-developers
cvs server: Diffing mailing-lists/mercury-developers/include
cvs server: Diffing mailing-lists/mercury-reviews
cvs server: Diffing mailing-lists/mercury-reviews/include
cvs server: Diffing mailing-lists/mercury-users
cvs server: Diffing mailing-lists/mercury-users/include
cvs server: Diffing news
Index: news/newsdb.inc
===================================================================
RCS file: /home/mercury1/repository/w3/news/newsdb.inc,v
retrieving revision 1.56
diff -u -d -r1.56 newsdb.inc
--- news/newsdb.inc	2001/04/04 16:09:23	1.56
+++ news/newsdb.inc	2001/04/09 11:40:59
@@ -20,6 +20,29 @@
 ** ALSO the dates must be distinct.
 */
 
+$link_release03_here = named_local_link_str("download/release-0.3", "here");
+$link_release04_here = named_local_link_str("download/release-0.4", "here");
+$link_release05_here = named_local_link_str("download/release-0.5", "here");
+$link_release06_here = named_local_link_str("download/release-0.6", "here");
+$link_release07_here = named_local_link_str("download/release-0.7", "here");
+$link_release08_here = named_local_link_str("download/release-0.8", "here");
+$link_release09_here = named_local_link_str("download/release-0.9", "here");
+$link_download_rotd = named_local_link_str("download/rotd",
+	"release of the day");
+$link_download_rotd_download = named_local_link_str("download/rotd",
+	"download");
+$link_info_papers_page = named_local_link_str("information/papers", 
+	"papers page");
+$link_info_user_guide_toc = 
+	named_local_link_str("information/doc/user_guide_toc.html", 
+	"Mercury User's Guide");
+$link_info_mercury_tutorial = named_local_link_str("tutorial/index.html", 
+	"Mercury Tutorial");
+$link_mcorba = named_local_link_str("mcorba", 
+	"MCORBA Web Page");
+$link_mercury_and_dotnet_page = named_local_link_str(
+	"information/dotnet/mercury_and_dotnet.html", "Mercury and .NET page");
+
 $newsdb = array(
 
 "04 Apr 2001" => array("Mercury 0.10.1 released",
@@ -86,22 +109,21 @@
 "26 Jul 2000" => array("Mercury and Microsoft's .NET",
 
 "A page outlining the status of Mercury on Microsoft's new .NET
-framework is now available 
-<A HREF=\"information/dotnet/mercury_and_dotnet.html\">here</A>."
+framework is now available on our $link_mercury_and_dotnet_page."
 ),
 
 "11 Apr 2000" => array("Completed paper",
 
 "The full version of <EM>Making Mercury Programs Tail Recursive</EM> is
-now available from our <A HREF=\"information/papers.html\">papers page</A>.
+now available from our $link_info_papers_page.
 The paper describes two optimizations, implemented in the Mercury
 compiler, which make predicates tail recursive."
 ),
 
 "5 Apr 2000" => array("More new papers",
 
-"Another two new papers on Mercury are now available from our
-<A HREF=\"information/papers.html\">papers page</A>.
+"Another two papers on Mercury are now available from our
+$link_info_papers_page.
 One describes using purity declarations for building foreign language
 interfaces, while the other details the update transformation, an
 optimization that can help re-order state updates into better positions
@@ -111,7 +133,7 @@
 "21 Feb 2000" => array("New papers",
 
 "Two new papers on Mercury are now available from our
-<A HREF=\"information/papers.html\">papers page</A>.
+$link_info_papers_page.
 One describes a binding-time analysis,
 while the other describes an analysis for detecting whether a memory
 cell is available for reuse."
@@ -121,7 +143,7 @@
 
 "Mercury 0.9.1 fixes a few bugs in Mercury 0.9, including a few problems
 with binary distributions.  Release information can be found
-<A HREF=\"download/release-0.9.html\">here</A>."
+$link_release09_here."
 ),
 
 "19 Jan 2000" => array("Morphine released",
@@ -143,19 +165,19 @@
 See the \"Field access functions\" section of the \"Types\" chapter
 of the Mercury Language Reference Manual for details.
 The syntax is available in our latest
-<A HREF=\"download/rotd.html\">release of the day</A>.
+$link_download_rotd.
 "),
 
 "18 Dec 1999" => array("Mercury 0.9 released",
 
 "We've just released the long-awaited version 0.9.
 Release information can be found
-<A HREF=\"download/release-0.9.html\">here</A>."
+$link_release09_here."
 ),
 
 "17 Nov 1999" => array("A paper on the Mercury debugger",
 "A new paper on Mercury is now available from our
-<A HREF=\"information/papers.html\">papers page</A>:
+$link_info_papers_page:
 it describes the technology we use to implement the Mercury debugger.
 "),
 
@@ -184,7 +206,7 @@
 "13 Aug 1999" => array("New papers",
 
 "Two new papers on Mercury are now available from our
-<A HREF=\"information/papers.html\">papers page</A>.
+$link_info_papers_page.
 One describes how Mercury handles run time type information,
 while the other describes the optimizations we use
 to make Mercury programs tail recursive.
@@ -195,7 +217,7 @@
 "We now support a simple form of user-defined infix operators.
 Terms in the form of x `fun` y are transformed into fun(x, y).
 The transformation is available in our latest
-<A HREF=\"download/rotd.html\">release of the day</A>.
+$link_download_rotd.
 "),
 
 "17 Jun 1999" => array("Automatic accumulator introduction",
@@ -204,7 +226,7 @@
 The optimization attempts to make procedures tail recursive by
 the introduction of accumulator variables.
 The optimization is available in our latest
-<A HREF=\"download/rotd.html\">release of the day</A>.
+$link_download_rotd.
 "),
 
 "18 Mar 1999" => array("Linux RPM format binary distribution",
@@ -229,7 +251,7 @@
 data type using the `lazy' module.
 See the files in extras/lazy_evaluation for details.
 This is now available for
-<A HREF=\"download/rotd.html\">download</A>.
+$link_download_rotd_download.
 "),
 
 "11 Mar 1999" => array("Prolog debuggers no longer supported",
@@ -244,14 +266,14 @@
 "The Mercury debugger now includes support for interactive queries.
 See the \"Interactive query commands\" subsection of the \"Debugger commands\"
 section of the \"Debugging\" chapter of the
-<A HREF=\"http://www.cs.mu.oz.au/research/mercury/information/doc/user_guide_toc.html\">Mercury User's Guide</A>.  
+$link_info_user_guide_toc.  
 "),
 
 
 "5 Mar 1999" => array("Mercury Tutorial",
 "<a href=\"mailto:rwab1 at cl.cam.ac.uk\">Ralph Becket</a>
 has kindly written a
-<A HREF=\"http://www.cs.mu.oz.au/research/mercury/tutorial/index.html\">Mercury Tutorial</A>.  
+$link_info_mercury_tutorial.
 This is still under development.  Feedback would be appreciated."
 ),
 
@@ -266,24 +288,23 @@
 
 "The second release of MCORBA is finally available.
 We have fixed the generation of the C++ code so that the samples
-now build and work correctly.  See the <A HREF=\"mcorba.html\">
-MCORBA web page</A> for more details on MCORBA."
+now build and work correctly.  See the $link_mcorba
+for more details on MCORBA."
 ),
 
 "13 Dec 1998" => array("Mercury 0.8.1 released",
 
 "This release just fixes some problems with the
 binary distributions for 0.8.
-Release information can be found
-<A HREF=\"download/release.html\">here</A>."
-),
+Release information can be found $link_release08_here.
+"),
 
 "6 Dec 1998" => array("Dynamic linking support",
 
 "The latest development version of the extras distribution
 now includes support for dynamic linking.
 This is now available for
-<A HREF=\"download/rotd.html\">download</A>.
+$link_download_rotd_download.
 The interface is based on the C functions dlopen(), dlsym(), and co.,
 which are supported by most modern Unix systems.
 See the files in extras/dynamic_linking for details."
@@ -293,21 +314,19 @@
 
 "A paper describing the high-level optimization passes of the Mercury
 compiler is now available from 
-<A HREF=\"information/papers.html\">the Mercury papers page</A>."
+$link_info_papers_page."
 ),
 
 "18 Nov 1998" => array("Mercury 0.8 released",
 
 "We've just released the long-awaited version 0.8.
-Release information can be found
-<A HREF=\"download/release-0.8.html\">here</A>."
-),
+Release information can be found $link_release08_here.
+"),
 
 "17 Nov 1998" => array("New MCORBA paper available",
 
 "We have made a paper describing the Mercury CORBA interface
-available from
-<A HREF=\"information/papers.html\">the Mercury papers page</A>."
+available from the Mercury $link_info_papers_page."
 ),
 
 "16 Nov 1998" => array("Web site now searchable",
@@ -319,8 +338,7 @@
 "30 Sep 1998" => array("New paper: Type classes in Mercury.",
 
 "A new paper, describing our implementation of type classes in Mercury, 
-has been made available from 
-<A HREF=\"information/papers.html\">the Mercury papers page</A>."
+has been made available from the Mercury $link_info_papers_page."
 ),
 
 "21 Sep 1998" => array("MCORBA: CORBA for Mercury.",
@@ -330,7 +348,7 @@
 and remote objects to communicate.  MCORBA allows you to use
 Mercury to talk to other CORBA objects, and to implement CORBA
 objects.  It's still preliminary, if you are interested see the
-<A HREF=\"mcorba.html\">MCORBA page</A> for more information."
+$link_mcorba for more information."
 ),
 
 
@@ -340,7 +358,7 @@
 has been modified to add unstable releases, which have not passed the
 all the tests, but may still be useful for developers who need the very
 latest version.  Daily releases are available for
-<A HREF=\"download/rotd.html\">download</A>."
+$link_download_rotd_download."
 ),
 
 
@@ -408,55 +426,55 @@
 "1 Nov 1997" => array("Mercury 0.7.3 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.7.html\">here</A>."
-),
+$link_release07_here.
+"),
 
 "13 Oct 1997" => array("Mercury 0.7.2 released.",
 "Release information can be found
-<A HREF=\"download/release-0.7.html\">here</A>."
-),
+$link_release07_here.
+"),
 
 "15 Aug 1997" => array("Mercury 0.7 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.7.html\">here</A>."
-),
+$link_release07_here.
+"),
 
 "14 Jan 1997" => array("Mercury 0.6.2 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.6.html\">here</A>."
-),
+$link_release07_here.
+"),
 
 "26 Aug 1996" => array("Mercury 0.6.1 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.6.html\">here</A>."
-),
+$link_release06_here.
+"),
 
 "2 Aug 1996" => array("Mercury 0.6 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.6.html\">here</A>."
-),
+$link_release06_here.
+"),
 
 "15 Feb 1996" => array("Mercury 0.5 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.5.html\">here</A>."
-),
+$link_release05_here.
+"),
 
 "15 Sep 1995" => array("Mercury 0.4 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.4.html\">here</A>."
-),
+$link_release04_here.
+"),
 
 "18 Jul 1995" => array("Mercury 0.3 released.",
 
 "Release information can be found
-<A HREF=\"download/release-0.3.html\">here</A>."
-)
+$link_release03_here.
+")
 
 );
 
cvs server: Diffing tutorial
cvs server: Diffing tutorial/src

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
                                    |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list