New feature - copy as HTML

Posted by Nick Gammon on Tue 21 Aug 2001 12:27 AM — 1 posts, 6,704 views.

Australia Forum Administrator #0

MUSHclient 3.16 now has a new feature - copy as HTML. What this does is let you select some text in your output window, and then "copy as HTML" - which will preserve colours, etc. Here is an example:


*****************************************************************************
* Welcome to a mud based on the Dawn of Time,                               *
*  - If you are new to mudding, ask for help. (type 'newbie help me please')*
*  - If your name doesn't conform to 'help name policy' you might as well   *
*    recreate now... (it is shown when you login)                           *
*  - Please read the news for latest info on Dawn 1.5!                      *
*  - Make sure you know the rules (sorry, I have to say it) (help rules)    *
*  - Type 'Areas' to see a list of all areas and level ranges               *
*                                                                           *
* Happy mudding,                                                            *
*                                                                           *
* The administration <dot-admin@dawnoftime.org>                             *
*                                                                           *
*****************************************************************************

And another one:


You are carrying:
     a heavy club
     a copper weathervane
     a glass of red wine
     a cloth tunic
     an order of spiced potatoes
     a crystal dousing flask
     a small map of Mekali
     a small newbie guide book
     a large world map
[NESW in v3000 mekali.are - 00:21:56 - 10:45am>
look
Large Plaza [Mekali City] [Room 3000]
  You are in the middle of a wide square plaza, with streets running in all 
directions.  Crushed grey stone has been spread around on the ground to 
cover the dirt.  In the middle of the square is a huge stone disk, upon 
which stands the statue of a regal looking dwarf.  There are some trees and 
bushes along the edges of the plaza.  Small shops line the streets in all 
directions, and you see and hear many people in those directions.  

[Exits: north east south west]
     A trash can.
     A long wooden bench.
[NESW in v3000 mekali.are - 00:21:58 - 10:46am>

You can see that this looks realistically like real MUD output, however it is rendered using HTML rather than a screen dump. This is easier to use anyway than dumping screens all over the place, and is considerably smaller. For example, the second example above takes 15.6 Kb (16,000 bytes) as a screen dump, but only 2.08 Kb (2,131 bytes) as HTML.

This feature was added to make it easier to do tuition screens, RP dumps, and examples of using a particular MUD, when you are working on your web pages.