Thread View: news.software.readers
2 messages
2 total messages
Started by Elden Fenison
Sat, 05 Sep 2009 16:33
[slrn] variable article sorting methods
Author: Elden Fenison
Date: Sat, 05 Sep 2009 16:33
Date: Sat, 05 Sep 2009 16:33
9 lines
1447 bytes
1447 bytes
I used to know this, but can't recall. I know there's a way to use different sorting methods for different newsgroups depending on the newsgroup name. Can someone please tell me how to specify this? Is it done in the score file? Thanks! -- -=Elden=- http://www.moondog.org
Re: [slrn] variable article sorting methods
Author: Elden Fenison
Date: Sat, 05 Sep 2009 17:12
Date: Sat, 05 Sep 2009 17:12
31 lines
2034 bytes
2034 bytes
* Elden Fenison [09/05/09 16:33 UTC]:
> I used to know this, but can't recall. I know there's a way to use different
> sorting methods for different newsgroups depending on the newsgroup name. Can
> someone please tell me how to specify this? Is it done in the score file?
I found the answer... had it in my notes. For the archives, here it is:
define make_group_specific_settings ()
{
variable cgp = current_newsgroup ();
variable cso;
variable cst;
switch ( cgp)
{ ( is_substr (cgp, "alt.binaries.pictures")) :
cso = "HighScore,subject";
cst = 0;
}
{
cso = "Highscore,Date|date";
cst = 1;
}
set_string_variable ("custom_sort_order", cso);
set_integer_variable ("custom_sort_by_threads", cst);
}
--
-=Elden=-
http://www.moondog.org
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