🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #138016

[Xnews]Score, then Actions {was: The scoring makes senc}

#138016
From: Tech Zero
Date: Sun, 23 Nov 2003 06:25
56 lines
3319 bytes
The voice of "Jeff Relf" drifted in on the cyber-winds, 
from the sea of virtual chaos...

>> I don't like to see a group full of scored articles
> 
> Oh, now I see, You must be viewing all of the titles, even if they
> have been read. Most of the time I only see titles that are unread...


No, I prefer to see Threads with unread messages. That way I have some 
context to go by when composing replies (especially in your case)...

I only see threads that have unread messages, and messages with a score 
greater then or equal to 0 until the first refresh. I use an Onloaded 
line set in my Groups.ini, so the complete "Score & Action" taken when 
I open the NSR group would be...

Score.ini: {on header fetch}
  [.] 
  % Message Tagging...
  Score: =9000
     Message-ID: ZeroOne@
     ~References: @
  Score:: 3500
     References: ZeroOne@([^>]*>)$
  Score: =1000
     References: ZeroOne@([^>]*>){2,4}$

  [~binaries]
  % General TnS Filters...
  <sniped for space>

  [^news\.software\.readers$]
  Score:: -1000
     Subject: Gravity|\btin
     ~Subject: \bx.?(news|face|pat)|filter|follow|ignor|new(bie|src)|queue|regex|scor|stats

Groups.ini: {after header download}
  [~binaries]
  OnLoaded=acvWordWrap+,acvShowGe0Score,acvShowThNew,!,acvRemoveFilter,acvShowThUnread
  SortOn=Score
  SortOrder=-1

The score entries are fairly straightforward. Its just PCRE after all, 
with Xnews' score file layout. In the NSR entries "::" is logical OR, 
and "~" is "Not" (reverses an test's return value). Since Xnews process 
test entries from the top down, if the first test gets a positive 
return the second test isn't done for OR. Cool huh?

The group entry settings here would be the equivalent view setting in 
OE, or some actions in Dialog. Each function corresponds directly to 
their name, so "acvShowGe0Score" is "Gets 0 Scored (<=0)" and 
"acvShowThNew" whould "Show New Threads Only"... It's pretty simple.

-- 
The Tech Zero (Maxwell Pollare), Lost in the keys of Xnews...
Technical Details
Message-ID: <Xns943BEE3D41378ZeroOne@news.individual.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.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!d142-59-101-173.abhsia.telus.NET!not-for-mail
References: <tkl091-96r.ln1@news.gates_of_hell.INVALID> <11nx68tkit54h$.dlg@__.Jeff.Relf> <m2ad6pgxn2.fsf@maxqnz.com> <ayuuq25n6bph$.dlg@__.Jeff.Relf> <Xns943AB8CC42F0EZeroOne@news.individual.net> <1ux191g8juvhs$.dlg@__.Jeff.Relf> <xkahjp33qu5c$.dlg@__.Jeff.Relf> <Xns943B78A7E6148ZeroOne@news.individual.net> <18ear1zle3vcs.dlg@__.Jeff.Relf>

Show Full Headers
Complete Article Headers
Message-ID: <Xns943BEE3D41378ZeroOne@news.individual.net>
Subject: [Xnews]Score, then Actions {was: The scoring makes senc}
Date: Sun, 23 Nov 2003 06:25:10 +0000
From: Tech Zero <spamnet-nov@dragonfur.ca>
References: <tkl091-96r.ln1@news.gates_of_hell.INVALID> <11nx68tkit54h$.dlg@__.Jeff.Relf> <m2ad6pgxn2.fsf@maxqnz.com> <ayuuq25n6bph$.dlg@__.Jeff.Relf> <Xns943AB8CC42F0EZeroOne@news.individual.net> <1ux191g8juvhs$.dlg@__.Jeff.Relf> <xkahjp33qu5c$.dlg@__.Jeff.Relf> <Xns943B78A7E6148ZeroOne@news.individual.net> <18ear1zle3vcs.dlg@__.Jeff.Relf>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border3.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.cwix.com!newsfeed.vmunix.org!fu-berlin.de!uni-berlin.de!d142-59-101-173.abhsia.telus.NET!not-for-mail
Newsgroups: news.software.readers
Lines: 56
NNTP-Posting-Host: d142-59-101-173.abhsia.telus.net (142.59.101.173)
X-Trace: news.uni-berlin.de 1069568710 61508893 142.59.101.173 (16 [139626])
User-Agent: Xnews/06.01.10