Subj : Re: HTMLTERM
To : Vk3jed
From : Digital Man
Date : Tue Jul 18 2017 11:52 am
Re: Re: HTMLTERM
By: Vk3jed to Digital Man on Tue Jul 18 2017 07:47 pm
> -=> Digital Man wrote to Vk3jed <=-
>
> > Is there any such beast around in JS that will run on Synchronet already?
>
> DM> Sort of. There's exec/typehtml.js (for example), which converts HTML
> DM> files into Ctrl-A format so that it can be displayed to a BBS
> DM> terminal/client (usually ANSI).
>
> That sounds useful. Wouuld it be possible to inser that between ListGate
> and when the message is posted to the sub on the BBS?
>
> I.e., the flow would be mailing list -> ListGate -> typehtml.js -> SBBS.
> And hopefully it would pass plain text unaltered.
listgate.js is only for exporting messages (SMB -> list via SMTP).
Messages imported from lists (via SMTP), just use the alias.cfg feature of the
the Synchronet Mail Server. To modify messages received by the mail server, you
can use an "external mail processor" (see ctrl/mailproc.ini and
exec/mailproc_example.js). You could have a mail processor that only acts on
listserv messages and converts HTML->bare ASCII (or Ctrl-A or whatever you
like). In this scenario, you wouldn't use typehtml.js, but rather the
load/html2asc.js library which is used by typehtml.js.
digital man
Synchronet "Real Fact" #64:
Synchronet PCMS (introduced w/v2.0) is Programmable Command and Menu Structure.
Norco, CA WX: 84.2�F, 51.0% humidity, 4 mph S wind, 0.00 inches rain/24hrs
---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net