🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #235307

Re: [slrn] variable article sorting methods

#235307
From: Elden Fenison
Date: Sat, 05 Sep 2009 17:12
31 lines
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
Technical Details
Message-ID: <slrnha570e.9as.usenet@imac.local>
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!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
References: <slrnha54ml.9as.usenet@imac.local>

Show Full Headers
Complete Article Headers
Message-ID: <slrnha570e.9as.usenet@imac.local>
Subject: Re: [slrn] variable article sorting methods
Date: Sat, 05 Sep 2009 12:12:46 -0500
From: Elden Fenison <usenet@moondog.org.invalid>
References: <slrnha54ml.9as.usenet@imac.local>
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!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 05 Sep 2009 12:12:46 -0500
Newsgroups: news.software.readers
User-Agent: slrn/0.9.8.1 (Darwin)
Lines: 31
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-HZOB5rLE+9vjc7xf60DNN6glQE1HMHnYKYRRktU9elaFL2eZzZ7Tm7Q9YLmbLIHhQcdWAYKORgq3BOc!K/apDZjC7Y22tPPJ+lUzc6Qm20f1aIkppih2gNwA82TZmKY3qw/EWohxgpc=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.39