Skip to Content.
Sympa Menu

devel - [sympa-dev] Moderating non-html message

Subject: Developers of Sympa

List archive

Chronological Thread  
  • From: Rudolf Weeber <address@concealed>
  • To: address@concealed
  • Subject: [sympa-dev] Moderating non-html message
  • Date: Fri, 7 Jan 2005 17:28:09 +0100

Hi,

currently itis not possible to view moderation messages, notin html
format.

I was thinking about patching function
do_showmod()
in wwslib.pm, so that non-html messages are converted to html using
mhonarc -single


It would either be possible to generate the
.$msg_id/msg000.html
under the moderation spool on the fly,
(Or would that cause trouble when cleaning up the spool (expiration
of messages to moderate))

or generate a temporary directory under /tmp, put the msg0000.html
there, include the path in tt2, show the page, and remove the tempfile
afterward (where would that have to be done?)


Do you think, one of those ways would work?
If yes, which one is better?

Another question:
Is the wws_conf hash in the do_showmod function available?

Thanks in advane,
yours, Rudolf





Archive powered by MHonArc 2.6.19+.

Top of Page