🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #9631

Re: Filtering messages

#9631
From: Jeffery Small
Date: Thu, 16 Nov 2000 00:00
33 lines
2206 bytes
mtpins@visi.com (Michael T Pins) writes:

>jeff@cjsa.com (Jeffery Small) writes:

>>I asked this before long ago but didn't get any responses.  I would like
>>to be able to pipe a message out through an external filter program to
>>perform various reformatting.  (e.g., wrap long lines; remove HTML codes;
>>replace other annoying encodings with the proper characters, etc.).  As
>>best as I can tell, there is no way to do this in nn.  Am I missing
>>something that currently allows this?  If not, this would be an important
>>feature to add to the next release.

>In theory, the S, O, and W commands will do this (all take a pipe as well
>as a file name).  In practice, I don't know how well it would actually work
>but it's worth a shot.

I'm sorry that I didn't make my request clear enough.  What I'm looking for
is a way to manually send an article through an external filter program and
then have NN pick up the stdout from the filter and redisplay the reformatted
message in place of the original article.  I think the existing commands like
S, O or W will only sent the article to the pipe - but will not read back
the results.

I think adding a general filtering capability such as this would greatly
increase NN's functionality by allowing external programs to expand the
progams capabilities without having to alter the NN source code.
-- 
Jeff

C. Jeffery Small   Architect	CJSA LLC		     (206) 232-3338
jeff@cjsa.com			7000 E Mercer Way, Mercer Island, WA  98040

Technical Details
Message-ID: <G44L22.74J@cjsa.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
References: <G42to9.4p3@cjsa.com> <SrLQ5.8641$FU3.2178215@ptah.visi.com>

Show Full Headers
Complete Article Headers
Message-ID: <G44L22.74J@cjsa.com>
Subject: Re: Filtering messages
Date: Thu, 16 Nov 2000 00:00:00 +0000
From: jeff@cjsa.com (Jeffery Small)
References: <G42to9.4p3@cjsa.com> <SrLQ5.8641$FU3.2178215@ptah.visi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail
X-Deja-AN: 694373490
X-Complaints-To: abuse@home.net
X-Trace: news1.sttls1.wa.home.com 974391619 65.0.29.116 (Thu, 16 Nov 2000 08:20:19 PST)
Organization: CJSA LLC
NNTP-Posting-Date: Thu, 16 Nov 2000 08:20:19 PST
Newsgroups: news.software.nn