Subj : ftnnv.js
To   : Bill McGarrity
From : echicken
Date : Mon Apr 09 2018 07:56 pm

 Re: ftnnv.js
 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 ]

Be sure not to mix up your double and single quotes.  That should be
'/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?

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

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

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

I assume that will work, but I no longer have a copy of that script on hand.
I'll write a new version soon that uses the nodelist parser Deuce provided, and

uses a config file to make things like this easier.

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

---
echicken
electronic chicken bbs - bbs.electronicchicken.com - 416-273-7230

---
� Synchronet � electronic chicken bbs - bbs.electronicchicken.com