🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #188264

Re: [Dialog] Action based on body content ?

#188264
From: Eggs Zachtly
Date: Fri, 21 Jul 2006 01:42
54 lines
3507 bytes
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?

Dialog's rules and scoring are based on Hamster, IINM. Perhaps, though,
only loosely. I think Hamster has the ability to score on the body, tho.


> There's talk of scoring, but
> scoring is of no use for me (in Dialog nor any other usenet reader),
> best I can tell.

There's plenty of uses for scoring. You just haven't played with it enough
to see that.  =)

> 
> Where can I find information, example, etc. of implementing a bozo bin /
> killfile or equivalent? I can add them manually, e.g.,
>    [x.y.z]
>    !delete From "Joe Annoying"
> but I've seen no way to do this automatically with a keypress or mouse
> click.

"Automatically" would be doing it in the background, as the rule dictates,
and as Dialog currently functions. Pressing a key or mouse button adds an
extra step. Why would you want to add extra steps?

> 
> ...and just out of curiosity, is there any way to disable
> smooth-scrolling in the article pane?

I believe that's a global, Windows setting.

> 
> Very nice program, but I've been unable to find answers for these.

Not to be mean, but some of the things you appear to ask for are
inefficient, and/or not related to Dialog. 

-- 
Eggs

-  Listen: Strange women lying in ponds distributing swords is no basis for
a system of government!  Supreme executive power derives from a mandate
from the masses, not from some... farcical aquatic ceremony!
Technical Details
Message-ID: <ook5iyztqd4c.dlg@sneupie.eingang.org>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!fe04.lga.POSTED!53ab2750!not-for-mail
References: <1flwx15zxqkqj.bvaqz0b8a6h6$.dlg@40tude.net>

Show Full Headers
Complete Article Headers
Message-ID: <ook5iyztqd4c.dlg@sneupie.eingang.org>
Subject: Re: [Dialog] Action based on body content ?
Date: Thu, 20 Jul 2006 20:42:38 -0500
From: Eggs Zachtly <re@d.thereplyto.header>
References: <1flwx15zxqkqj.bvaqz0b8a6h6$.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!border2.nntp.dca.giganews.com!nntp.giganews.com!peer01.cox.net!cox.net!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!fe04.lga.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Reply-To: eggsUNDERSCOREHEREzachtly@hotmail.com
X-BodyContent: I put this in the headers so you'd read it,
 AC... You should use Xnews since it's so perfect for a
 "dumbschitt troll". =)
X-Face: $%$UgNA%E<42Qf_>-!&R#Q<QR12)vk\a&R@)IOC9ectCM]ZPDvUN{?r)7mR%i\JMa(:T`GI
 G?jav5U?a/TTrjty7B;
 7%#,R~]b|+EX`yOT^bM)G!fk.?kYkFiP=svrkY^{$m+m$~oXc,9M$6>McRk #5Ld9c9lq1b
X-NoArchive: YES
X-WebTV-Stationary: Standard; BGColor=black; TextColor=black
Lines: 54
X-Trace: badccedimaighcleldfpkecpcbhdcmgnnlhagdlimhejhopenibbadehdnkhlhlhgninmingecdcemjlncapnjjikabjhleakimmbonkdbjohbnclcmidikjohpklbghbcfagklmibllijll
NNTP-Posting-Date: Thu, 20 Jul 2006 18:43:26 MST