Subj : Adding to index.ssjs
To : Finnigann
From : Digital Man
Date : Sun Dec 04 2005 01:42 pm
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 � telnet://vert.synchro.net