• Gopher mods ??

    From Finnigann@VERT/BNB to All on Tue Apr 4 09:38:00 2006
    From :ãC:\sbbs\exec\gopherservice.jsããcase "sub":ã msgbase = new MsgBase(field[1]);ã if(msgbase.open!=undefined && msgbase.open()==false) {ã writeln("!ERROR " + msgbase.last_error);ã break;ã}ã if(Number(field[2])) {ã hdr=msgbase.get_msg_header(false,Number(field[2]));ã if(hdr.attr&MSG_DELETE)ã break;ã writeln("Subj : " + hdr.subject);ã writeln("To : " + hdr.to);ã writeln("From : " + hdr.from);ã writeln("Date : " + system.timestr(hdr.when_written_time));ã writeln("");ãã body=msgbase.get_msg_body(false,Number(field[2]),true,true)ã writeln(body);ã msgbase.close();ã break;ãã}ãããThis is the display generated from the above code. (On a gopher page)ããRe: The Forgotten Book Gandolf's Bbs All Mon Apr 03 2006 22:23:00ãRe: The Forgotten Book Gandolf's Bbs All Mon Apr 03 2006 22:19:00ãããããAs you can see, it's not very clear as to what each word is for.ãNor does the page have a line saying what is being displayed.ã(ie: SUBJECT :: FROM :: TO :: DATE)ããI was wondering how to modify the javascript code to present a lineãlike:ããRe: The Forgotten Book :: Gandolf's Bbs :: All :: 04/03/06 22:23:00ãRe: The Forgotten Book :: Gandolf's Bbs :: All :: 04/03/06 22:19:00ããThus seperating the fields and shortening the date.ããExtra points if you can add my example (properly spaced) to the top ofãthe page (-:ãã SUBJECT :: FROM :: TO :: DATEã123456789012345678901234567890123456789012345678901234567890123456ããThanks!ããããããã Don't just wish for a better life...ãã Vote for it! ããã... Fruit is pretty honest about when it goes bad.ã--- MultiMail/Win32 v0.46ã þ Synchronet þ Bits-N-Bytes - bnb.dtdns.net /
    bnb.synchro.netã