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 ➜ Bug reports ➜ HTML logging disordered

HTML logging disordered

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


Posted by Kelen   (3 posts)  Bio
Date Sat 29 Sep 2012 07:42 AM (UTC)
Message
I'm trying to create an automatic logging process. One of the things I really want is the rollover timestamp that works in the output window. So my idea was to use the acronym html tagset.

Output preamble: <acronym title="%x %X">
Output postamble: </acronym>

This is what I thought would work. However I get the output:

<acronym title="09/29/2012 12:59:26 AM"></font><font color="#C0C0C0">Your song makes your work go easier.
</acronym><acronym title="09/29/2012 12:59:26 AM">
</acronym></font>

This doesn't work because of the ordering "<acronym blah><font>text</acronym></font>". This ends up working better, but it's a post fix in order to make it work.

</font><acronym title="09/29/2012 12:59:26 AM"><font color="#C0C0C0">Your song makes your work go easier.
</acronym></font><acronym title="09/29/2012 12:59:26 AM">
</acronym>
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #1 on Sun 30 Sep 2012 03:12 AM (UTC)
Message
Everywhere?

I just tested that and got this:


</acronym><acronym title="30/09/2012 01:08:08 PM"><font color="#FFFF00">A locked display box dominates this particular shop.  Under the glass</font>
</acronym><acronym title="30/09/2012 01:08:08 PM"><font color="#FFFF00">of the box are a myriad of gems, each lying gently upon a miniscule cushion.</font>
</acronym><acronym title="30/09/2012 01:08:08 PM"><font color="#FFFF00">Hanging from the walls are various paintings, while sculptures take up the</font>
</acronym><acronym title="30/09/2012 01:08:08 PM"><font color="#FFFF00">rest of the floor space.  To the east is Darkhaven's courier, while an</font>
</acronym><acronym title="30/09/2012 01:08:08 PM"><font color="#FFFF00">opening in the tent to the north leads back out onto Market Street.</font>
</acronym><acronym title="30/09/2012 01:08:08 PM"><font color="#FFFFFF">Exits: north east.</font>



The nesting looks OK there.

Template:version Please help us by advising the version of MUSHclient you are using. Use the Help menu -> About MUSHclient.

- Nick Gammon

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

Posted by Kelen   (3 posts)  Bio
Date Reply #2 on Sun 30 Sep 2012 03:49 AM (UTC)
Message
I'm using version 4.73. The nesting is messing up on every line. I just gave that bit as an example. I'm not using any script for the logging, just the built in preamble and postamble for output in the logging properties.
Top

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #3 on Sun 30 Sep 2012 05:46 AM (UTC)
Message
Hmm. Worked OK with retrospective logging but not logging on the fly. Fixed, I think, in version 4.84.

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,158 posts)  Bio   Forum Administrator
Date Reply #4 on Sun 30 Sep 2012 07:11 AM (UTC)
Message
Version 4.84: http://www.gammon.com.au/forum/?id=11804

- Nick Gammon

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

Posted by Kelen   (3 posts)  Bio
Date Reply #5 on Sun 30 Sep 2012 10:25 PM (UTC)
Message
I tried the new version. It seems to be working. Thanks a lot, now I have an autologger that changes from day to day and keeps track of time.
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,950 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.