diff: w3 news update.
Tyson Dowd
trd at cs.mu.OZ.AU
Mon Sep 7 19:39:40 AEST 1998
Hi,
More updates to the web page. Pete beter look at this.
===================================================================
Estimated hours taken: 1.5
include/functions.inc:
include/index.inc:
news/newsdb.inc:
Update the news index with a bit more news, and a new news
format that allows titles as well as descriptions.
This is flexible enough for use to use the title as a
link to the news, or put the news under the title.
Index: include/functions.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/functions.inc,v
retrieving revision 1.1
diff -u -r1.1 functions.inc
--- functions.inc 1998/09/04 06:52:48 1.1
+++ functions.inc 1998/09/07 08:54:32
@@ -1,5 +1,8 @@
<?
function newsitem($date, $item) {
+
+ list($title, $news) = $item;
+
echo "<tr>";
list($day, $month, $year) = split(" ",$date);
@@ -8,7 +11,9 @@
echo "]</tt></td>";
echo "<td><strong>";
- echo $item;
- echo "</strong></td></tr>";
+ echo $title;
+ echo "</strong><br>\n";
+ echo $news;
+ echo "</td></tr>";
}
?>
Index: include/index.inc
===================================================================
RCS file: /home/mercury1/repository/w3/include/index.inc,v
retrieving revision 1.2
diff -u -r1.2 index.inc
--- index.inc 1998/09/04 06:52:48 1.2
+++ index.inc 1998/09/07 09:05:28
@@ -8,3 +8,10 @@
include "$root/include/latest_news.inc";
?>
</table>
+
+<p>
+
+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>).
+
Index: news/newsdb.inc
===================================================================
RCS file: /home/mercury1/repository/w3/news/newsdb.inc,v
retrieving revision 1.1
diff -u -r1.1 newsdb.inc
--- newsdb.inc 1998/09/04 06:53:09 1.1
+++ newsdb.inc 1998/09/07 08:53:05
@@ -4,51 +4,104 @@
** This is the news database.
**
** Add new items at the top in chronological order.
+**
+** Each item consists of
+** date =>
+** array( title,
+** description
+** ),
** Make sure you put a comma between each item, and an arrow
** between the date and the news.
*/
$newsdb = array(
- "1 Sep 1998" =>
-"Mercury 0.8 due for release during September.",
+"7 Sep 1998" => array("The Mercury Web Site overhauled.",
- "4 Aug 1998" =>
+"The new layout is easier for us to update with news (like this),
+and has full hypermail archives of the <em>mercury-developers</em> and
+<em>mercury-users</em> mailing lists.
+Thanks to <a href=\"mailto:petdr at cs.mu.oz.au\">Peter Ross</a>
+for all his work on it."
+),
+
+"1 Sep 1998" => array("Mercury 0.8 due for release during September.",
+
+"We aim to release the long awaited Mercury 0.8 sometime this month.
+Keep watching here for further information."
+),
+
+"4 Aug 1998" => array("Mmake extensions.",
+
"Mmake has been extended to support setting flags on a per-file basis,
-and will now warn about variables which are defined but not used.",
+and will now warn about variables which are defined but not used."
+),
+
+"9 Jul 1998" => array("Existential types.",
+
+"Preliminary support for existential types has been added to Mercury.
+For those of you that aren't theorists, this means you can declare
+polymorphic arguments that are outputs, and their type is also
+an output."
+),
+
+"1 Feb 1998" => array("Ported to glibc.",
+
+"Mercury 0.7.3 has been ported to glibc for Debian GNU/Linux."
+),
+
+"1 Nov 1997" => array("Mercury 0.7.3 released.",
+
+"Release information can be found
+<A HREF=\"download/release-0.7.html\">here</A>."
+),
+
+"13 Oct 1997" => array("Mercury 0.7.2 released.",
+"Release information can be found
+<A HREF=\"download/release-0.7.html\">here</A>."
+),
+
+"15 Aug 1997" => array("Mercury 0.7 released.",
+
+"Release information can be found
+<A HREF=\"download/release-0.7.html\">here</A>."
+),
+
+"14 Jan 1997" => array("Mercury 0.6.2 released.",
- "9 Jul 1998" =>
-"Preliminary support for existential types has been added to Mercury.",
+"Release information can be found
+<A HREF=\"download/release-0.6.html\">here</A>."
+),
- "1 Feb 1998" =>
-"Mercury 0.7.3 has been ported to glibc for Debian GNU/Linux.",
+"26 Aug 1996" => array("Mercury 0.6.1 released.",
- "1 Nov 1997" =>
-"<A HREF=\"download/release-0.7.html\">Mercury 0.7.3 released.</A>",
+"Release information can be found
+<A HREF=\"download/release-0.6.html\">here</A>."
+),
- "13 Oct 1997" =>
-"<A HREF=\"download/release-0.7.html\">Mercury 0.7.2 released.</A>",
+"2 Aug 1996" => array("Mercury 0.6 released.",
- "15 Aug 1997" =>
-"<A HREF=\"download/release-0.7.html\">Mercury 0.7 released.</A>",
+"Release information can be found
+<A HREF=\"download/release-0.6.html\">here</A>."
+),
- "14 Jan 1997" =>
-"<A HREF=\"download/release-0.6.html\">Mercury 0.6.2 released.</A>",
+"15 Feb 1996" => array("Mercury 0.5 released.",
- "26 Aug 1996" =>
-"<A HREF=\"download/release-0.6.html\">Mercury 0.6.1 released.</A>",
+"Release information can be found
+<A HREF=\"download/release-0.5.html\">here</A>."
+),
- "2 Aug 1996" =>
-"<A HREF=\"download/release-0.6.html\">Mercury 0.6 released.</A>",
+"15 Sep 1995" => array("Mercury 0.4 released.",
- "15 Feb 1996" =>
-"<A HREF=\"download/release-0.5.html\">Mercury 0.5 released.</A>",
+"Release information can be found
+<A HREF=\"download/release-0.4.html\">here</A>."
+),
- "15 Sep 1995" =>
-"<A HREF=\"download/release-0.4.html\">Mercury 0.4 released.</A>",
+"18 Jul 1995" => array("Mercury 0.3 released.",
- "18 Jul 1995" =>
-"<A HREF=\"download/release-0.3.html\">Mercury 0.3 released.</A>"
+"Release information can be found
+<A HREF=\"download/release-0.4.html\">here</A>."
+)
);
--
Tyson Dowd # There isn't any reason why Linux can't be
# implemented as an enterprise computing solution.
trd at cs.mu.oz.au # Find out what you've been missing while you've
http://www.cs.mu.oz.au/~trd # been rebooting Windows NT. -- InfoWorld, 1998.
More information about the developers
mailing list