Skip to content
Adriano edited this page Jan 9, 2016 · 8 revisions

The XML element contains the animation information.

Example:

<header>
    <author>Adriano</author>
    <title>sheep</title>
    <petname>sheep</petname>
    <version>1.0</version>
    <info>Info about this animation and maybe a link to the author webpage.</info>
    <application>1</application>
    <icon><![CDATA[AAABAAIAEBAAAAAAIABoBAAAJ ... AAAAAAAAAAAAAAAA]]></icon>
</header>

header element

Is the child of the root of the XML document.

This element doesn't have any attributes, only child elements.

<author> element required

Max occurs: 1

Type: String

Author of the animation, can be a username, name or email.

<title> element required

Max occurs: 1

Type: String

Title of the animation, can be a simple title or the name of your pet. This text is used also on the webpage to list up the animation.

<petname> element required

Max occurs: 1

Type: String

Name of your pet (max 16 chars). This text is used on the contextmenu.

<version> element required

Max occurs: 1

Type: String

Version of the animation. Once the animation is ready to be used Worldwide, you can upload it to the webpage (http://esheep.petrucci.ch).

<info> element required

Max occurs: 1

Type: String

A description of your animation. This text is visible on the webpage if a user want to see some information about the animation and is visible in the info-dialog box on the application itself.

<application> element required

Max occurs: 1

Type: Number

Application version. With a new application, it is possible that some xml doesn't work anymore. With this application version, you can specify for what application it was designed. You need to insert the value "1"

<icon> element required

Max occurs: 1

Type: String/CDATA

The icon for your application. This is an icon used to show the application image with "ALT-TAB" or in the taskbar. Must be a .ico windows file. The image is a base64 encoded string, use this tool: image to base64 to generate the string from your ICO image. Use this tool: png to ico to convert a PNG to an icon.

Clone this wiki locally