🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
1 messages
1 total messages Started by David Lindner Thu, 02 Jan 1997 00:00
Killing crossposted articles
#8246
Author: David Lindner
Date: Thu, 02 Jan 1997 00:00
37 lines
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

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