🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #70489

Re: Xnews: How to limit xref number for one group only?

#70489
From: Murray Peterson
Date: Sun, 14 Jan 2001 20:41
47 lines
2468 bytes
bbbobnorton@earthlink.net (Bob Norton) wrote:

>>[groupname]
>>score:: -9999
>>Xref: (.*:){3,}
>
>Tried it. It doesn't work :-(

Hmm, try this -- I just tested it and it works fine:

[groupname]
Score:: -9999
Xref:(:\d){3,}


Since regular expressions aren't your forte, here's an explanation 
for each line of the example:

[groupname]
    	Selects all groups containing the string "groupname"
score:: -9999
    	Score to apply for the following rules (hard kill or -9999
    	in this case)
Xref:: (:\d){3,}
    	Apply the score to all articles whose Xref header contains
    	3 or more instances of a ":" followed by a digit "\d"

One thing may prevent this from working on your newsreader -- not all 
newsreaders return the Xref header from the XOVER command, which is 
what Xnews uses to retrieve the headers.  You can test this as 
follows:

Bring up a run command window (start menu, then run)
Type in the following commands (replace <news> with the name of your 
newsserver):

    	telnet <news> 119
    	list overview.fmt

You will get a list of headers returned by the XOVER command, and you 
should see "Xref:full" as one of the headers.

-- 
Murray Peterson
Email: murray_peterson@home.com (remove underscore)
URL:   http://www.members.home.net/murraypeterson
Technical Details
Message-ID: <Xns90298134Dfarkle@24.64.2.57>
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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
References: <Xns9027D0A4AfsepADFJASDU@207.217.77.23> <Xns902810B63farkle@24.64.2.57> <Xns902986DD3fsepADFJASDU@207.217.77.23>

Show Full Headers
Complete Article Headers
Message-ID: <Xns90298134Dfarkle@24.64.2.57>
Subject: Re: Xnews: How to limit xref number for one group only?
Date: Sun, 14 Jan 2001 20:41:34 GMT
From: mwp@home.com.invalid (Murray Peterson)
References: <Xns9027D0A4AfsepADFJASDU@207.217.77.23> <Xns902810B63farkle@24.64.2.57> <Xns902986DD3fsepADFJASDU@207.217.77.23>
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!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!newsfeed.direct.ca!look.ca!newshub2.rdc1.sfba.home.com!news.home.com!news1.rdc1.ab.home.com.POSTED!not-for-mail
Newsgroups: news.software.readers
User-Agent: Xnews/03.12.29
Reply-To: murraywpeterson@home.com
Lines: 46
NNTP-Posting-Host: 24.64.55.45
X-Complaints-To: abuse@home.net
X-Trace: news1.rdc1.ab.home.com 979504894 24.64.55.45 (Sun, 14 Jan 2001 12:41:34 PST)
NNTP-Posting-Date: Sun, 14 Jan 2001 12:41:34 PST
Organization: Excite@Home - The Leader in Broadband http://home.com/faster