With interpidation and the MAGIC of QWK Mail Digital Man wrote to Finnigannã<=-ãã DM> Re: web page suggestionã DM> By: Finnigann to Digital Man on Thu Jul 06 2006 02:52 amãã > For v4.0ã >ã > Add an RSS link that opens a web page with all of the RSS feeds in RSS.INI,ã > link firmat of course.ãã DM> Isn't that what rss.ssjs already does?ãã DM> (e.g. http://vert.synchro.net/rss.ssjs)ã ãã Yes it does, but where is the link to that page?ãã I was thinking it could be added to the line of servers along theã bottom of the main page.ãã [telnet] [rlogin] [ftp] [irc] [news] [gopher] [RSS]ããã Looking at index.sjss...ãã 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.ããWell I'm stuck...ããããã ----------------------------------------------------------------ã James King KC8UGV | Sysop - Bits-N-Bytes BBS ã Coldwater, MI 49036 | http://www.synchro.net/sbbslist.htmlã ----------------------------------------------------------------ã RSS http://tinyurl.com/zswzsã ----------------------------------------------------------------ã... Computer Hacker wanted. Must have own axe.ã--- MultiMail/Win32 v0.46ã þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.netã
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ã
With interpidation and the MAGIC of QWK Mail Digital Man wrote to Finnigannã<=-ãã DM> Re: Re: web page suggestionã DM> By: Finnigann to Digital Man on Thu Jul 06 2006 06:16 amãã > -=> With interpidation and the MAGIC of QWK Mail Digital Man wrote to Finnigã > <=-ã >ã > DM> Re: web page suggestionã > DM> By: Finnigann to Digital Man on Thu Jul 06 2006 02:52 amã >ã > > For v4.0ã > >ã > > Add an RSS link that opens a web page with all of the RSS feeds in RSS.INã > > link firmat of course.ã >ã > DM> Isn't that what rss.ssjs already does?ã >ã > DM> (e.g. http://vert.synchro.net/rss.ssjs)ã >ã >ã > Yes it does, but where is the link to that page?ã >ã > I was thinking it could be added to the line of servers along theã > bottom of the main page.ã >ã > [telnet] [rlogin] [ftp] [irc] [news] [gopher] [RSS]ã >ã >ã > Looking at index.sjss...ã >ã > 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?ãã DM> Of course.ãã > 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)ãã DM> Do this instead:ãã DM> template.additional_services+='[' + ("RSS".link("rss.ssjs")) + '] ';ãã DM> You don't need the protocol and port specified since it's just a webã DM> page. ããMindless Automation gen'd this one up.ããtemplate.additional_services+='['+("RSS".link("http://"+host+"/rss.ssjs"))+']';ããHmmm your's is shorter... 0-:ããThanks to you both.ããããã ----------------------------------------------------------------ã James King KC8UGV | Sysop - Bits-N-Bytes BBS ã Coldwater, MI 49036 | http://www.synchro.net/sbbslist.htmlã ----------------------------------------------------------------ã RSS http://tinyurl.com/zswzsã ----------------------------------------------------------------ã... Heisenberg may have slept here.ã--- MultiMail/Win32 v0.46ã þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net / bnb.synchro.netã
Sysop: | Karloch |
---|---|
Location: | Madrid, Spain |
Users: | 54 |
Nodes: | 8 (0 / 8) |
Uptime: | 128:40:28 |
Calls: | 700 |
Files: | 17,895 |
D/L today: |
128 files (60,769K bytes) |
Messages: | 66,010 |