🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Ken Keen Sun, 27 Sep 1998 00:00
[slrn] How to kill all "Re:" articles except the ones I have scored 9999
#43434
Author: Ken Keen
Date: Sun, 27 Sep 1998 00:00
32 lines
1635 bytes
I want to read in some newsgroups *only*:

      1. New threads (*no* "Re:" at start of subject)

      2. Old threads ("Re:" *is* at the start of subject) that I am 
         interested in following.

These two are easily achievable with:

      1. Score: -9999
         Subject: ^Re:
         [note: I am happy to read new thread subjects with reference lines;
                i.e., if a new thread is simply a new title from an old
                thread is aok]

      2. Score: 9999
         Subject: whatever the subject is.

However, to achieve this, I must put it in the correct order -- 2. Score 9999
must come before 1. Score: -9999.

But I want to mark threads I desire to read on-the-fly -- i.e., by using the K
key. This will put them at the *end* of the scorefile. Therefore, interested
threads will never make it to the Score 9999 test since it will be trapped by
the Score -9999 test first.

Any thoughts?

-- 
Man From Utopia

Re: [slrn] How to kill all "Re:" articles except the ones I have scored 9999
#43436
Author: Dawn Owens-Nicholson
Date: Sun, 27 Sep 1998 00:00
77 lines
3794 bytes
Ken Keen wrote:
> I want to read in some newsgroups *only*:
>       1. New threads (*no* "Re:" at start of subject)
>       2. Old threads ("Re:" *is* at the start of subject) that I am 
>          interested in following.

So, you don't really want new threads, just non-"^Re:" subjects, and you
don't need to mark anything high (save that for really groovy stuff).  I can
think of a few ways to do this:

You could have the use of "K" as you want if you'd be willing to live with
marking everything as read on group entry:

[news.group.wildmat(s)]
    Score: =0                                    % keep non-Re: articles.
	 ~Subject: ^Re:

    Score: -1                                    % no equal sign here.
	  Subject: .

Then appending the "interesting" scores which would add at least one point:

[news.group.wildmat(s)]                          % same wildmat(s) as above
    Score: 1
	  Subject: hokey pokey

[news.group.wildmat(s)]                          % same wildmat(s) as above
    Score: 1
          Subject: turn yourself around

[news.group.wildmat(s)]                          % same wildmat(s) as above
    Score: 1
	  Subject: that's what it's all about

and putting call("art_xpunge") in your article_mode_hook()[1] so articles
marked read are removed from the header list (this is much like killing).
The difference is the scoring stats on group entry will always be wrong for
the number of headers killed.

Or you could use something more elegant like:

[news.group.wildmat(s)]
    Score:: =0                                   % keep int. & non-Re: arts.
	 ~Subject: ^Re:
         % put other interesting header/regex lines here.

    Score: =-9999                                % kill everything else.
	  Subject: .

But you'll have to edit your scorefile to get the interesting header/regex
lines in between the two rules.

Another more involved suggestion is to implement adaptive scoring where you
keep track of what the user marked as read but didn't download so you can
add a fixed negative score for each article's author and subject to the
scorefile.  This would be easy to do if there were an unobtrusive way to
determine what articles the user marked as read without downloading.
Currently, a macro set for this would involve writing wrapper functions for
too many slrn functions to work well.

> But I want to mark threads I desire to read on-the-fly -- i.e., by using
> the K key. This will put them at the *end* of the scorefile.

You could make a macro to make "K" do most of the work for you in the second
example I provided, but there is no way to say "kill everything I don't find
interesting" and still retain "K" functionality so long as your definition
of interesting remains complex.  Also, slrn appends complete score entries,
not just header/regex lines, so your scorefile will grow large quickly the
more you use "K".

Hope this helps!


[1] I know article_mode_hook() runs before sorting, but I didn't test to see
    if it runs after scoring, hopefully, for you, it does.

Re: [slrn] How to kill all "Re:" articles except the ones I have scored 9999
#43449
Author: Ken Keen
Date: Mon, 28 Sep 1998 00:00
59 lines
2530 bytes
On 27 Sep 1998 20:23:57 GMT, Dawn Owens-Nicholson <bluemoon@ux6.cso.uiuc.edu>
wrote:

> Ken Keen wrote:

>> I want to read in some newsgroups *only*:
>>       1. New threads (*no* "Re:" at start of subject)
>>       2. Old threads ("Re:" *is* at the start of subject) that I am 
>>          interested in following.

> You could have the use of "K" as you want if you'd be willing to live with
> marking everything as read on group entry:

Well, to be exact, everything I *don't* want to read as read -- which is
great! 

I did as you suggested:

> [news.group.wildmat(s)]
>     Score: =0                                    % keep non-Re: articles.
> 	 ~Subject: ^Re:
> 
>     Score: -1                                    % no equal sign here.
> 	  Subject: .
> 
> Then appending the "interesting" scores which would add at least one point:
> 
> [news.group.wildmat(s)]                          % same wildmat(s) as above
>     Score: 1
> 	  Subject: hokey pokey

etc.

I also added to my slrnrc:

  %     If 7, thread, then sort by score and subject

  set sorting_method 7

  % Description: If 1, a header with a new subject will start a new
  %   thread.

  set new_subject_breaks_threads 1

And things worked perfectly! I needed the "set new_subject_breaks_threads 1"
in order for the "new" subjects that were jumping from the old thread to stand
alone (otherwise it lists the old thread with it).

I marked interesting threads as a 1. Then it lists all the new threads first
(with a bullet!), then the interesting threads and finally all the
uninteresting threads marked as 'D'.

Couldn't have asked for more -- You were a tremendous help Dawn -- I can't
thank you enough!

-- 
Man From Utopia

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