HTML logging disordered

Posted by Kelen on Sat 29 Sep 2012 07:42 AM — 6 posts, 22,603 views.

#0
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>
Australia Forum Administrator #1
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.
#2
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.
Australia Forum Administrator #3
Hmm. Worked OK with retrospective logging but not logging on the fly. Fixed, I think, in version 4.84.
Australia Forum Administrator #4
Version 4.84: http://www.gammon.com.au/forum/?id=11804
#5
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.