mhonarc-users

suggestion for maillist.html generation

1998-10-30 11:15:54

perl version = 5.004_04
mhonarc version = 2.1.0
os version = solaris 2.5

The maillist.html file sorts files by date.  Users are usually interested
in the most recent traffic.  Therefore I added the following hack into 
mhonarc to add a tag at the end of the maillist.html file.  In my index.html
file I use the following reference to the maillist file:

        <a href="maillist.html#end">view by date</a>

Maybe this could be put in a future version?


*** mhonarc-orig        Tue Feb 10 15:45:59 1998
--- mhonarc     Fri Oct 30 08:36:42 1998
***************
*** 1337,1342 ****
--- 1337,1343 ----
  
      ($tmp = $LIEND) =~ s/$VarExp/&replace_li_var($1,'')/geo;
      print $handle $tmp;
+     print $handle "<a name=\"end\"></a>\n";
      print $handle "<!--X-ML-Index-End-->\n";
  
      ## Skip past index in old maillist file

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