var nodelistPaths = [
"/sbbs/xtrn/ftnnv/nodelist.*"
];
My question is, how do you add more nodelists from different FTN networks.
I tried adding another: '/sbbs/xtrn/ftnnv/sportnet.*" before the closing ]
Can it be as simple as just adding sportnet.* separated by a comma on that
one line?
echicken wrote to Bill McGarrity on 04-09-18 19:56 <=-
Re: ftnnv.js
By: Bill McGarrity to echicken on Mon Apr 09 2018 18:29:34
var nodelistPaths = [
"/sbbs/xtrn/ftnnv/nodelist.*"
];
My question is, how do you add more nodelists from different FTN networks.
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.*".
Can it be as simple as just adding sportnet.* separated by a comma on that
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.
Sysop: | Coz |
---|---|
Location: | Anoka, MN |
Users: | 2 |
Nodes: | 4 (0 / 4) |
Uptime: | 113:32:19 |
Calls: | 162 |
Files: | 5,327 |
Messages: | 222,477 |