Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ HTML Logging and Spaces.

HTML Logging and Spaces.

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Lee   (3 posts)  Bio
Date Thu 13 Jun 2002 06:27 AM (UTC)
Message
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.
Top

Posted by Nick Gammon   Australia  (23,133 posts)  Bio   Forum Administrator
Date Reply #1 on Thu 13 Jun 2002 09:50 PM (UTC)
Message
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> 

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Lee   (3 posts)  Bio
Date Reply #2 on Fri 14 Jun 2002 01:24 AM (UTC)
Message
Nice one. Thanks.
Top

Posted by Helio   (9 posts)  Bio
Date Reply #3 on Fri 09 Aug 2002 12:52 PM (UTC)
Message
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?
Top

Posted by Magnum   Canada  (580 posts)  Bio
Date Reply #4 on Fri 09 Aug 2002 08:22 PM (UTC)
Message
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.

Get my plugins here: http://www.magnumsworld.com/muds/

Constantly proving I don't know what I am doing...
Magnum.
Top

Posted by Helio   (9 posts)  Bio
Date Reply #5 on Sat 10 Aug 2002 02:12 AM (UTC)
Message
Thanks dude,
You rock!
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


18,291 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.