• Adding to index.ssjs

    From Finnigann@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@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@BNB to Tracker1 on Sat Dec 3 19:22:00 2005
    Tracker1 wrote to Finnigann <=-

    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" + '] ';



    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 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.
  • From Finnigann@BNB to Digital Man on Sun Dec 4 19:17:00 2005
    Digital Man wrote to Finnigann <=-

    Re: Adding to index.ssjs
    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.

    You're missing the close-parenthesis:

    template.additional_services+='[' + ("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