Article View: news.software.readers
Article #126851Re: [slrn] not applying Xnews generated score file
From: DC
Date: Mon, 23 Jun 2003 00:07
Date: Mon, 23 Jun 2003 00:07
62 lines
3412 bytes
3412 bytes
On Sun, 22 Jun 2003 23:25:38 GMT, ras2 <removethis@gmx.net> wrote: > On 2003-06-22 22:51:52 GMT, DC <dcmoose@myrealbox.com> > wrote in <bd5bu7$peip2$1@ID-120562.news.dfncis.de>: > >> For some reason, slrn is not interpreting my Xnews score file. I copied >> it by mv score.ini /News/Score and the .slrnrc file points to it >> correctly. >> >> Odd thing is, scoring is not applied when I open a group. >> >> If I add a scoring rule with slrn, it gets appended to my existing >> News/Score file and is applied properly. Any rules that I had defined >> using Xnews are seemingly ignored. > > I don't know if it matters to slrn, but you could check the line endings; > they're probably in DOS format. I'll bet they are. I never thought of that. Is there a quick way to convert the line feed codes in plain text files? >> I did a test of this using an article from this group. I currently have >> a rule under [^news\.software\.readers$], but when I create a new rule, >> it (slrn) generates the new heading [news.software.readers] and does not >> reuse the existing one. > > Well, that's what it always does. Doesn't that lead to *huge* scorefiles? Is that efficient? Surely, this must slow down the scoring process? > But slrn doesn't understand Xnews' format for that; Xnews uses a > regexp, slrn a wildmat. <sound of DC Googling "wildmat"> Thanks. > So you need to change those, at least (if slrn doesn't understand a > single one of the group patterns in your Xnews scorefile, that may be > the reason no scores are applied). Okeydokey. >> I know that Xnews' scoring was based on slrn's, but I seriously doubt >> that it is not reverse compatible. > > Xnews uses PCRE (or something like it), so the two systems aren't > entirely compatible; any rule that uses | for OR won't work in > slrn (yet). I suspect some escapes may be different too. So, if I understand you correctly, everywhere that I have used a pipe to separate expressions (to indicate OR) must now be placed on seperate lines? Whoa! I've go *tons* of those, which I used to condense my scorefile. I guess I've got some work to do... Thanks for the info. }:O) -- DC Don't get Longhorned -- get Linux.
Technical Details
Message-ID:
<bd5gcm$p8i07$2@ID-120562.news.dfncis.de>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!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!hsdbmj64-110-247-174.sasknet.sk.CA!not-for-mailReferences:
<bd5bu7$peip2$1@ID-120562.news.dfncis.de> <slrnbfcemt.im.removethis@gmx.net>Show Full Headers
Complete Article Headers
Message-ID: <bd5gcm$p8i07$2@ID-120562.news.dfncis.de> Subject: Re: [slrn] not applying Xnews generated score file Date: Mon, 23 Jun 2003 00:07:50 +0000 From: DC <dcmoose@myrealbox.com> References: <bd5bu7$peip2$1@ID-120562.news.dfncis.de> <slrnbfcemt.im.removethis@gmx.net> 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!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!hsdbmj64-110-247-174.sasknet.sk.CA!not-for-mail Newsgroups: news.software.readers Organization: http://dcicons.tripod.com Lines: 61 NNTP-Posting-Host: hsdbmj64-110-247-174.sasknet.sk.ca (64.110.247.174) X-Trace: fu-berlin.de 1056326870 26494983 64.110.247.174 (16 [120562]) X-Operating-System: Mandrake Linux 9.1 (Kernel 2.4.21) X-Face: XeDX9&%4f9R)csZS0JIM0Ne.|`vvPz[UB=~c]D?!fG]wUmdd#f8?r6]FO^jaB],lsfc]|D+5yTMG44pK]\-y"7|xW"7tAEfrHp+p(y;,k!f4ovAe9QxEk\YO&BE5k~$)OGxU@7DH--E|G0rO@ckJm^29d*EjPd5 User-Agent: slrn/0.9.7.4 (Linux)