Table of contents:

Introduction

The Messenger Content Package Document, also known as the content.xml file, is an requirement for downloadable content.

package

This element contains one or more <item> or <item2> elements.

This element has three attributes:

If the type of this <package> is a theme, this element has another four optional attributes:

If the type of this <package> is a dynamicpicture, this element has another two attributes:

If the type of this <package> is a dynamicbackground, this element has another two attributes:

If the type of this <package> is a wink, this element has another two attributes:

item

This element has three attributes:

This element has only three optional attributes:

If the type of this <item> is a background, this element has another six attributes:

If the type of this <item> is a usertile, this element has another three attributes:

If the type of this <item> is a emoticon, this element has another four attributes:

If the type of this <item> is a mood, this element has another four attributes:

If the type of the <package> is dynamicbackground, and the type of this <item> is a animation, this element has another thirteen optional attributes:

If the type of the <package> is wink, and the type of this <item> is a animation, this element has another two attributes:

If the type of the <item> is dynamicbackground, this element has another three attributes:

If the type of the <item> is scene, this element has another three attributes:

If the type of the <item> is sound, this element has another three attributes:

item2

A newer version of <item> that was introduced with Client Version 7.5. Mostly used for Dynamic Backgrounds.

As an extension of <item>, all previous attributes apply.

This element has only one new child:

Examples

Standard content

<?xml version="1.0" encoding="UTF-8" ?>
<package
	xmlns="http://messenger.msn.com/messengercontent/1.0"
	version="1.0"
	type="theme"
	contenttype="P"
	contentid="examplepack"
	partnerid="EXAMPLE"
>
	<item
		xmlns:emoticon="http://messenger.msn.com/emoticon/1.0"
		type="emoticon"
		contentid="examplepack1"
		contenttype="P" 
		mimetype="image/png"
		file="19x19_example.png"
		emoticon:namespaceprefix="EXAMPLE"
		emoticon:displayname="Example Emoticon"
		emoticon:keysequence="(Ex.)"
	/>
	<item
		xmlns:usertile="http://messenger.msn.com/usertile/1.0"
		type="usertile"
		contentid="examplepack2"
		contenttype="P"
		mimetype="image/png"
		file="96x96_example.png"
		usertile:default="true"
		usertile:displayname="Example User Tile"
	/>
	<item
		xmlns:background="http://messenger.msn.com/background/1.0"
		type="background"
		contentid="examplepack3"
		contenttype="P"
		mimetype="image/png"
		file="400x300_example.png"
		background:default="true"
		background:displayname="Example Background"
	/>
</package>

Indirect

<?xml version="1.0" encoding="UTF-8" ?>
<package contentlocationurl="http://example.com/content/example.mct" />