[no subject]

2000-04-08 11:40:16
On Thu, 06 Apr 2000 23:55:48 -0700 
Earl Hood <ehood(_at_)hydra(_dot_)acs(_dot_)uci(_dot_)edu> wrote:

On April 6, 2000 at 12:43, J C Lawrence wrote:
Okay.  Is there any way to directly affect the message body as it
goes into the final HTML file?

Are your refering to the message body of the message data itself
or the MHonArc message page body?

I'm not sure I understand your quetion any more than you understood

I was asking about ways to affect/edit/filter what MHonArc decides
is the root part (MIME sense) of the message as contained in the
generated HTML file.  Don't think that matters much tho if I can do
the here file thing.

If MHonArc could make all the quoted strings in the HREFs etc use
single quotes (as versus double), I could work me way around the
rest by having MsgPgStart end with


and MsgPgEnd start with


to effectively surround the body as a quoted string (and relying
on the fact that you'll &quot; all the user-visible doube quotes
in between), I might be able to fudge the rest of the way.

The problem arises with other media types, like text/html, which
are harder to deal with.

<slap forehead>  Good point.  

On a hunch, I checked out the PHP docs (I have never used PHP) and
found out that PHP supports here documents (in PHP 4 or later):
This way you do not have to worry about having mhonarc escape
quotes and other things for you.  Are you using PHP 4?

Damn, I'm still on PHP3.  That would solve the problem tho, abd
beautifully to boot.  I'll have to see if the rest of the system
will tolerate moving to PHP4 (there are some incompatabilities).

I owe you a beer.  Drop me a note next time your in the SillyValley

J C Lawrence                                 Home: claw(_at_)kanga(_dot_)nu
----------(*)                              Other: coder(_at_)kanga(_dot_)nu
--=| A man is as sane as he is dangerous to his environment |=--

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