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: | digital man |
---|---|
Location: | Riverside County, California |
Users: | 1,042 |
Nodes: | 16 (1 / 15) |
Uptime: | 10:23:59 |
Calls: | 500,918 |
Calls today: | 5 |
Files: | 109,372 |
D/L today: |
13,319 files (2,182M bytes) |
Messages: | 305,038 |
Posted today: | 6 |