With interpidation and the MAGIC of QWK Mail Mindless Automaton wrote toDOVE-Net.Programming_(Jav <=-
The RSS list page is pretty bland, so we can make a few changes so it
will fit our default theme at least.
In rss.ssjs, change these lines:
---start code---
if(channel==undefined) {
writeln('<html>');
writeln('<body>');
writeln('<h1>' + system.name + " News (RSS) Channels" +
'</h1>');
writeln('<ul>');
for(c in channel_list)
writeln('<li>'
+ channel_list[c].name.link(link_root +
"?channel=" + channel_list[c].name));
writeln('</ul>');
writeln('</body>');
writeln('</html>');
exit();
}
---end code---
to:
---start code---
if(channel==undefined) {
if(do_header)
write_template("header.inc");
if(do_topnav)
load(topnav_html);
if(do_leftnav)
load(leftnav_html);
writeln('<td class="main" valign="top"><br /><br />');
writeln('<h1>' + system.name + " News (RSS) Channels" +
'</h1>');
writeln('<ul>');
for(c in channel_list)
writeln('<li>'
+ channel_list[c].name.link(link_root +
"?channel=" + channel_list[c].name));
writeln('</ul>');
if(do_rightnav)
write_template("rightnav.inc");
if(do_footer)
write_template("footer.inc");
exit();
}
---end code---
-Mindless Automaton
---
■ Synchronet ■ Eldritch Clockwork BBS
Sysop: | Eric Oulashin |
---|---|
Location: | Beaverton, Oregon, USA |
Users: | 91 |
Nodes: | 16 (0 / 16) |
Uptime: | 10:08:26 |
Calls: | 5,240 |
Calls today: | 4 |
Files: | 8,493 |
D/L today: |
90 files (66,728K bytes) |
Messages: | 354,298 |
Posted today: | 1 |