Article View: news.software.readers
Article #235337Re: [xnews] set score and move message
From: JimH
Date: Mon, 07 Sep 2009 07:16
Date: Mon, 07 Sep 2009 07:16
95 lines
3711 bytes
3711 bytes
me@tadyatam.invalid wrote in
news:Xns9C7EDE93AF307metadyataminvalid@feeder.eternal-september.org:
> JimH <nvm@nunya.biz> wrote in
> news:Xns9C7ECF92E972Chahadotdotdot@74.209.136.98:
>
>> 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.
>>
>
> Unfortunately, it will also kill anything that starts with
> "OT", e.g. "Other things"
>
> J
True - but so did his :)
To make mine more specific, it could be changed to:
Subject: ^[re: ]{0,4}[\[\(]?ot[\]\) ]
There's a blank space inside the added set. Now it MUST be one of the
following:
"ot)"
"ot]"
"ot "
Technical Details
Message-ID:
<Xns9C7F2135F4E5Bhahadotdotdot@74.209.136.93>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.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!postnews.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news5References:
<Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98> <Xns9C7EDE93AF307metadyataminvalid@feeder.eternal-september.org>Show Full Headers
Complete Article Headers
Message-ID: <Xns9C7F2135F4E5Bhahadotdotdot@74.209.136.93> Subject: Re: [xnews] set score and move message Date: Mon, 07 Sep 2009 07:16:03 +0000 From: JimH <nvm@nunya.biz> References: <Xns9C7ECBDA4BECAammammatatiscalineti@194.177.97.96> <Xns9C7ECF92E972Chahadotdotdot@74.209.136.98> <Xns9C7EDE93AF307metadyataminvalid@feeder.eternal-september.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!border1.nntp.ams.giganews.com!nntp.giganews.com!feeder.news-service.com!postnews.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!spln!extra.newsguy.com!newsp.newsguy.com!news5 Newsgroups: news.software.readers Organization: NewsGuy - Unlimited Usenet $19.95 Lines: 95 NNTP-Posting-Host: p87caa79841620b9ceedaeda7e8fa5d89b12053caa025cf2c.newsdawg.com User-Agent: Xnews/5.04.25