← Back to team overview

mudlet-makers team mailing list archive

[Bug 1265379] Re: MXP: <SEND> ignores text between open and close tags

 

Um, in Zugg's specification at: http://www.zuggsoft.com/zmud/mxp.htm you have:
...
Overview of MXP

MXP is based loosely on the HTML and XML standards supported by modern web browsers.  It is only "loosely" based upon these standards because MUDs require dynamic, streaming text, rather than the page-oriented view of web browsers.  Also, the existing standards are needlessly verbose for use on a MUD where text efficiency is important.
...
Links
<A href=URL [hint=text] [expire=name]>
    The <A> tag works as it does in HTML to open a web page in the user's web browser.  When the mouse hovers over the link, the optional "hint" text is displayed.  If the hint text is not given, the URL of the link will be shown in the hint box.  The Expire name is used for links that expire.  See the <expire> tag for more details.

    The http:// URL will open the user's external web browser to the
specified web page.  The telnet:// URL will open another window for the
specified telnet address and port.  The mailto: URL will open your email
client allowing you to send email to the specified address.

    Example: <A "http://www.zuggsoft.com>Click here for zMUD</A> 
...

However perhaps you DO have a case, the relevant method is
(void)TBuffer::translateToPlainText(std::string &) and looking at it I
am coming to the conclusion that it is an ugly motherf***** piece of
code (in my humble opinion) - hell, it even has a couple of different
"goto"s in it!  I was studying it as I wanted to add the necessary stuff
so that it could parse an incoming multi-byte Utf-8 encoded data-stream
but the partial MXP implementation in there is making things even more
complex than it otherwise would be - the more I gaze into the abyss -
the more I get the feeling something is looking back at me...

** Changed in: mudlet
       Status: Invalid => Confirmed

** Changed in: mudlet
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1265379

Title:
  MXP: <SEND> ignores text between open and close tags

Status in Mudlet:
  Confirmed

Bug description:
  Spec violation:

  <SEND href="bla">blubb</SEND>

  should display "blubb" but on click, the sent command should be "bla".

  Mudlet displays "bla" instead.

  
  See also:

  http://www.zuggsoft.com/zmud/mxp.htm (search for "<SEND>")

To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1265379/+subscriptions


References