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
➜ MXP and Pueblo
➜ Entities - including a list of them
|
Entities - including a list of them
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Mon 04 Jun 2001 12:28 PM (UTC) Amended on Mon 04 Jun 2001 12:34 PM (UTC) by Nick Gammon
|
| Message
| Because MXP uses the characters:
< , > , and &
as part of its markup scheme it is essential that MUD servers replace those three characters in particular with their equivalent "entity names", namely:
< , > , and &
You can also use any arbitrary ASCII code combination like this: á
The list of predefined entity names is at MXP Entities.
Defining your own entities
You can also define your own entities, like this:
<!ENTITY clan_name "Blood Clan" >
Then you could use this entity in MUD output like this:
You are a member of &clan_name;
|
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | 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.
6,762 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top