• 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 <=-

    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@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 <=-

    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