Quick Substitution Question

From: Jenni Baier <jenni_at_renewed.net_at_hypermail-project.org>
Date: Thu, 3 Dec 1998 11:38:53 -0600 (CST)
Message-ID: <Pine.LNX.3.96.981203111725.2860G-100000_at_pneuma.freshwind.com>

I've been running several archives on the old 1.x hypermail... and basically I just compiled customized formatting stuff in for each archive (I had a separate hypermail execuatable for each) I've been working towards moving these sites to a 2.x hypermail (2.0b3 so far...) with templates, but I need a substitution cookie that isn't listed in the docs, and was wondering how difficult it would be for me to add it if it isn't already in there somewhere...

I had modified the 1.x code to put a little form at the bottom of each message page that hooks into a simple mailfile program so folx could mail themselves (or a friend) a copy of the article they just read. (the text file, with the same numeric name as the message, is also generated by hypermail to keep the #s consistant). In the code itself, I just had to add this sort of thing to reference the filename w/the same # as the message:

                fprintf(fp, "<input type=hidden name=\"filename\" ");
                fprintf(fp, "value=\"%.4d.txt\">\n", num);

How hard would it be to be able to use that sort of substitution in the footer template for the messages, or will I still need to put at least that hidden field in the body of the program?

I hope this makes some sense. I'd appreciate any help!

--jenni Received on Thu 03 Dec 1998 07:33:58 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:11 AM GMT GMT