Thread View: news.software.readers
18 messages
18 total messages
Started by houghi
Thu, 12 Feb 2009 13:36
[slrn] Scoring on extra headers
Author: houghi
Date: Thu, 12 Feb 2009 13:36
Date: Thu, 12 Feb 2009 13:36
18 lines
1627 bytes
1627 bytes
I have looked via google for an answer but could not find it. I would like to score one every message that has "X-Newsreader:" in its headers with slrn on Linux. I tried [*] Score: =666 ^X-Newsreader: However that does not seem to work. I do not run slrn with the -k0 option. Standard scoring on From, Subject and so on works just fine. Any help is realy apreciated. houghi -- Usenet is like a herd of performing elephants with diarrhea - massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it.
Re: [slrn] Scoring on extra headers
Author: Martin Trautmann
Date: Thu, 12 Feb 2009 13:47
Date: Thu, 12 Feb 2009 13:47
24 lines
1772 bytes
1772 bytes
On Thu, 12 Feb 2009 14:36:24 +0100, houghi wrote: > I have looked via google for an answer but could not find it. > > I would like to score one every message that has "X-Newsreader:" in its > headers with slrn on Linux. I tried > [*] > Score: =666 > ^X-Newsreader: > > However that does not seem to work. I do not run slrn with the -k0 > option. Standard scoring on From, Subject and so on works just fine. Is there anything you need? My score contains [*] Score: 998 References: ID-685\. and works just fine. Just don't use the beginning-of-line regex.
Re: [slrn] Scoring on extra headers
Author: houghi
Date: Thu, 12 Feb 2009 14:18
Date: Thu, 12 Feb 2009 14:18
35 lines
1914 bytes
1914 bytes
Martin Trautmann wrote: > Is there anything you need? > > My score contains > > [*] > Score: 998 > References: ID-685\. > > and works just fine. > > > Just don't use the beginning-of-line regex. I have now the following: [*] Score: 100 User-Agent: slrn This should give both my and your post a score of +8. It doesn't. I also have the following: [*] Score: 500 References: houghi That does work. So filtering in itself does work. Filtering on e.g. User-Agent does not work for some reason. houghi -- Usenet is like a herd of performing elephants with diarrhea - massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it.
Re: [slrn] Scoring on extra headers
Author: Whiskers
Date: Thu, 12 Feb 2009 14:26
Date: Thu, 12 Feb 2009 14:26
23 lines
2068 bytes
2068 bytes
On 2009-02-12, houghi <houghi@houghi.org.invalid> wrote: > I have looked via google for an answer but could not find it. > > I would like to score one every message that has "X-Newsreader:" in its > headers with slrn on Linux. I tried > [*] > Score: =666 > ^X-Newsreader: > > However that does not seem to work. I do not run slrn with the -k0 > option. Standard scoring on From, Subject and so on works just fine. > > Any help is realy apreciated. > > houghi I don't think you can score on the mere presence or absence of a header, only on what that header contains. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] Scoring on extra headers
Author: wannes
Date: Thu, 12 Feb 2009 14:31
Date: Thu, 12 Feb 2009 14:31
8 lines
1342 bytes
1342 bytes
Whiskers schreef: > > I don't think you can score on the mere presence or absence of a header, > only on what that header contains. That would be X-Header: . in my minimal regexp skills
Re: [slrn] Scoring on extra headers
Author: houghi
Date: Thu, 12 Feb 2009 15:08
Date: Thu, 12 Feb 2009 15:08
11 lines
1513 bytes
1513 bytes
Whiskers wrote: > I don't think you can score on the mere presence or absence of a header, > only on what that header contains. OK. When I try "User-Agent: slrn" also nothing happens. houghi -- Usenet is like a herd of performing elephants with diarrhea - massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it.
Re: [slrn] Scoring on extra headers
Author: Martin Trautmann
Date: Thu, 12 Feb 2009 15:37
Date: Thu, 12 Feb 2009 15:37
26 lines
2191 bytes
2191 bytes
On Thu, 12 Feb 2009 16:08:48 +0100, houghi wrote: > Whiskers wrote: > > I don't think you can score on the mere presence or absence of a header, > > only on what that header contains. > > OK. When I try "User-Agent: slrn" also nothing happens. Here it does ->! D 1009 35:[houghi ] ββ¬βRe: [slrn] Scoring on extra headers 3! D 11 23:[Whiskers ] ββ> 4! D 11 8:[wannes ] ββ> 5! D 11 11:[houghi ] ββ> ... and a score entry of [news.software.readers] Score: 11 %Expires: % Subject: Re: \[slrn\] Scoring on extra headers % From: houghi <houghi@houghi\.org\.invalid> % References: <slrngp8es0\.qor\.houghi@pasta\.houghi> % Xref: news\.arcor\.de news\.software\.readers:236446 % Newsgroup: news\.software\.readers User-Agent: slrn
Re: [slrn] Scoring on extra headers
Author: houghi
Date: Thu, 12 Feb 2009 15:50
Date: Thu, 12 Feb 2009 15:50
25 lines
1982 bytes
1982 bytes
Martin Trautmann wrote: >> OK. When I try "User-Agent: slrn" also nothing happens. > > Here it does So why does it not with me? > [news.software.readers] > Score: 11 > %Expires: > % Subject: Re: \[slrn\] Scoring on extra headers > % From: houghi <houghi@houghi\.org\.invalid> > % References: <slrngp8es0\.qor\.houghi@pasta\.houghi> > % Xref: news\.arcor\.de news\.software\.readers:236446 > % Newsgroup: news\.software\.readers > User-Agent: slrn I copied and pasted it, closed slrn and restarted it again just to be sure and nothing. houghi -- Usenet is like a herd of performing elephants with diarrhea - massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it.
Re: [slrn] Scoring on extra headers
Author: Martin Trautmann
Date: Thu, 12 Feb 2009 16:23
Date: Thu, 12 Feb 2009 16:23
16 lines
1680 bytes
1680 bytes
On Thu, 12 Feb 2009 16:50:29 +0100, houghi wrote:
> Martin Trautmann wrote:
> >> OK. When I try "User-Agent: slrn" also nothing happens.
> >
> > Here it does
>
> So why does it not with me?
Yours is
slrn/0.9.8.1pl1 (Linux)
^
Mine is
slrn/0.9.9 (Linux)
Maybe you should give this a try?
Re: [slrn] Scoring on extra headers
Author: houghi
Date: Thu, 12 Feb 2009 16:37
Date: Thu, 12 Feb 2009 16:37
27 lines
1876 bytes
1876 bytes
Martin Trautmann wrote: > > > On Thu, 12 Feb 2009 16:50:29 +0100, houghi wrote: >> Martin Trautmann wrote: >> >> OK. When I try "User-Agent: slrn" also nothing happens. >> > >> > Here it does >> >> So why does it not with me? > > Yours is > slrn/0.9.8.1pl1 (Linux) > ^ > > Mine is > slrn/0.9.9 (Linux) > > Maybe you should give this a try? Still nothing. houghi -- Usenet is like a herd of performing elephants with diarrhea - massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it.
Re: [slrn] Scoring on extra headers
Author: Martin Trautmann
Date: Thu, 12 Feb 2009 16:48
Date: Thu, 12 Feb 2009 16:48
30 lines
2245 bytes
2245 bytes
On Thu, 12 Feb 2009 17:37:45 +0100, houghi wrote:
> > Mine is
> > slrn/0.9.9 (Linux)
> >
> > Maybe you should give this a try?
>
> Still nothing.
Strange. What else differs here? I did not find anything specific within
my .slrnrc.
slrn --version
slrn 0.9.9
S-Lang Library Version: 2.1.3
Compiled at: Aug 25 2008 10:17:09
Operating System: Linux
COMPILE TIME OPTIONS:
Backends: +nntp -slrnpull -spool
External programs / libs: -canlock -inews -ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs +gen_msgid
-grouplens -msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
Same for you (probably even better?)
Re: [slrn] Scoring on extra headers
Author: Whiskers
Date: Thu, 12 Feb 2009 17:07
Date: Thu, 12 Feb 2009 17:07
33 lines
2538 bytes
2538 bytes
On 2009-02-12, Martin Trautmann <t-use@gmx.net> wrote: > On Thu, 12 Feb 2009 16:50:29 +0100, houghi wrote: >> Martin Trautmann wrote: >> >> OK. When I try "User-Agent: slrn" also nothing happens. >> > >> > Here it does >> >> So why does it not with me? > > Yours is > slrn/0.9.8.1pl1 (Linux) > ^ I've read before that that version is deprecated - ie it doesn't quite work properly. I think it may still be the pre-compiled binary offered by some distros though - Debian springs to mind, which could involve Debian derivitives such as Ubuntu too. > Mine is > slrn/0.9.9 (Linux) > > Maybe you should give this a try? Download the latest source from the fine newly-remodelled homepage <http://slrn.sourceforge.net/>. There are more recent Debian binaries there too (marked 'testing' and 'unstable'), and the current slrn SVN version compiled for Ubuntu, which are probably worth trying if you don't want to compile your own. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] Scoring on extra headers
Author: Whiskers
Date: Thu, 12 Feb 2009 17:08
Date: Thu, 12 Feb 2009 17:08
33 lines
2428 bytes
2428 bytes
On 2009-02-12, Martin Trautmann <t-use@gmx.net> wrote: > On Thu, 12 Feb 2009 16:08:48 +0100, houghi wrote: >> Whiskers wrote: >> > I don't think you can score on the mere presence or absence of a header, >> > only on what that header contains. >> >> OK. When I try "User-Agent: slrn" also nothing happens. > > Here it does > > ->! D 1009 35:[houghi ] ββ¬βRe: [slrn] Scoring on extra headers > 3! D 11 23:[Whiskers ] ββ> > 4! D 11 8:[wannes ] ββ> > 5! D 11 11:[houghi ] ββ> > > ... and a score entry of > > [news.software.readers] > Score: 11 > %Expires: > % Subject: Re: \[slrn\] Scoring on extra headers > % From: houghi <houghi@houghi\.org\.invalid> > % References: <slrngp8es0\.qor\.houghi@pasta\.houghi> > % Xref: news\.arcor\.de news\.software\.readers:236446 > % Newsgroup: news\.software\.readers > User-Agent: slrn Works here too. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] Scoring on extra headers
Author: houghi
Date: Thu, 12 Feb 2009 18:31
Date: Thu, 12 Feb 2009 18:31
49 lines
2709 bytes
2709 bytes
Martin Trautmann wrote: > On Thu, 12 Feb 2009 17:37:45 +0100, houghi wrote: >> > Mine is >> > slrn/0.9.9 (Linux) >> > >> > Maybe you should give this a try? >> >> Still nothing. > > Strange. What else differs here? I did not find anything specific within > my .slrnrc. I also looked in slrnrc and could not find anything. <snip> > Same for you (probably even better?) I just used the pre-compiled one, did a compile from the source and then did tests with both. Then I tried with an almost empty slrnrc. Just a pointer to the Score file and told what my host was. Still nothing. Then I removed everything from the Score file and just placed the one filter in and then it worked, so it was something in the Score file. By adding and removing things I found out what it was: [*] Score : 9 NNTP-Posting-Host: 72.197.142.200 It must be [*] Score: 9 NNTP-Posting-Host: 72.197.142.200 No idea why it just affected this one filter while all the others did work. Also a pity that it did not complain about it. Anyway, I found it and as usual it was human error. Thanks for the input and feedback. houghi -- Usenet is like a herd of performing elephants with diarrhea - massive, difficult to redirect, awe-inspiring, entertaining, and a source of mind-boggling amounts of excrement when you least expect it.
Re: [slrn] Scoring on extra headers
Author: John E. Davis
Date: Thu, 12 Feb 2009 18:42
Date: Thu, 12 Feb 2009 18:42
16 lines
1537 bytes
1537 bytes
On Thu, 12 Feb 2009 17:37:45 +0100, houghi <houghi@houghi.org.invalid> wrote: >> slrn/0.9.9 (Linux) >> >> Maybe you should give this a try? > > Still nothing. Perhaps the output of slrn --show-config will reveal the problem. Thanks, --John
Re: [slrn] Scoring on extra headers
Author: Peter J Ross
Date: Thu, 12 Feb 2009 18:48
Date: Thu, 12 Feb 2009 18:48
41 lines
2761 bytes
2761 bytes
In news.software.readers on 12 Feb 2009 16:48:20 GMT, Martin Trautmann <t-use@gmx.net> wrote: > On Thu, 12 Feb 2009 17:37:45 +0100, houghi wrote: >> > Mine is >> > slrn/0.9.9 (Linux) >> > >> > Maybe you should give this a try? >> >> Still nothing. > > Strange. What else differs here? I suspect that houghi's news server has a broken implementation of the XHDR command. This may work in .slrnrc: set prefer_head 1 <http://slrn.sourceforge.net/docs/slrn-manual-6.html#ss6.74> Using this variable is a last resort, since *all* scoring is likely to be slower if HEAD is used instead of XOVER and XHDR. In general, here's how to check for the presence or absence of a header line: Score: 100 % applies if header line is present X-Header: . Score: -100 % applies if header line is absent ~X-Header: . "." indicates "any character", and "~" indicates "not". -- PJR :-) slrn newsreader v0.9.9p1: http://slrn.sourceforge.net/ extra slrn documentation: http://slrn-doc.sourceforge.net/ newsgroup name validator: http://pjr.lasnobberia.net/usenet/validator
Re: [slrn] Scoring on extra headers
Author: Whiskers
Date: Thu, 12 Feb 2009 19:13
Date: Thu, 12 Feb 2009 19:13
42 lines
2711 bytes
2711 bytes
On 2009-02-12, Peter J Ross <pjr@example.invalid> wrote: > In news.software.readers on 12 Feb 2009 16:48:20 GMT, Martin Trautmann > <t-use@gmx.net> wrote: > >> On Thu, 12 Feb 2009 17:37:45 +0100, houghi wrote: >>> > Mine is >>> > slrn/0.9.9 (Linux) >>> > >>> > Maybe you should give this a try? >>> >>> Still nothing. >> >> Strange. What else differs here? > > I suspect that houghi's news server has a broken implementation of the > XHDR command. This may work in .slrnrc: > > set prefer_head 1 > > <http://slrn.sourceforge.net/docs/slrn-manual-6.html#ss6.74> > > Using this variable is a last resort, since *all* scoring is likely to > be slower if HEAD is used instead of XOVER and XHDR. > > > In general, here's how to check for the presence or absence of a > header line: > > Score: 100 % applies if header line is present > X-Header: . > > Score: -100 % applies if header line is absent > ~X-Header: . > > "." indicates "any character", and "~" indicates "not". Aha! Neat :)) -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
I see no need for XOVER, I don't know why anyone would.
Author: Jeffβ²Relf
Date: Thu, 12 Feb 2009 19:15
Date: Thu, 12 Feb 2009 19:15
3 lines
1356 bytes
1356 bytes
Normally, I only have dailup ( I get broadband in the early morning ). I download thousand of full articles ( bodies, not just headers ). I see no need for XOVER, I don't know why anyone would.
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