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> 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.