Not logged in. · Lost password · Register
Forum: agsXMPP RSS
Avatar
itakenocrud #1
Member since Jun 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
Subject: Message Formatting
How can I adjust the formatting of my messages I send out? In particular, I want to adjust the font size and color.  Is that just like normal html?

I also want to fig out how to make hyperlinks.
This post was edited on 2010-06-02, 07:44 by itakenocrud.
Avatar
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
What you are looking for is:
XEP-0071: XHTML-IM

This is supported by the library, see the Html property. But be aware that this must be valid X-HTML because everthing is wrapped into Xml.

Alex
Avatar
itakenocrud #3
Member since Jun 2010 · 2 posts
Group memberships: Members
Show profile · Link to this post
html property of what exactly? the message object? I am not very familiar with xmpp, so a simple line of code demoing this would be great :-)
Avatar
Alex #4
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post
yes, look at the Html property of the message class.
see also this thread: http://forum.ag-software.de/thread/175

Alex
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS