1
0
mirror of https://github.com/moparisthebest/xeps synced 2024-12-12 02:42:16 -05:00
xeps/xep-0014.xml

71 lines
2.7 KiB
XML
Raw Normal View History

<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE xep SYSTEM 'xep.dtd' [
<!ENTITY % ents SYSTEM "xep.ent">
%ents;
]>
<?xml-stylesheet type='text/xsl' href='xep.xsl'?>
<xep>
<header>
<title>Message Tone</title>
<abstract>A proposal for including the sender's tone in messages.</abstract>
&LEGALNOTICE;
<number>0014</number>
<status>Rejected</status>
<type>Standards Track</type>
<sig>Standards</sig>
<author>
<firstname>Mike</firstname>
<surname>Mintz</surname>
<email>psicoder@yahoo.com</email>
<jid>mikem@jabber.org</jid>
</author>
<revision>
<version>0.2</version>
<date>2002-01-16</date>
<initials>psa</initials>
<remark>First release to CVS, including editorial changes and assignment of number.</remark>
</revision>
<revision>
<version>0.1</version>
<date>2001-11-17</date>
<initials>mm</initials>
<remark>Initial version.</remark>
</revision>
</header>
<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>
<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>
<example>
&#60;x xmlns='jabber:x:tone'&#62;angry&#60;/x&#62;
</example>
<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>
<example>
&#60;message to='mikem@jabber.org'&#62;
&#60;body&#62;
Why the hell did they reject my idea?
&#60;/body&#62;
&#60;x xmlns='jabber:x:tone'&#62;angry&#60;/x&#62;
&#60;/message&#62;
</example>
</section2>
</section1>
<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>
<ul>
<li>angry</li>
<li>confused</li>
<li>excited</li>
<li>joking</li>
<li>sad</li>
<li>sarcastic</li>
<li>serious</li>
</ul>
</section1>
</xep>