🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #188285

Re: [Dialog] Action based on body content ?

#188285
From: Gember Breuk
Date: Fri, 21 Jul 2006 04:24
30 lines
2333 bytes
On Thu, 20 Jul 2006 21:53:29 -0500, Len Philpot wrote:

> On Thu, 20 Jul 2006 20:42:38 -0500, Eggs Zachtly wrote:
> 
>> Len Philpot said:
>> 
>>> I'm using Dialog 2.0.15.1 and have a couple of questions :
>>> 
>>> Is there any way to trigger an action (say, delete) based on a regex
>>> match within the /body/ of an article? I've read a lot about evaluating
>>> the content of headers, but not the body. 
>> 
>> I'm trying to think of a reason to delete a post, via a rule, on body
>> content. I can't think of one. =( If someone's posting something I don't
>> want to see, I don't see their posts. Could you elaborate a bit? Is this
>> about vulgar language, or something similar?
> 
> Along those lines. What prompted me to think about it most recently are
> the articles from a known loon in sci.astro.amateur (and elsewhere) who
> always has "PGP SIGNED MESSAGE" (or somesuch) in his posts. They're of
> absolutely no value and I don't want to even see them. He changes his
> identity frequently, but (so far) that string is in every post he makes.
> There are other examples, as well.

You might find this Dialog script useful:

http://www.40tude.com/dialog/wiki/index.php/ScriptNukePGP

-- 
Gem
Technical Details
Message-ID: <4ib3a0F2vuilU1@individual.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1flwx15zxqkqj.bvaqz0b8a6h6$.dlg@40tude.net> <ook5iyztqd4c.dlg@sneupie.eingang.org> <1piee0kg5u9oi$.4o0p7d1g2pqo$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <4ib3a0F2vuilU1@individual.net>
Subject: Re: [Dialog] Action based on body content ?
Date: Fri, 21 Jul 2006 00:24:43 -0400
From: Gember Breuk <privacy@the.blackholespam.net>
References: <1flwx15zxqkqj.bvaqz0b8a6h6$.dlg@40tude.net> <ook5iyztqd4c.dlg@sneupie.eingang.org> <1piee0kg5u9oi$.4o0p7d1g2pqo$.dlg@40tude.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: Willekeurige orde
Lines: 30
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net 1NCH6WHED0j52/b/MtX6ywTz4LYufkCPVyi9Vcm5COwGxsiek=
User-Agent: 40tude_Dialog/2.0.15.1 (c6d8c3fd.255.197) PCLinuxOS 0.93