Custom Emoticons
Applies to: Cisco Jabber for Windows
You can add custom emoticons to Cisco Jabber for Windows by creating emoticon definitions in an XML file and saving it to the file system.
Note |
|
Procedure
Step 1 |
Create a file named emoticonDefs.xml with any text editor. |
Step 2 |
Specify the emoticon definitions as appropriate in emoticonDefs.xml. See Emoticon Definitions for more information on the structure and available parameters for emoticonDefs.xml. |
Step 3 |
Save and close emoticonDefs.xml. |
Step 4 |
Save emoticonDefs.xml in the appropriate directory on the file system. Cisco Jabber for Windows loads emoticon definitions from the following directories on the file system.
|
Step 5 |
Restart Cisco Jabber for Windows. |
Cisco Jabber for Windows loads the custom emoticon definitions in emoticonDefs.xml.
Remember |
|
Emoticon Definitions
Cisco Jabber for Windows loads emoticon definitions from emoticonDefs.xml.
<emoticons>
<emoticon defaultKey="" image="" text="" order="" hidden="">
<alt></alt>
</emoticon>
</emoticons>
Element or attribute | Description |
---|---|
emoticons |
This element contains all emoticon definitions. |
emoticon |
This element contains the definition of an emoticon. |
defaultKey |
This attribute defines the default key combination that renders the emoticon. Specify any key combination as the value. This attribute is required. defaultKey is an attribute of the emoticon element. |
image |
This attribute specifies the filename of the emoticon image. Specify the filename of the emoticon as the value. The emoticon image must exist in the same directory as emoticonDefs.xml. This attribute is required. Cisco Jabber for Windows supports any icon that Internet Explorer can render, including .jpeg, .png, and .gif. image is an attribute of the emoticon element. |
text |
This attribute defines the descriptive text that displays in the Insert emoticon dialog box. Specify any string of unicode characters. This attribute is optional. text is an attribute of the emoticon element. |
order |
This attribute defines the order in which emoticons display in the Insert emoticon dialog box. Specify an ordinal number beginning from 1 as the value. order is an attribute of the emoticon element. This attribute is required. However, if the value of hidden is true this parameter does not take effect. |
This attribute specifies whether the emoticon displays in the Insert emoticon dialog box.
This attribute is optional. hidden is an attribute of the emoticon element. |
|
alt |
This element enables you to map key combinations to emoticons. Specify any key combination as the value. For example, if the value of defaultKey is :), you can specify :-) as the value of alt so that both key combinations render the same emoticon. This element is optional. |
Remember |
|
Emoticon Definition Example
<emoticons>
<emoticon defaultKey=":)" image="Emoticons_Smiling.png" text="Smile" order="1">
<alt>:-)</alt>
<alt>^_^</alt>
</emoticon>
<emoticon defaultKey=":(" image="Emoticons_Frowning.png" text="Frown" order="2">
<alt>:-(</alt>
</emoticon>
</emoticons>