Subj : ftnnv.js
To   : echicken
From : Bill McGarrity
Date : Tue Apr 10 2018 11:43 am

-=> echicken wrote to Bill McGarrity on 04-09-18 19:56 <=-

ec>   Re: ftnnv.js
ec>   By: Bill McGarrity to echicken on Mon Apr 09 2018 18:29:34

BM> var nodelistPaths = [
BM> "/sbbs/xtrn/ftnnv/nodelist.*"
BM> ];

BM> My question is, how do you add more nodelists from different FTN networks.

BM> I tried adding another: '/sbbs/xtrn/ftnnv/sportnet.*" before the closing ]


ec> Be sure not to mix up your double and single quotes.  That should be
ec> '/sbbs/xtrn/ftnnv/sportnet.*' or "/sbbs/xtrn/ftnnv/sportnet.*".

BM> Can it be as simple as just adding sportnet.* separated by a comma on that

BM> one line?

ec> nodelistPaths is an array of strings.  Elements in the array should be
ec> separated from each other by commas, and all elements should be
ec> enclosed within the square brackets, eg:

OK.. I saw my error and it the explaination was right in the readme file. My
eyes are getting old.. lol!

ec> var nodelistPaths = [
ec>   "/sbbs/xtrn/ftnnv/nodelist.*",
ec>   "/sbbs/xtrn/ftnnv/sportnet.*"
ec> ];

ec> Keeping it on one line isn't important, though.

OK.. I'm anal about neatness though.  Each nodelist has it's own line. :)

ec> I assume that will work, but I no longer have a copy of that script on
ec> hand. I'll write a new version soon that uses the nodelist parser Deuce
ec> provided, and
ec> uses a config file to make things like this easier.

That it did.

ec> And on that note, if you or anyone have a wishlist for things they
ec> would want to see in a nodelist browser, please let me know.

One thing I did see that it didn't like looking outside it's own folder for the
nodelists.  I put a normal path to replace the /sbbs/xtrn/ftnnv and although it
compiled.... it didn't show a damn thing.  I had to copy over all the nodelists
into the /sbbs/xtrn/ftnnv folder.

I'm sure I'll think of things as that day gets closer.

Thanks again...


--

Bill

Telnet: tequilamockingbirdonline.net
Web: bbs.tequilamockingbirdonline.net
FTP: ftp.tequilamockingbirdonline.net:2121
IRC: irc.tequilamockingbirdonline.net Ports: 6661-6670 SSL: +6697
Radio: radio.tequilamockingbirdonline.net:8010/live


... Look Twice... Save a Life!!! Motorcycles are Everywhere!!!
--- MultiMail/Win32 v0.50
� Synchronet � TequilaMockingbird Online - Toms River, NJ