Table of contents:

Introduction

This page goes on about various (usually client-related) things that don't really have a home as their own page (yet?).

Object Reference

Otherwise known as an "MSNObject" or msnobj, an Object Reference is a reference to an object stored in the Object Store.

Introduced in Client Version 6.0 with MSNP9.

msnobj

This element has six attributes:

This element has seven optional attributes

Examples

NOTE: The XML in these examples has been exploded for visibility and formatting reasons.

Plain

<msnobj
	Creator="example@hotmail.com"
	Size="889"
	Type="2"
	Location="example.png"
	Friendly="AAA="
	SHA1D="L/Q/zm2QjISFKvv2HBmxLr9lox8="
	SHA1C="MA0ktY4VStXZ0amX5uQyosUTOak="
/>

URL Encoded

%3Cmsnobj
	%20Creator%3D%22example%40hotmail.com%22
	%20Size%3D%2225235%22
	%20Type%3D%223%22
	%20Location%3D%22uexA4DE.dat%22
	%20Friendly%3D%22AAA%3D%22
	%20SHA1D%3D%22vP1ppB+xiFQ8ceZivRe0uCaYLIU%3D%22
	%20SHA1C%3D%22DBRJPnGb+wBYawENkdor1bOdYUs%3D%22
%2F%3E

XML Encoded

&lt;msnobj
	Creator=&quot;example%40hotmail.com&quot;
	Type=&quot;14&quot;
	SHA1D=&quot;2KLAaGhA2etdJPm61taqpbuGyd8=&quot;
	Size=&quot;267&quot;
	Location=&quot;0&quot;
	Friendly=&quot;RQB4AGEAbQBwAGwAZQAgAEwAbwBjAGEAdABpAG8AbgAgADEAAAA=&quot;
/&gt;

Location XML

Sent by Client Versions 8.1.0064 to 8.1.0068 for the "Share my location" feature.

Root

This element has two children:

Name

This element has only one attribute:

Location

This element has two children:

Latlong

This element has five attributes:

Address

This element has five attributes:

Example

NOTE: The XML in this example has been exploded for visibility and formatting reasons.

<Root>
	<Name
		name="Example Location 1"
	></Name>
	<Location>
		<Latlong
			lat="0.000000"
			long="0.000000"
			precision="3"
		></Latlong>
		<Address
			street="123 Example Street"
			city="Example City"
			state="Example State"
			code="123456"
			country="Example Country"
		></Address>
	</Location>
</Root>

Messenger Content Package Document

The content.xml of a Messenger Content Cabinet is required for downloadable content.

package

This element contains one or more <item>[#item] or <item2>[#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" />