Thread View: news.software.misc
1 messages
1 total messages
Started by Graeme Rae
Thu, 11 Sep 1997 00:00
Perl based killfile script for netscape 3.#
Author: Graeme Rae
Date: Thu, 11 Sep 1997 00:00
Date: Thu, 11 Sep 1997 00:00
89 lines
3635 bytes
3635 bytes
I just wrote myself a little script to do automatic killing of
news articles in netscape. You can download the tarred, gzipped file
from
ftp://www.marine.fit.edu/pub/killnews/killnews-1.0.tar.gz
Heres the readme:
USAGE killnews -k killfile [-n NNTPSERVER] [-d debuglevel]
VERSION 1.0 SEPTEMBER 1997
The latest version can be found at
ftp://www.marine.fit.edu/pub/killnews/killnews.tar.gz
Suggestions, improvements, comments can be sent to
REMgraeme@marine.fit.eduOVE_TO_EMAIL
PURPOSE:
To weed out all the sh*t that appears in newsgroups from people
trying to sell me stuff or convince me that some woman somewhere will
get off if I call her (for free of course). Amazingly this program
actually works!! I just ran a typical scan on my local newserver - it
killed 374 out of a possible 1543 articles with very few friendly fire
deaths.
OPTIONS:
-k -k killfile
REQUIRED single line, comma delineated text file containing kill phrases
-n -n NNTPSERVER
NNTPSERVER to check. defaults to $NNTPSERVER if not set
-d -d debuglevel
Actual value of debuglevel means nothing at the moment
but will do in future versions. If its set killnews prints
out all sorts of stuff about what its doing. If not set
it only lists limited info.
FUNCTION:
a) Opens the correct .newsrcfile
b) Retrieves the list of unread articles from the host
c) Checks for 'bad' keywords in the subject lines
d) Adds the killed articles to the .newsrcfile
e) You then open the newshost in netscape
NOTES:
a)it is very clunky - especially the first pass at a host around
You basically need to start with a fully caught up set of groups.
Or if its a whole new group you've never read before, open the
group in netscape, make the first (oldest) article as read,
close the group, close the newshost, run killnews and then
read the group again.
b)It works with Netscape 3.# . format newsrc files
c)it often screws up the numbers of read/unread articles in
netscape
Possible improvements:
Live File (mark as unread on a second pass)
Improved first time at a newshost
Ignoring of unsubscribed groups
Error trapping is poor
Kill file is not case sensitive
better debug/verbose/quiet options
INSTALLATION:
You need perl5 (I think) getopts.pl in a searched library and
that's it.
KILLFILE Format
A string of comma separated words or phrases, spaces are OK.
eg.
SEX,sex,!,\*,Free,free,FREE,htm,html,LIVE,Make money
--
REMgraeme@marine.fit.eduOVE (Dr. Graeme Rae), Division of Marine &
Environmental Systems, Florida Institute of Technology,
(407) 768-8000 x 7244. http://www.fit.edu/dmes/people/rae.html
"May your joys be as deep as the ocean,
and your troubles as light as its foam."
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads