• Adding to index.ssjs

    From Finnigann@VERT/BNB to All on Sat Dec 3 10:40:00 2005
    ãfrom index.ssjsããtemplate.additional_services ='[' + ("telnet".link("telnet://"+hostã+telnet_port)) + '] ';ããtemplate.additional_services+='[' + ("rlogin".link("rlogin://"+hostã+rlogin_port)) + '] ';ããtemplate.additional_services+='[' + ("ftp".link("ftp://"+hostã+ftp_port)) + '] ';ããtemplate.additional_services+='[' + ("irc".link("irc://"+hostã+irc_port)) + '] ';ããtemplate.additional_services+='[' + ("news".link("news://"+hostã+nntp_port)) + '] ';ããtemplate.additional_services+='[' + ("gopher".link("gopher://"+hostã+gopher_port)) + '] ';ãã/* template.additional_services+='[' + ("RSS".linkãhttp://bnb.synchro.net/rss.ssjs?channel=BNB-RSS '; */ãããWhat would be the correct syntax for the last line?ããWithout the comments it causes the entire page to fail. In fact severalãpages fail just due to this additional line.ããããã ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍã ³ "We live in a society exquisitely ã ³ dependent on science and technology,ã ³ in which hardly anyone knows anythingã ³ about science and technology."ã ³ - Carl Saganãããã... A journey of a thousand miles begins with a cash advanceã--- MultiMail/Win32 v0.46ã þ Synchronet þ Bits-N-Bytes BBS One Hellofa BBS telnet://bnb.synchro.netã
  • From Tracker1@VERT/TRN to Finnigann on Sat Dec 3 12:48:00 2005
    Finnigann wrote:ã> /* template.additional_services+='[' + ("RSS".linkã> http://bnb.synchro.net/rss.ssjs?channel=BNB-RSS '; */ã >ã > What would be the correct syntax for the last line?ã >ã > Without the comments it causes the entire page to fail. In fact severalã > pages fail just due to this additional line.ãã//tryãtemplate.additional_services += '[' + ("RSS".link("http://" +ãhost + http_port + "/rss.ssjs?channel=BNB-RSS" + '] ';ãã//orãtemplate.additional_services += '[' + ("RSS".link("http://" +ãhost + "/rss.ssjs?channel=BNB-RSS" + '] ';ãã-- ãMichael J. Ryan - tracker1(at)theroughnecks(dot)net - www.theroughnecks.netãicq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)ãã---ã þ Synchronet þ theroughnecks.net - you know you want itã
  • From Finnigann@VERT/BNB to Tracker1 on Sat Dec 3 19:22:00 2005
    Tracker1 wrote to Finnigann <=-ãã Tr> Finnigann wrote:ã > /* template.additional_services+='[' + ("RSS".linkã > http://bnb.synchro.net/rss.ssjs?channel=BNB-RSS '; */ã >ã > What would be the correct syntax for the last line?ã >ã > Without the comments it causes the entire page to fail. In fact severalã > pages fail just due to this additional line.ãã Tr> //tryã Tr> template.additional_services += '[' + ("RSS".link("http://" +ã Tr> host + http_port + "/rss.ssjs?channel=BNB-RSS" + '] ';ãã Tr> //orã Tr> template.additional_services += '[' + ("RSS".link("http://" +ã Tr> host + "/rss.ssjs?channel=BNB-RSS" + '] ';ããããBoth gave the 500 error message. Thanks though.ããFunny how it doesn't ruin the page but kills it completely.ããããã ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍã ³ "We live in a society exquisitely ã ³ dependent on science and technology,ã ³ in which hardly anyone knows anythingã ³ about science and technology."ã ³ - Carl Saganãããã... "I thought I would send YOU on this adventure." - Gandalfã--- MultiMail/Win32 v0.46ã þ Synchronet þ Bits-N-Bytes BBS One Hellofa BBS telnet://bnb.synchro.netã
  • From Digital Man@VERT to Finnigann on Sun Dec 4 13:42:46 2005
    Re: Adding to index.ssjsã By: Finnigann to All on Sat Dec 03 2005 10:40 amãã > ã > from index.ssjsã > ã > template.additional_services ='[' + ("telnet".link("telnet://"+hostã > +telnet_port)) + '] ';ã > ã > template.additional_services+='[' + ("rlogin".link("rlogin://"+hostã > +rlogin_port)) + '] ';ã > ã > template.additional_services+='[' + ("ftp".link("ftp://"+hostã > +ftp_port)) + '] ';ã > ã > template.additional_services+='[' + ("irc".link("irc://"+hostã > +irc_port)) + '] ';ã > ã > template.additional_services+='[' + ("news".link("news://"+hostã > +nntp_port)) + '] ';ã > ã > template.additional_services+='[' + ("gopher".link("gopher://"+hostã > +gopher_port)) + '] ';ã > ã > /* template.additional_services+='[' + ("RSS".linkã > http://bnb.synchro.net/rss.ssjs?channel=BNB-RSS '; */ã > ã > ã > What would be the correct syntax for the last line?ã > ã > Without the comments it causes the entire page to fail. In fact severalã > pages fail just due to this additional line.ããYou're missing the close-parenthesis:ããtemplate.additional_services+='[' +ã("RSS".link("http://bnb.synchro.net/rss.ssjs?channel=BNB-RSS")) + '] ';ãã digital manããSnapple "Real Fact" #132:ãA crocodile cannot move its tongue. ã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From Finnigann@VERT/BNB to Digital Man on Sun Dec 4 19:17:00 2005
    Digital Man wrote to Finnigann <=-ãã DM> Re: Adding to index.ssjsã DM> By: Finnigann to All on Sat Dec 03 2005 10:40 amãã >ã > from index.ssjsã>ã > /* template.additional_services+='[' + ("RSS".linkã > http://bnb.synchro.net/rss.ssjs?channel=BNB-RSS '; */ã >ã >ã > What would be the correct syntax for the last line?ã >ã > Without the comments it causes the entire page to fail. In fact severalã > pages fail just due to this additional line.ãã DM> You're missing the close-parenthesis:ãã DM> template.additional_services+='[' +ã DM> ("RSS".link("http://bnb.synchro.net/rss.ssjs?channel=BNB-RSS")) + '] ';ã ãYour absolutley correct.ããThank you!ãããã ÕÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍã ³ "We live in a society exquisitely ã ³ dependent on science and technology,ã ³ in which hardly anyone knows anythingã ³ about science and technology."ã ³ - Carl Saganãããã... Cross country skiing is great if you live in a small country.ã--- MultiMail/Win32 v0.46ã þ Synchronet þ Bits-N-Bytes BBS One Hellofa BBS telnet://bnb.synchro.netã