Thread View: news.software.readers
6 messages
6 total messages
Started by Mike Easter
Mon, 31 Mar 2008 18:03
Nfilter - faulty crosspost filter
Author: Mike Easter
Date: Mon, 31 Mar 2008 18:03
Date: Mon, 31 Mar 2008 18:03
23 lines
2247 bytes
2247 bytes
My nfilter dat sez: * drop Message-ID:*googlegroups* * drop Xref:*: *: *: ... where the Xref is supposed to filter out the crossposts because the Xref line contains a colon for the xref number for every newsgroup the item is crossposted to and the xref appears in the overview. Except/But... the googlegroups line works but the xref line doesn't filter out the crossposts. giganews does include the full Xref in the overview. Nfilter sez the Xref line should work for the crossposts in the faq http://www.nfilter.org/faq.html#3.6 The exact upper/lower case syntax is Xref: and/but the nfilter faq seems to sometimes ignore uppercase and sometimes not. I have regular expressions enabled. -- Mike Easter
Re: Nfilter - faulty crosspost filter
Author: Mike Easter
Date: Mon, 31 Mar 2008 18:41
Date: Mon, 31 Mar 2008 18:41
30 lines
2466 bytes
2466 bytes
Mike Easter wrote: > My nfilter dat sez: > > * drop Message-ID:*googlegroups* > * drop Xref:*: *: *: > > ... where the Xref is supposed to filter out the crossposts because > the Xref line contains a colon for the xref number for every > newsgroup the item is crossposted to and the xref appears in the > overview. > Nfilter sez the Xref line should work for the crossposts in the faq > http://www.nfilter.org/faq.html#3.6 > > The exact upper/lower case syntax is Xref: and/but the nfilter faq > seems to sometimes ignore uppercase and sometimes not. I have regular > expressions enabled. Searching showed me a suggestion for some periods for a regex, so I put some/a period/s in there and it seems to work: * drop Message-ID:*googlegroups* * drop xref:*:.*: ... that one is configured to drop anything crossposted to two or more groups. -- Mike Easter
Re: Nfilter - faulty crosspost filter
Author: Ralph Fox
Date: Tue, 01 Apr 2008 10:27
Date: Tue, 01 Apr 2008 10:27
33 lines
2307 bytes
2307 bytes
On Mon, 31 Mar 2008 11:03:20 -0700, in message <H9KdnYX9wZv9umzanZ2dnUVZ_jednZ2d@earthlink.com>,
Mike Easter wrote:
> * drop Xref:*: *: *:
> but the xref line doesn't
> filter out the crossposts.
> Nfilter sez the Xref line should work for the crossposts in the faq
> http://www.nfilter.org/faq.html#3.6
Here is the Xref line from the NFilter FAQ
* drop xref:*:*:*:*
Differences from your Xref line
1) The ':' colons don't have spaces after them
2) The Xref line ends with a '*' asterisk, not a ':' colon.
> I have regular
> expressions enabled.
That Xref line in the NFilter FAQ is designed for regular expressions _disabled_.
--
Cheers,
Ralph
Re: Nfilter - faulty crosspost filter
Author: Mike Easter
Date: Tue, 01 Apr 2008 14:08
Date: Tue, 01 Apr 2008 14:08
32 lines
2293 bytes
2293 bytes
Ralph Fox wrote: > Mike Easter wrote: > >> * drop Xref:*: *: *: > >> but the xref line doesn't >> filter out the crossposts. > >> Nfilter sez the Xref line should work for the crossposts in the faq >> http://www.nfilter.org/faq.html#3.6 > > > Here is the Xref line from the NFilter FAQ > > * drop xref:*:*:*:* > > Differences from your Xref line > > 1) The ':' colons don't have spaces after them > 2) The Xref line ends with a '*' asterisk, not a ':' colon. > > >> I have regular >> expressions enabled. > > That Xref line in the NFilter FAQ is designed for regular expressions > _disabled_. Gotit. Tnx. -- Mike Easter
Re: Nfilter - faulty crosspost filter
Author: VanguardLH
Date: Sat, 05 Apr 2008 02:43
Date: Sat, 05 Apr 2008 02:43
62 lines
3777 bytes
3777 bytes
"Mike Easter" <MikeE@ster.invalid> wrote in message
news:M46dnc0U25L4rWzanZ2dnUVZ_jmdnZ2d@earthlink.com...
> Mike Easter wrote:
>> My nfilter dat sez:
>>
>> * drop Message-ID:*googlegroups*
>> * drop Xref:*: *: *:
>>
>> ... where the Xref is supposed to filter out the crossposts because
>> the Xref line contains a colon for the xref number for every
>> newsgroup the item is crossposted to and the xref appears in the
>> overview.
>
>> Nfilter sez the Xref line should work for the crossposts in the faq
>> http://www.nfilter.org/faq.html#3.6
>>
>> The exact upper/lower case syntax is Xref: and/but the nfilter faq
>> seems to sometimes ignore uppercase and sometimes not. I have
>> regular
>> expressions enabled.
>
> Searching showed me a suggestion for some periods for a regex, so I
> put
> some/a period/s in there and it seems to work:
>
> * drop Message-ID:*googlegroups*
> * drop xref:*:.*:
>
> ... that one is configured to drop anything crossposted to two or
> more
> groups.
Unless you have the regex mode enabled, use what you had but get rid
of the spaces. There are no spaces in the Xref header, so you would
use:
* drop Xref:*:*:*:
That checks if there were 3, or more, newsgroups listed. The URL you
mentioned also does *not* show spaces after the colon characters. The
Xref shows a list of newsgroups that are separate by spaces but the
index number for the post in that group is immediately after the colon
characters, as in "<groupname>:<idnum>". So there are no ": " (colon
space) sequences in the Xref header.
Although the example might show a trailing asterisk, it is not
necessary to matching on the rest of the line (to wildcard it out).
It is a substring search so all you are really doing is counting the
number of colons in the header (not colon+space sequences which aren't
there, anyway).
You could use either of the following to drop posts that were
cross-posted to more than 3 groups:
* drop Xref:*:*:*:
* drop Newsgroups:*,*,*,
The trailing delimiter would only exist if there was a 4th entry in
the line (and possibly more after that).
Re: Nfilter - faulty crosspost filter
Author: VanguardLH
Date: Sat, 05 Apr 2008 02:53
Date: Sat, 05 Apr 2008 02:53
21 lines
2275 bytes
2275 bytes
"VanguardLH" <V@nguard.LH> wrote in message
news:M8mdnZlT7KvOemvanZ2dnUVZ_tajnZ2d@comcast.com...
> The trailing delimiter would only exist if there was a 4th entry in
> the line (and possibly more after that).
Correction:
* drop Xref:*:*:*:
* drop Newsgroups:*,*,
The trailing delimiter would only exist if there was a 3rd entry in
the line (and possibly more after that), as in:
For 3, or more groups (or, more than 2 groups):
Xref: nntphost group:id group:id group:id [...] <-- 3, or more,
colons
Newsgroups: group,group,group[,...] <-- 2, or more,
commas
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