🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #198187

Shortening newsgroup names question

#198187
From: Jeff
Date: Thu, 19 Apr 2007 21:23
26 lines
2004 bytes
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?

Thanks.
Technical Details
Message-ID: <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!nx01.iad01.newshosting.com!newshosting.com!69.28.186.77.MISMATCH!hwmnpeer03.lga!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!newsfe23.lga.POSTED!53ab2750!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <1sr0nln3k3ogh$.dlg@notaol.com>
Subject: Shortening newsgroup names question
Date: Thu, 19 Apr 2007 17:23:26 -0400
From: Jeff <jeff@naol.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!nx01.iad01.newshosting.com!newshosting.com!69.28.186.77.MISMATCH!hwmnpeer03.lga!hwmnpeer01.lga!news.highwinds-media.com!hw-filter.lga!newsfe23.lga.POSTED!53ab2750!not-for-mail
Newsgroups: news.software.readers
User-Agent: 40tude_Dialog/2.0.15.1
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Lines: 26
NNTP-Posting-Host: 72.196.248.163
X-Complaints-To: admin@cox.net
X-Trace: newsfe23.lga 1177017751 72.196.248.163 (Thu, 19 Apr 2007 14:22:31 MST)
NNTP-Posting-Date: Thu, 19 Apr 2007 14:22:31 MST
Organization: Cox