MXP Clickable urls

Post Reply
Splork
Posts: 11
Joined: Tue Nov 17, 2009 1:00 am

MXP Clickable urls

Post by Splork »

I am having an issue getting clickable urls to work with mudlet's mxp. We have tried the following methods which both work with other mxp clients we have tested with

<a "http://www.slothmud.org">Sloth</a>
<A href="http://www.slothmud.org">SlothMUD</A>

Any ideas if this is implemented in mudlet? If so, any advice as to what I am doing wrong?

Thanks

User avatar
SlySven
Posts: 1023
Joined: Mon Mar 04, 2013 3:40 pm
Location: Deepest Wiltshire, UK
Discord: SlySven#2703

Re: MXP Clickable urls

Post by SlySven »

Hello there Splork! How is SlothMUD going? 8-)

From what I have seen of our MXP implementation in the C++ (in the TBuffer class) code our support for it is a little on the skimpy side - we do not currently even support the mandatory ? <SUPPORT> tag and I think we do not support "locking" tags "5", "6" and "7" either!

Looking into our code I think I can see where URLs are parsed {as part of the (void) TBuffer::translateToPlainText(std::string &) method} but I can't really make head nor tail of it...

Looking more closely into our code I've spotted two places where we should be reporting our client version - but I see that currently we will be reporting that we are using Version "1.0" of MXP, and that the client is "Mudlet" and it is version "2.0", together with the optional information that the client is "not registered" - which given that we don't demand payment to use/give away OUR client, should be zapped pronto...! :evil:

OTOH I don't fully understand MXP {does anyone?} and have not been coding in that area at all...

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: MXP Clickable urls

Post by Vadi »

Try using <A HREF, does that work?

Post Reply