Subj : RSS - Theme Your RSS List
To : DOVE-Net.Programming_(Jav
From : Mindless Automaton
Date : Thu Jul 06 2006 12:45 pm
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('');
writeln('
');
writeln('' + system.name + " News (RSS) Channels" + '
');
writeln('');
for(c in channel_list)
writeln('- '
+ channel_list[c].name.link(link_root + "?channel=" +
channel_list[c].name));
writeln('
');
writeln('');
writeln('');
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('
');
writeln('' + system.name + " News (RSS) Channels" + '');
writeln('');
for(c in channel_list)
writeln('- '
+ channel_list[c].name.link(link_root + "?channel=" +
channel_list[c].name));
writeln('
');
if(do_rightnav)
write_template("rightnav.inc");
if(do_footer)
write_template("footer.inc");
exit();
}
---end code---
-Mindless Automaton
---
þ Synchronet þ Eldritch Clockwork BBS
.
|