🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #235329

Re: [xnews] set score and move message

#235329
From: JimH
Date: Mon, 07 Sep 2009 00:24
63 lines
2811 bytes
Ammammata <ammammata@tiscalinet.it> wrote in
news:Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96: 

> xpost on     news.software.readers, alt.sports.basketball.nba.la-lakers
> followup to  news.software.readers
> 
> I need help ;)
> 
> take as example alt.sports.basketball.nba.la-lakers: in these days,
> between summer league and preseason, the number of off-topics is about
> 90% (and counting)
> 
> so I decided that all messages (and replies) that begin with:
> 
> ot
> [ot]
> (ot)
> 
> must be scored and moved in another folder
> 
> I started with this:
> 
> [lakers]
> % -9876 means 'move elsewhere' 
> % (-9999 is used for xposts on three-more groups)
> Score:: -9876
> Subject: ^ot
> Subject: ^\[ot
> Subject: ^\(ot
> Subject: ^[Rr][Ee]: ot
> Subject: ^[Rr][Ee]: \[ot
> Subject: ^[Rr][Ee]: \(ot
> 
> well, it works fine; in case I'll need more 'rules' I'll add lateer
> 
> NOW: I'd like to move the a.m. posts in another folder, removing from
> the newsgroup folder
> 
> please, PLEASE, help, thankyou!
> 

The only way to remove posts from a newsgroup is to delete them. Scoring 
them with -9999 has the same effect. I've not found any way to 
automatically move posts from a newsgroup into a folder.

=========================================================================

I just thought I'd mention that XNews SCORE.INI isn't case sensitive when 
you use the colon after "Subject". If you WANT case sensitivity, remove the 
colon.

Also, all the above lines can functionally be replaced by the following:

Subject: ^[re: ]{0,4}[\[\(]?ot

Granted, this can't tell the difference between "RE:", ":r" or even
"e: R"... but how likely are they to ever happen? It sees "RE: ", "Re: " 
and "re:" as being identical (on the off chance there isn't a space after 
"RE:").

The zero in "{0,4}" makes their appearance optional, the same way the "?" 
makes the bracket/parenthesis optional.
Technical Details
Message-ID: <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98>
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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!spln!extra.newsguy.com!newsp.newsguy.com!news6
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96>

Show Full Headers
Complete Article Headers
Message-ID: <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98>
Subject: Re: [xnews] set score and move message
Date: Mon, 07 Sep 2009 00:24:28 +0000
From: JimH <nvm@nunya.biz>
References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96>
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!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nac.net!spln!extra.newsguy.com!newsp.newsguy.com!news6
Newsgroups: news.software.readers
Organization: NewsGuy - Unlimited Usenet $19.95
Lines: 63
NNTP-Posting-Host: pe85146d7db4b306e6f1599a6c90aa73c50a27c029dfde66d.newsdawg.com
User-Agent: Xnews/5.04.25
X-Original-Bytes: 2575