Subj : Re: web page suggestion
To   : Mindless Automaton
From : Finnigann
Date : Thu Jul 06 2006 05:50 pm

-=> With interpidation and the MAGIC of QWK Mail Mindless Automaton wrote to
Finnigann <=-

MA> 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.
>
>

MA> Maybe:

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

MA> ?

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


Wahoo!! you're my new hero!

Yes! adding that line added to the main web page the link to the
RSS.SSJS

Big Thanks!!




----------------------------------------------------------------
James King        KC8UGV |        Sysop - Bits-N-Bytes BBS
Coldwater, MI      49036 | http://www.synchro.net/sbbslist.html
----------------------------------------------------------------
         RSS  http://tinyurl.com/zswzs
----------------------------------------------------------------
... You don't get once-in-a-lifetime offers like this every day.
--- MultiMail/Win32 v0.46
� Synchronet � Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.net