The default HTML color logging annoyed me a bit so I've redone it as a plugin.
Firstly, <font> is being phased out. They want you to use styles instead. I've made sure the html produced in the log is valid (valid XHTML 1.1 to be specific) because it's pretty easy.
Secondly, I thought it'd be better to just log the lines from the MUD directly to the log without splitting them. I do my wrapping in css.
I'll just post what I have and then explain it later when I have more time. Just know you need specific logging settings (uncheck logging commands, notes and output and uncheck color, raw and Write world name to log file). After you do that it's going to ask you if that's what you want to do and you have to say yes (each time you visit that tab).
Here's the preamble (if you know what you're doing you can mess with it):
Postamble:
The different line preambles won't do anything with this plugin so you might as well blank those out.
Here's what I recommend for a log file name:
I'll post the XML in the next post and then what I'm using for CSS.
Firstly, <font> is being phased out. They want you to use styles instead. I've made sure the html produced in the log is valid (valid XHTML 1.1 to be specific) because it's pretty easy.
Secondly, I thought it'd be better to just log the lines from the MUD directly to the log without splitting them. I do my wrapping in css.
I'll just post what I have and then explain it later when I have more time. Just know you need specific logging settings (uncheck logging commands, notes and output and uncheck color, raw and Write world name to log file). After you do that it's going to ask you if that's what you want to do and you have to say yes (each time you visit that tab).
Here's the preamble (if you know what you're doing you can mess with it):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
<head>
<title>LOG:%N-%y/%m/%d %H:%M:%S (%P)</title>
<link rel="stylesheet" type="text/css" href="logstylesheet.css" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
</head>
<body>
<div id="log">Postamble:
</div>
</body>
</html>The different line preambles won't do anything with this plugin so you might as well blank those out.
Here's what I recommend for a log file name:
%L\%y.%m.%d.%H.%M.%S %N(%P).htmlI'll post the XML in the next post and then what I'm using for CSS.