🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #262103

Re: [xnews]filtering newsgroup headers to be fetched

#262103
From: DH2
Date: Mon, 05 Jun 2017 15:09
50 lines
2724 bytes
Nil <rednoise9@REMOVETHIScomcast.net> wrote in 
news:XnsA78A9170627E8nilch1@wheedledeedle.moc:

> On 04 Jun 2017, DH2 <Twiddle@DeeDum.org> wrote in
> news.software.readers: 
> 
>> When i get headers from the moovee group T only want headers
>> downloaded that meet the following criteria:
>> 
>> \.nfo|\.srr|\.par2|\.jpg|\.nzb|subs
>> 
>> and no other.
>> 
>> is it possiblen by putting something in either groups.ini or
>> xnews.ini to have only headers fitting my criteria to be fetched
>> and all others ignored?
> 
> You don't describe precisely what you want to do. Do you mean Subjects 
> with those strings in it? That would be the basis for a good scoring 
> recipe in score.ini where you kill everything that doesn't meet that 
> criteria. Something like:
> 
> Score:: -9999
>     ~Subject: \.nfo|\.srr|\.par2|\.jpg|\.nzb|subs
> 
> You still have to download minimal headers for everything, though, in 
> order for Xnews to examine them. There's no way to avoid that.

thanks for taking the time to reply

Sorry that I wasn't more precise.

Yes, I only want to retrieve the headers that contain \.nfo|\.srr|\.par2|
\.jpg|\.nzb|subs in the subject and ignore the rest

When viewing the window that has all of the newsgroups listed I normally 
just press enter to retrieve all new headers since previous retrieval.

With one particular newsgroup I always have to hit ctrl-enter & when the 
box pops up I use the 'set filter' option and then fill in the 'subject' 
matches \.nfo|\.srr|\.par2|\.jpg|\.nzb|subs 

So, is prefacing "Subject" in score.ini with a ~ (tilde) 
the same as saying retrieve headers containing the strings
\.nfo|\.srr|\.par2|\.jpg|\.nzb|subs and ignore the rest?

I guess that doing it the way that I have, entering a filter manually, 
still retrieves all the headers but only shows the ones the pass my 
filter, the same way that you say that "You still have to download 
minimal headers for everything"
Technical Details
Message-ID: <XnsA78BAE3E27DA3Twiddle5Dee6Dum@208.90.168.18>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
References: <XnsA78AB3796E086Twiddle5Dee6Dum@208.90.168.18> <XnsA78A9170627E8nilch1@wheedledeedle.moc>

Show Full Headers
Complete Article Headers
Message-ID: <XnsA78BAE3E27DA3Twiddle5Dee6Dum@208.90.168.18>
Subject: Re: [xnews]filtering newsgroup headers to be fetched
Date: Mon, 05 Jun 2017 15:09:00 +0000
From: DH2 <Twiddle@DeeDum.org>
References: <XnsA78AB3796E086Twiddle5Dee6Dum@208.90.168.18> <XnsA78A9170627E8nilch1@wheedledeedle.moc>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail
Newsgroups: news.software.readers
Organization: Altopia Corp. - Usenet Access - www.altopia.com
Lines: 51
User-Agent: Xnews/2006.08.05
X-Received-Bytes: 2453
X-Received-Body-CRC: 51316260