Article View: news.software.nn
Article #8246Killing crossposted articles
From: David Lindner
Date: Thu, 02 Jan 1997 00:00
Date: Thu, 02 Jan 1997 00:00
37 lines
1585 bytes
1585 bytes
I know this has been discussed in this group before, but I can't
recall the outcome. Is there a variable in nn that allows you
to kill articles that have been crossposted to more than N groups?
The cross-post variable still shows the article once, which IMHO
is just as annoying.
Anyway, I couldn't find one, so I modified the code myself. Someone
should really do a nicer job of this, because I just hardcoded it
to the value that I wanted. Seems to work fine tho...
*** articles.c-orig Thu Jan 2 11:20:42 1997
--- articles.c Tue Dec 31 10:48:01 1996
***************
*** 428,433 ****
--- 428,440 ----
ah->attr = test_article(ah);
+ /*
+ ** check to see if article has been crossposted to more
+ ** eight groups
+ */
+ if ((int)db_hdr.dh_cross_postings > 8)
+ ah->attr = A_READ;
+
if (flags & ACC_MERGED_NEWSRC) {
if (ah->attr == A_KILL) continue;
} else if (ah->attr != A_READ && (flags & ACC_ONLY_READ_ARTICLES))
--
David Lindner
Digital Equipment Corporation
Technical Details
Message-ID:
<lindner.852221705@babylon4>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <lindner.852221705@babylon4> Subject: Killing crossposted articles Date: Thu, 02 Jan 1997 00:00:00 +0000 From: lindner@zk3.dec.com (David Lindner) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nn.mbox.zip!not-for-mail X-Deja-AN: 207344928 Organization: Digital Equipment Corporation Newsgroups: news.software.nn