πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by Drew Hamilton Mon, 26 Jan 2004 22:37
[SLRN] Sorting threads by average score
#142216
Author: Drew Hamilton
Date: Mon, 26 Jan 2004 22:37
19 lines
1690 bytes
I'm using SLRN 0.9.6.2 (Can't really upgrade to a recent version
due to no Japanese support).

Right now I have SLRN thread articles and start up a group with
all threads uncollapsed.  Currently each thread is just sorted by
date (presumably the date of the first or last post in the thread?
Don't know.)

I'd like it to sort threads by average score.  That is, the
articles should still be threaded, but the threads with the
highest average score (rather than total score) should go first.  
That way, a 5-article thread with 4 interesting articles would
show up before a 300-article thread with 6 interesting articles.

Any ideas?

-- 
 - awh
   http://www.awh.org/
Re: [SLRN] Sorting threads by average score
#142244
Author: Joel Mayes
Date: Tue, 27 Jan 2004 12:04
26 lines
2076 bytes
β€’In article <dehge1-3jd.ln1@urd.awh.org>, Drew Hamilton wrote:

> I'm using SLRN 0.9.6.2 (Can't really upgrade to a recent version
> due to no Japanese support).
> 
> Right now I have SLRN thread articles and start up a group with
> all threads uncollapsed.  Currently each thread is just sorted by
> date (presumably the date of the first or last post in the thread?
> Don't know.)
> 
> I'd like it to sort threads by average score.  That is, the
> articles should still be threaded, but the threads with the
> highest average score (rather than total score) should go first.  
> That way, a 5-article thread with 4 interesting articles would
> show up before a 300-article thread with 6 interesting articles.
> 
> Any ideas?

You could probably do this with slang but AFAIK slrn doesn't
normally support this.

-- 
|  Joel Mayes     |   /~\   ASCII Ribbon campaign
|  Accordionist   |   \_/  stop HTML mail and news
|  Musician       |   / \ 
|  Music Teacher  |
Re: [SLRN] Sorting threads by average score
#142340
Author: Drew Hamilton
Date: Wed, 28 Jan 2004 21:08
17 lines
1780 bytes
In article <slrnc1cl0h.14f.scrinb@bluebird.zenith>, Joel Mayes wrote:
>?In article <dehge1-3jd.ln1@urd.awh.org>, Drew Hamilton wrote:
>> I'd like it to sort threads by average score.  That is, the
>
>You could probably do this with slang but AFAIK slrn doesn't
>normally support this.

Yes, turns out that it doesn't.

I ended up just doing a quick hack of the source code.  It was about
a 5-minute hack.  Of course that's not as preferable as doing something
that would survive a version upgrade, but really, since I'm already
using a several-years-old copy of SLRN I'm not really concerned about
surviving a version upgrade.

 - awh
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