Sorry, this hasn't got much to do with rpm packages directly ;-)
My "builds" page is getting bigger and bigger, and quite messy as
directories are listed in no particular order :
http://freshrpms.net/builds/
What I'd need is to have last modification date of the directory displayed
next to the directory name (sort of like "mplayer - Thu Aug 1 2002"), and
the list ordered to have the most recent entries at the top.
Now, if there are php programmers on this list, I'd love to have their help
on how to do this ;-) It must be quite simple to get the system mtime for
the directory, it's the ordering that scares me a bit more.
Attached is the current code (please keep in mind that I'm not a
programmer, it usually explains a lot ;-)).
Matthias
--
Matthias Saou                                World Trade Center
-------------                                Edificio Norte 4 Planta
System and Network Engineer                  08039 Barcelona, Spain
Electronic Group Interactive                 Phone : +34 936 00 23 23

page_header ("Fresh meat for fresh rpms");
These are the current versions of all spec files and patches used for the builds you may find here. An anonymous CVS repository may be available some day so that all older releases become available too... "maybe", that is...
echo "<p>Builds which have files publicly available :\n\n<p>\n";
while ( $file = readdir( $open_dir ) ) {
if ( ( is_dir( $file ) ) and ( !eregi("^\.|CVS$", $file) ) ) {
echo "<img src=\"/img/bluearrow.png\" width=\"5\" height=\"9\" alt=\"dot\"> <a href=\"$PHP_SELF?build=$file\">$file</a><br>\n";
echo "<p>Files available for build \"$build\" :\n\n<p>\n";
echo "<img src=\"/img/bluearrow.png\" width=\"5\" height=\"9\" alt=\"dot\"> <a href=\"$build/$file\">$file</a><br>\n";
echo "<p>\nEeeek! I can't find that build.\n</p>\n\n";
echo "<p><a href=\"$PHP_SELF\">Back to the list of builds</a>\n\n";

from localhost (localhost [127.0.0.1])
	by phobos.labs.netnoteinc.com (Postfix) with ESMTP id 3FD29440C9
	for <jm@localhost>; Thu,  1 Aug 2002 06:27:47 -0400 (EDT)
from phobos [127.0.0.1]
	by localhost with IMAP (fetchmail-5.9.0)
	for jm@localhost (single-drop); Thu, 01 Aug 2002 11:27:47 +0100 (IST)
from egwn.net (ns2.egwn.net [193.172.5.4]) by
    dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g71A03206411 for
    <jm-rpm@jmason.org>; Thu, 1 Aug 2002 11:00:03 +0100
from posti.pp.htv.fi (posti.pp.htv.fi [212.90.64.50]) by
    egwn.net (8.11.6/8.11.6/EGWN) with ESMTP id g719sEJ30949 for
    <rpm-list@freshrpms.net>; Thu, 1 Aug 2002 11:54:14 +0200
from quoted-printable to 8bit by egwn.net id
    g719sEJ30949
From rpm-list-admin@freshrpms.net  Thu Aug  1 11:27:51 2002