[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  HTML Logging and Spaces.

HTML Logging and Spaces.

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


Posted by Lee   (3 posts)  [Biography] 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.
[Go to top] top

Posted by Nick Gammon   Australia  (22,990 posts)  [Biography] 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
[Go to top] top

Posted by Lee   (3 posts)  [Biography] bio
Date Reply #2 on Fri 14 Jun 2002 01:24 AM (UTC)
Message
Nice one. Thanks.
[Go to top] top

Posted by Helio   (9 posts)  [Biography] 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?
[Go to top] top

Posted by Magnum   Canada  (580 posts)  [Biography] 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.
[Go to top] top

Posted by Helio   (9 posts)  [Biography] bio
Date Reply #5 on Sat 10 Aug 2002 02:12 AM (UTC)
Message
Thanks dude,
You rock!
[Go to top] 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.


16,376 views.

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

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]