Article View: news.software.readers
Article #20654Re: Need a news reader with good kill features
From: Tom Christiansen
Date: Wed, 17 Apr 1996 00:00
Date: Wed, 17 Apr 1996 00:00
42 lines
2082 bytes
2082 bytes
[courtesy cc of this posting sent to cited author via email]
In news.software.readers,
sbozkirl@@mutt.hamline.edu (Sadik Aral Bozkirli) writes:
:Hi, I posted this some time ago but it didn't show up. Anyway, I'm
:pretty big with kill files. I'm currently using Tin which is OK. But I
:am not totally satisfied with it. Does anybody know a news reader with
:better kill features?
The best I know is Tim Pierce's scoring module for trn. Here's an example:
sub local_score {
my ($article) = @_;
my (@newsgroups);
# Get a list of newsgroups from the Xref: header.
@newsgroups = split (/\s+/, $article->{xref});
shift @newsgroups;
# Articles crossposted to more than three groups get -50.
if (@newsgroups > 3) {
score_art ($article, -50);
} else {
# Check each group in the @newsgroups array: if it's
# not a comp.* group, score the article -50 then, too.
foreach $n (@newsgroups) {
next if $n =~ /^comp\./;
score_art ($article, -50);
last;
}
}
}
I believe there's a new release of strn as well, which may handle
such things.
--tom
--
Tom Christiansen Perl Consultant, Gamer, Hiker tchrist@mox.perl.com
"AT&T -- anything better is illegal."
-- Keith Lofstrom, comp.unix.bsd, "AT&T sues BSDI" thread
Technical Details
Message-ID:
<4l39qi$h4b@csnews.cs.colorado.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mailReferences:
<4kei31$pjb@news.mr.net>Show Full Headers
Complete Article Headers
Message-ID: <4l39qi$h4b@csnews.cs.colorado.edu> Subject: Re: Need a news reader with good kill features Date: Wed, 17 Apr 1996 00:00:00 +0000 From: Tom Christiansen <tchrist@mox.perl.com> References: <4kei31$pjb@news.mr.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.mbox.zip!not-for-mail X-Deja-AN: 148008303 Content-type: text/plain; charset=ISO-8859-1 Organization: Perl Consulting and Training Reply-to: tchrist@mox.perl.com (Tom Christiansen) Newsgroups: news.software.readers Originator: tchrist@mox.perl.com