🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #82763

Re: [slrnpull] How do I turn on expensive scoring?

#82763
From: Jurriaan (note: this is a workin...
Date: Sat, 11 Aug 2001 05:38
55 lines
3484 bytes
On Sat, 11 Aug 2001 02:45:10 GMT, Paul Colquhoun
<postmaster@andor.dropbear.id.au> wrote:
> On 10 Aug 2001 18:45:38 GMT, Jurriaan (note: this is a working address!) <no_spam_here@rivierenland.xs4all.nl> wrote:
>| On Fri, 10 Aug 2001 04:40:08 GMT, Paul Colquhoun
>| <postmaster@andor.dropbear.id.au> wrote:
>|> I am using slrnpull to bring a small feed onto my local disk, so I can
>|> archive the posts for longer than my ISP new server normally holds them.
>|> 
>|> I am trying to avoid the current HipSlime floods in news.admin.net-abuse.email
>|> but I can't seem to get slrnpull to filter on "NNTP-Posting-Host:" or
>|> on the "Path:" header. The same rules are working correctly in slrn when
>|> I actually read the group, but I would prefer not to download the articles
>|> at all.
>|> 
>| I'm not sure it matters - if slrnpull would score expensively, it'd have
>| to download the header anyway (that's why it's called expensive!).
>| However, I'd love to be proved wrong about this!
> 
> True, but I would get to skip the body, that's a 50% saving (if not more,
> given the usual size of DipSlime newsflood postings), *and* the articles
> wil not get onto my local drive, freeing up valuable space.
> 
> It would be nice to have the option, esecially on a group by group basis,
> rather than be limited to XOVER stuff.
> 
Hmm, my slrnpull 0.9.7.1pl3 does call slrn_score_header() later on in
fetch_head(), which means it scores the entire header. But wait, before
that, the following happens:

   /* Now score this header. */
   if (-1 == xover_parse_head (n, *headers, xov))
     {
        slrn_free (*headers);
        *headers = NULL;
        return 0;
     }
...
   slrn_map_xover_to_header (xov, &h);
...
   score = slrn_score_header (&h, g->name);

So it converts the header it has read to xov-format, and then converts
the xov-format to the header it's about to score. If I read
copy_add_headers() etc. correctly, it still means the entire header
should be available to score on.

At this stage, I'm not sure anymore.

Jurriaan
-- 
BOFH excuse #371:

Incorrectly configured static routes on the corerouters.
GNU/Linux 2.4.7-ac11 SMP/ReiserFS 2x1402 bogomips load av: 0.01 0.17 0.13
Technical Details
Message-ID: <slrn9n9gkj.745.no_spam_here@middle.of.nowhere>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!transit.news.xs4all.nl!not-for-mail
References: <slrn9n6oop.ivj.postmaster@tux.andor.dropbear.id.au> <slrn9n8a0i.98u.no_spam_here@middle.of.nowhere> <slrn9n96v9.4t8.postmaster@tux.andor.dropbear.id.au>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9n9gkj.745.no_spam_here@middle.of.nowhere>
Subject: Re: [slrnpull] How do I turn on expensive scoring?
Date: Sat, 11 Aug 2001 05:38:44 +0000
From: "Jurriaan (note: this is a working address!)" <no_spam_here@rivierenland.xs4all.nl>
References: <slrn9n6oop.ivj.postmaster@tux.andor.dropbear.id.au> <slrn9n8a0i.98u.no_spam_here@middle.of.nowhere> <slrn9n96v9.4t8.postmaster@tux.andor.dropbear.id.au>
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!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!195.86.7.162!newsfeed.wirehub.nl!transit.news.xs4all.nl!not-for-mail
Newsgroups: news.software.readers
Organization: XS4ALL Internet BV
Lines: 54
NNTP-Posting-Host: rivierenland.xs4all.nl
X-Trace: news1.xs4all.nl 997508324 25054 194.109.14.47 (11 Aug 2001 05:38:44 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 11 Aug 2001 05:38:44 GMT
X-Face: b$-F+98,@$_I=*ODq'<K2(OA)qC&,(GP=z2^`4dwQwy&e;!|R?>")k9FH3?YC+%*kF\=<Rx"Hy2_eyMtnFSiO8
User-Agent: slrn/0.9.7.1jwk-pl3 (Linux)