diff --git a/web/root/rss.ssjs b/web/root/rss.ssjs index 36c8f1b4a0e98aa857c6bb2400b07f3893634009..2d4a7afc64ec81f98d5871e0f0ebf5c8dc50d543 100644 --- a/web/root/rss.ssjs +++ b/web/root/rss.ssjs @@ -128,7 +128,7 @@ if(channel.description==undefined) channel.description =sub.description; if(channel.link==undefined) channel.link =link_root; if(channel.language==undefined) channel.language ='en-us'; -if(channel.image_url==undefined) channel.image_url ='graphics/sync_pbgj1_white_bg.gif'; +if(channel.image_url==undefined) channel.image_url ='http://syncdev.darktech.org:6080//images/nightshade/logo.png'; if(channel.image_title==undefined) channel.image_title =channel.title; if(channel.image_link==undefined) channel.image_link =channel.link; if(channel.maxmessages==undefined) channel.maxmessages =defaults.maxmessages; @@ -172,6 +172,7 @@ if(msgbase.open()) { if(!hdr || hdr.attr&MSG_DELETE) continue; var body = msgbase.get_msg_body(true,total_msgs-i); + body=body.replace(/\r\n/g,'<br />'); if(!body) continue; writeln('\t\t\t<item>'); @@ -185,7 +186,7 @@ if(msgbase.open()) { writeln('\t\t\t\t<link>' + link_root + '&item=' + hdr.number + '</link>'); else // v3.12b writeln('\t\t\t\t<link>' + 'http://' + http_request.header.host + '/msgs/msg.ssjs?msg_sub=' + - channel.name + '&message=' + hdr.number + '</link>'); + channel.sub + '&message=' + hdr.number + '</link>'); writeln('\t\t\t</item>'); msgs++; if(msgs>=channel.maxmessages)