• ftnnv.js

    From Bill McGarrity@VERT/TEQUILAM to echicken on Mon Apr 9 18:29:34 2018
    Hiya echicken...ããI'm playing with ftnnv.js to see what I can do with it. Right now it's onlyãseeing the Fido nodelist.* file which I am assuming is possible by theãfollowing:ãã// The paths to your nodelistsã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 ] butãI am getting this error:ãã!JavaScript c:\sbbs\xtrn\ftnnv\ftnnv.js line 10: SyntaxError: missing ]ãafter e lement listãã!ERROR compiling c:\sbbs\xtrn\ftnnv\ftnnv.jsããThe sysop has been notified.ãããCan it be as simple as just adding sportnet.* separated by a comma on thatãone line?ããAppreciate the help...ããThanks..ãã--ãã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ãã---ã þ Synchronet þ TequilaMockingbird Online - Toms River, NJã
  • From echicken@VERT/ECBBS to Bill McGarrity on Mon Apr 9 19:56:51 2018
    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ã
  • From Bill McGarrity@VERT/TEQUILAM to echicken on Tue Apr 10 11:43:00 2018
    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ã