HTML Logging and Spaces.

Posted by Lee on Thu 13 Jun 2002 06:27 AM — 6 posts, 24,471 views.

#0
Is there a way to convert spaces that are logged from the output to ' '?

I know it will cause alot of bloat but my logs logs look ugly.

Maybe if it converted spaces that are more than one to:     if there was 3 spaces and such.
Australia Forum Administrator #1
The release notes for 3.17 mention a way of fixing that. The <pre> tags fix the spacing problem, then you don't need &nbsp;




When logging "as HTML" there is now an option to have the HTML written out include text colour and underlines.
To make this come out nicely your log file preamble/postamble should look something like this:

Preamble:



<html> 
<head> 
<title>Log of xxx MUD session</title> 
</head> 
<body> 

<table border=0 cellpadding=5 bgcolor="#000000"> 
<tr><td> 
<pre><code><font size=2 face="FixedSys, Lucida Console, Courier New, Courier"> 



Postamble:


</font></code></pre> 
</td></tr></table> 

</body> 
</html> 
#2
Nice one. Thanks.
#3
The prob with this is that when viewed with Internet Explorer it is like a view from MUSHclient set into a white background.
How can i get past this such that it appears in such a way that the screen is completely filled in the background color?
Canada #4
Here's my preamble:

<html>
<head>
<title>%N (%P) [%Y-%b-%d %a]</title>
</head>
<body bgcolor=#DCDCDC>
<font face="FixedSys" size="3">
<pre>
Times (on the left) are %z.
---------------------------------------------------------------------

Notice the HTML tag: "body bgcolor". Use that to set the colour of your background.
#5
Thanks dude,
You rock!