Thread View: news.software.readers
10 messages
10 total messages
Started by DH2
Sun, 04 Jun 2017 15:39
[xnews]filtering newsgroup headers to be fetched
Author: DH2
Date: Sun, 04 Jun 2017 15:39
Date: Sun, 04 Jun 2017 15:39
17 lines
992 bytes
992 bytes
Hi, 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? thanks in advance DH2
Re: [xnews]filtering newsgroup headers to be fetched
Author: Guy
Date: Sun, 04 Jun 2017 16:15
Date: Sun, 04 Jun 2017 16:15
14 lines
1866 bytes
1866 bytes
DH2 wrote: > 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? > No, must fetch all then cull visible via score. -- Xnews Icon Patcher Files <http://xnews-icon-patchers.tk/patcher.html>
Re: [xnews]filtering newsgroup headers to be fetched
Author: Nil
Date: Sun, 04 Jun 2017 18:17
Date: Sun, 04 Jun 2017 18:17
24 lines
1776 bytes
1776 bytes
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.
Re: [xnews]filtering newsgroup headers to be fetched
Author: Mark Blain
Date: Sun, 04 Jun 2017 18:41
Date: Sun, 04 Jun 2017 18:41
20 lines
1726 bytes
1726 bytes
DH2 <Twiddle@DeeDum.org> wrote in news:XnsA78AB3796E086Twiddle5Dee6Dum@208.90.168.18: > 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? No. Xnews supports XPAT searching (see the help file), but it's not fancy enough or automatic enough to do what you want. It's better for occasional, one-time searches for a particular item, if your news provider supports it (many don't). Your other options are to download all headers (and then filter them on your own pc), or use a usenet indexer. https://www.reddit.com/r/usenet/wiki/indexers
Re: [xnews]filtering newsgroup headers to be fetched
Author: DH2
Date: Mon, 05 Jun 2017 15:09
Date: Mon, 05 Jun 2017 15:09
50 lines
2724 bytes
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"
Re: [xnews]filtering newsgroup headers to be fetched
Author: DH2
Date: Mon, 05 Jun 2017 16:56
Date: Mon, 05 Jun 2017 16:56
25 lines
1753 bytes
1753 bytes
Mark Blain <mblain2@yahoo.com> wrote in news:XnsA78A9576E292Cmblainalbany@ 216.151.153.39: > DH2 <Twiddle@DeeDum.org> wrote in > news:XnsA78AB3796E086Twiddle5Dee6Dum@208.90.168.18: > >> 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? > > No. Xnews supports XPAT searching (see the help file), but it's not > fancy enough or automatic enough to do what you want. It's better for > occasional, one-time searches for a particular item, if your news > provider supports it (many don't). Your other options are to download > all headers (and then filter them on your own pc), or use a usenet > indexer. https://www.reddit.com/r/usenet/wiki/indexers thanks for taking the time to answer
Re: [xnews]filtering newsgroup headers to be fetched
Author: Nil
Date: Tue, 06 Jun 2017 06:33
Date: Tue, 06 Jun 2017 06:33
18 lines
1790 bytes
1790 bytes
On 05 Jun 2017, DH2 <Twiddle@DeeDum.org> wrote in news.software.readers: > 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? The tilde negates the score criteria. In other words, that recipe will downscore/kill any post that does NOT have \.nfo|\.srr|\.par2|\.jpg|\.nzb|subs in the subject. > 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" I guess it amounts to the same thing, but Xnews's scoring system will do it for you automatically.
Re: [xnews]filtering newsgroup headers to be fetched
Author: DH2
Date: Tue, 06 Jun 2017 15:15
Date: Tue, 06 Jun 2017 15:15
28 lines
1983 bytes
1983 bytes
Nil <rednoise9@REMOVETHIScomcast.net> wrote in news:XnsA78C19F80A3E0nilch1 @wheedledeedle.moc: > On 05 Jun 2017, DH2 <Twiddle@DeeDum.org> wrote in > news.software.readers: > >> 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? > > The tilde negates the score criteria. In other words, that recipe will > downscore/kill any post that does NOT have > \.nfo|\.srr|\.par2|\.jpg|\.nzb|subs in the subject. > >> 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" > > I guess it amounts to the same thing, but Xnews's scoring system will > do it for you automatically. > thanks a lot for you help! The tilde did the job. I have a score file with over 10K lines in it, but was not aware of the use of the tilde in scoring. But, there is probably a lot about xnews that I'm not aware of ;)
Re: [xnews]filtering newsgroup headers to be fetched
Author: Nil
Date: Tue, 06 Jun 2017 19:29
Date: Tue, 06 Jun 2017 19:29
10 lines
1557 bytes
1557 bytes
On 06 Jun 2017, DH2 <Twiddle@DeeDum.org> wrote in news.software.readers: > I have a score file with over 10K lines in it, but was not aware > of the use of the tilde in scoring. That seems excessive. The time it takes to parse that entire file has to negatively affect speed. Maybe it's time you start off with a fresh one, or at least prune out old obsolete entries. You can probably make it more efficient with some thoughtful regular expressions.
Re: [xnews]filtering newsgroup headers to be fetched
Author: DH2
Date: Fri, 09 Jun 2017 12:25
Date: Fri, 09 Jun 2017 12:25
34 lines
2292 bytes
2292 bytes
Nil <rednoise9@REMOVETHIScomcast.net> wrote in news:XnsA78C9D886D368nilch1@wheedledeedle.moc: > On 06 Jun 2017, DH2 <Twiddle@DeeDum.org> wrote in > news.software.readers: > >> I have a score file with over 10K lines in it, but was not aware >> of the use of the tilde in scoring. > > That seems excessive. The time it takes to parse that entire file has > to negatively affect speed. Maybe it's time you start off with a fresh > one, or at least prune out old obsolete entries. You can probably make > it more efficient with some thoughtful regular expressions. > > > might be a bit excessive, I don't know. parsed the score file a bit & some of the scoring goes back to 2003, but it covers lines like "make money" & sex stuff in groups where it doesn't belong, and ilk of that sort. It just and old habit thats finding a difficulty to die that I even DL headers & in less than 10 groups, where I find it usefull to see comments posted that are not available otherwise. Over 7K of the lines cover a.b.teevee, and that's a difficult group to whittle down, but the vast majority of all of the scoring there is time limited. But I do agree with you that it would be possible to make it more efficient with some thougtful regular expressions. But the time I'd have to spend doing it doesn't seem to be worth it ;)
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