Subj : Re: web page suggestion
To   : Finnigann
From : Mindless Automaton
Date : Thu Jul 06 2006 09:54 am

Finnigann wrote:
>   I see:
> ...
> template.additional_services+='[' + ("gopher".link("gopher://"+host
> +gopher_port)) + '] ';
>
> The next line could be one for RSS. Can I add a line here to include
> RSS?
>
>  template.additional_services+='[' + ("RSS".link("http://"+host
>  +RSS_port)) + '] ';
>
>  But this isn't right, as those other lines start a service but I want a
>  web page called (rss.sjss)
>
>
> OK that doesn't work.
>
> I get an error:
>
> !JavaScript c:\sbbs\web\html\index.ssjs line 80: ReferenceError:
> RSS_port is not defined.
>
>

Maybe:

  template.additional_services+='[' +
("RSS".link("http://"+host+"/rss.ssjs"
  )) + '] ';

?

RSS is the same port as http (80) so I guess you could do +http_port
instead of RSS_port

-Mindless Automaton
---
� Synchronet � Eldritch Clockwork BBS