mhonarc-users

[approved] Function mapping messages to IDs?

2003-09-09 13:27:42

Hi.

I'm  using MHonArc  to generate  an HTML  archive for  my mailing
list.

It seems that the assignment of IDs to the messages is done in an
arbitrary fashion  (in case  it is  relevant, I'm  generating the
archive from  a maildir).  For  instance, I get message  920 with
date ``Sat, 6 Sep 2003 00:49:54 -0500 (CDT)'' but message 921 has
date ``11 Jul 2002 00:15:28  +0000''.  The next message (by date)
after 920 is given ID 1821.

I  tried  using  ``-sort'',  which ``-help''  said  would  ``Sort
messages by date'' (even though it  is the default), but it seems
that it  only applies  to the  way the messages  are laid  out in
maillist.html.

How  are  IDs  assigned   to  messages?   Arbitrarily  (as,  say,
in  whatever  order  they  are returned  by  readdir  or  similar
functions)?  How can I get MHonArc to assign IDs to messages in a
given order (by date would be the most useful order for me)?

Using MHonArc v2.6.3 (Perl 5.008 linux) on Debian GNU/Linux.

Thank you.

Alejo.
http://bachue.com/alejo

--
The mere formulation of a problem is far more essential than its solution.
      -- Albert Einstein.

$0='!/sfldbi!yjoV0msfQ!sfiupob!utvK'x44;print map{("\e[7m \e[0m",chr ord
(chop$0)-1)[$_].("\n")[++$i%77]}split//,unpack'B*',pack'H*',($F='F'x19).
"F0F3E0607879CC1E0F0F339F3FF399C666733333CCF87F99E6133999999E67CFFCCF3".
"219CC1CCC033E7E660198CCE4E66798303873CCE60F3387$F"#Don't you love Perl?

Attachment: pgpFYnkq5oG8r.pgp
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>