🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #38077

Master List of Newsgroup Hierarchies...

#38077
From: Brad Knowles
Date: Wed, 16 Jun 1999 00:00
46 lines
2887 bytes
Folks,

    Out of curiosity, has anyone given any consideration to hacking
together a script to take the "Master List of Newsgroup Hierarchies" via
<http://www.magmacom.com/~leisen/mlnh/index.html>, slice it up into "known
valid" and "known invalid" parts, then automatically remove all those
local hierarchies which are known to be invalid, and then optionally merge
or sync those hierarchies which are known to be valid (potentially
removing a large number of newsgroups that are not in "known valid"
hierarchies)?

    It would require some passes through your current active file, and if
you're going to add any new hierarchies, you'd need tp make some passes
through the active file of some other site (e.g., the ISC) to pick up
actual newsgroup names to then add.  Unfortunately, not everyone has "grep
-f", and even for those of us that do, this can rapidly build up some
patterns that are too large for grep to deal with.


    As a point of information, there are 564 known valid hierarchies, and
21 known invalid hierarchies.  On our news server, if we were to remove
all the "known invalid" hierarchies, that would affect some 726
newsgroups.

    If we were to remove all the hierarchies which are not known to be
valid, local, or pulled down with "suck", this would result in 3433
newsgroups being eliminated.  If we were to add all the hierarchies which
we do not have locally (189), that would be 204 additional newsgroups out
of the ISC active file.


    I've hacked together a quick-n-dirty little tool to effectively do a
line-by-line equivalent of "grep -f" through an active file, and I may
manually turn this output of this into something to feed into a script to
call ctlinnd to either delete or create the affected newsgroups, or
perhaps have it feed into actsync.  If it would be of value, I might make
that script a bit cleaner and perhaps more appropriate to be periodically
run, and then post it here or contribute it to INN.

    What do you think?

-- 
Brad Knowles <brad@shub-internet.org> <http://www.shub-internet.org/brad/>
    <http://wwwkeys.pgp.net:11371/pks/lookup?op=get&search=0xE38CCEF1>

Technical Details
Message-ID: <brad-1606991725360001@brad.techos.skynet.be>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <brad-1606991725360001@brad.techos.skynet.be>
Subject: Master List of Newsgroup Hierarchies...
Date: Wed, 16 Jun 1999 00:00:00 +0000
From: brad@shub-internet.org (Brad Knowles)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail
X-Deja-AN: 490288935
X-Complaints-To: abuse@skynet.be
X-Trace: news0.skynet.be 929546748 19942 195.238.1.121 (16 Jun 1999 15:25:48 GMT)
Organization: Shub-Internet
X-URL: http://www.shub-internet.org/
NNTP-Posting-Date: 16 Jun 1999 15:25:48 GMT
Newsgroups: news.software.nntp