🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #198190

Re: Shortening newsgroup names question

#198190
From: Gember Breuk
Date: Thu, 19 Apr 2007 22:40
37 lines
2311 bytes
On Thu, 19 Apr 2007 17:23:26 -0400, Jeff wrote:

> I discovered the script to shorten newsgroup names (on 40tude wiki) but do
> not how to modify the script. When I compiled the script as it is on the
> website, the name originally displayed as:
> 
> "news.software.readers (news.east.cox.net)"  became
> "nsr (news.east.cox.net)"
> 
> I would prefer it to apear as "n.s.readers" without the (news.east.cox.net)
> part and with the last word shown in full.  The instructions on the webpage
> say:
> // Set to 1 if you want everything to be shortened
> const CompleteShort = 0;
> 
> // Set to 0 if you don't want dots between the letters
> const WithPoints = 1;
> 
> // Set to minimal count of dots before shortening should be done (1 or 2)
> const DotCount = 2;     
> 
> Clear enough, but, I do not know where in the script I am to insert these
> number choices. Also, I now realize that the script does not do anything
> about getting rid of the (news.east.cox.net) part. Is that possible?
> 
> Could someone advise me?

Try this script instead:

"This event script deletes the server name in the entries in the
newsgroup list. If you want to show abbreviated newsgroup names you can
set minimizegroupnames to true."

http://www.40tude.com/dialog/wiki/index.php/ScriptHideNGName

-- 
Gem
Technical Details
Message-ID: <1wbb4farm12zr$xmnl@blackholespam.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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1sr0nln3k3ogh$.dlg@notaol.com>

Show Full Headers
Complete Article Headers
Message-ID: <1wbb4farm12zr$xmnl@blackholespam.net>
Subject: Re: Shortening newsgroup names question
Date: Thu, 19 Apr 2007 18:40:32 -0400
From: Gember Breuk <dumpspam@blackholespam.net>
References: <1sr0nln3k3ogh$.dlg@notaol.com>
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!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!newsfeed.r-kom.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: Willekeurige orde
Lines: 37
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Trace: individual.net w9Vk1jH6idqUKOwBa8yjqgZ7QUNLYiNO2L21MpcmabZCSMo0Y=
User-Agent: 40tude_Dialog/2.0.15.1 (80e02bca.364.346) PCLinuxOS 0.93a