You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.8 KiB

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE xep SYSTEM 'xep.dtd' [
<!ENTITY % ents SYSTEM "xep.ent">
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
<title>Message Tone</title>
<abstract>A proposal for including the sender's tone in messages.</abstract>
<type>Standards Track</type>
<spec>XMPP Core</spec>
<remark>First release to CVS, including editorial changes and assignment of number.</remark>
<remark>Initial version.</remark>
<section1 topic='Introduction'>
<p>When people speak to one another, they use various tones of voice and body language to express themselves. When communicating online, people have no easy way of expressing themselves clearly. By incorporating message tones into Jabber, people will be able to convey tones such as anger, sarcasm, and confusion.</p>
<section1 topic='Protocol Implementation'>
<p>Tone can be added only to messages, and it is added as an &#60;x&#62; tag inside a message. The &#60;x&#62; tag will look something like this:</p>
&#60;x xmlns='jabber:x:tone'&#62;angry&#60;/x&#62;
<p>The specified tone is included as CDATA within the &#60;x&#62; element.</p>
<section2 topic='Example'>
<p>Here is an example of a message with a tone:</p>
&#60;message to=''&#62;
Why the hell did they reject my idea?
&#60;x xmlns='jabber:x:tone'&#62;angry&#60;/x&#62;
<section1 topic='Representing Tones'>
<p>Tones are not meant to be sent with every message. They should be used only in cases where a tone dramatically applies. The overuse of tones will cause them to lose their effect.</p>
<p>Because tones are abstract and not clearly defined, there is no standard list of tones. Clients should receive the tone as it is and display it as plain text, in such a way that it is linked to a specific message. Clients may want to have a specified list of tones that a user can select from when sending a message.</p>
<p>Tones should be short and simple. Here is a list of good tones:</p>