🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
4 messages
4 total messages Started by JJ Wed, 20 Mar 2013 20:44
[Xnews] How to auto-score a window?
#253878
Author: JJ
Date: Wed, 20 Mar 2013 20:44
15 lines
2017 bytes
I have some messages I want to kill and hide (hardkill). The "Enable 
scoring" and the "Hard Kill" menu items (in "Special" menu) are already 
enabled.

I've added the messages to the score file via the "Add to score file" menu, 
but the messages are only marked with different icon when the score is 
applied and they are never get hidden unless I use a filter to show only 
"score>=0".

Also, even though I've hide them using filter. They'll be show again the 
next time I start Xnews. The messages scores are lost too. Seems like the 
scoring is not saved between program sessions.

How can I do this properly and make the scoring/kill/filter be saved when 
Xnews is closed?
Re: [Xnews] How to auto-score a window?
#253879
Author: Guy
Date: Wed, 20 Mar 2013 21:48
40 lines
2678 bytes
JJ wrote:

> I have some messages I want to kill and hide (hardkill). The
> "Enable scoring" and the "Hard Kill" menu items (in "Special"
> menu) are already enabled.
> 


Is Special > Hard Kill always ticked?
 If no...
  In Xnews.ini ensure
   [Misc]
   HardKill=1

Or no entry as HardKill=1 is default.


> I've added the messages to the score file via the "Add to score
> file" menu, but the messages are only marked with different icon
> when the score is applied and they are never get hidden unless I
> use a filter to show only "score>=0".
> 


What score value did you apply?
Needs to be -9999 or less.


> Also, even though I've hide them using filter. They'll be show
> again the next time I start Xnews. The messages scores are lost
> too. Seems like the scoring is not saved between program sessions.
> 


By default only newly downloaded headers are scored.
 
In Xnews.ini
   [Misc]
   ScoreStoredHeaders=1
Re: [Xnews] How to auto-score a window?
#253880
Author: Mike Dee
Date: Wed, 20 Mar 2013 22:18
45 lines
2937 bytes
JJ wrote:

> I have some messages I want to kill and hide (hardkill). The
> "Enable scoring" and the "Hard Kill" menu items (in "Special"
> menu) are already enabled.
[...]
> 
> How can I do this properly and make the scoring/kill/filter be
> saved when Xnews is closed? 

Use scoring. 

Giving a subject or a poster a score of -9999 or less will kill 
something for good.

Use either the "Custom Filter" (F9) which brings up a modal dialog 
window where you can enter some criteria, or edit your scores by hand 
via the Special menu "Edit Score File" (Ctrl+E) giving you greater 
creative freedom for custom scoring.

For example, manuall entering into the Score File (Ctrl+E):

[.]
 Score: -9999
  Subject: poodles|spaniels|labradors

Tells Xnews not to show any article with one of those words in a 
subject in any newsgroup. [.] means all newsgroups in Xnews.

To write a score for this newsgroup alone, for example:

[news\.software\.readers]
 Score: -9999
  Subject: poodles|spaniels|labradors

Makes the score effective in this group only. Using "\" escapes the 
"." as the score is a regular expression and a "." not escaped has a 
special function.

You should also go to the "Help" menu in Xnews and bring up the 
Manual. Read sections 15, 16 & 17 (Plonk File, Score File & Regular 
Expression) for starters.

-- 
dee
Re: [Xnews] How to auto-score a window?
#253881
Author: JJ
Date: Thu, 21 Mar 2013 01:15
49 lines
2960 bytes
Guy <Use-Reply-To-Address-Header@[127.1]> wrote:
> Is Special > Hard Kill always ticked?
>  If no...
>   In Xnews.ini ensure
>    [Misc]
>    HardKill=1
> 
> Or no entry as HardKill=1 is default.

Thank you. Manually adding that INI setting fixes it.

And yes. Special > Hard Kill is ticked. But strange thing is that, 
turning off "Hard Kill" via menu doesn't write the "HardKill=0" setting 
into the INI file, even after exiting Xnews. I'm using Xnews/5.04.25 
under Windows XP 32-bit. But I see you're using Xnews/2007.02.16. My EXE 
is dated 04/25/2002. Maybe that was caused by a bug. Anyway, I'll just 
use that test version.

>> I've added the messages to the score file via the "Add to score
>> file" menu, but the messages are only marked with different icon
>> when the score is applied and they are never get hidden unless I
>> use a filter to show only "score>=0".
>> 
> 
> 
> What score value did you apply?
> Needs to be -9999 or less.

It's already -9999. And it's the only entry:

[^news\.software\.readers$]
    % generated by Xnews on Thu 21 Mar 2013 03:27:21a
    Score:: -9999
        Expires: 4/20/2013
        From: ainsleyyuleemory@gmail\.com

>> Also, even though I've hide them using filter. They'll be show
>> again the next time I start Xnews. The messages scores are lost
>> too. Seems like the scoring is not saved between program sessions.
>> 
> 
> 
> By default only newly downloaded headers are scored.
>  
> In Xnews.ini
>    [Misc]
>    ScoreStoredHeaders=1

OK. Thank you. I'll use that.
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