MarketGid XML File Format Description

price date="…"> PART 1

------

<name>…</name>

<url>…</url> PART 2

<currency code="…"/>

------

<catalog>

category id="…">…</category> PART 3

<category id="…" parentId="…">…</category>

</catalog>

------

items>

<item id="…">

<name>…</name>

<url>…</url>

<price>…</price>

<categoryId>…</categoryId>

<vendor>…</vendor>

<image>…</image>

<description>…</description>

</item>

<item id="…"> PART 4

<name>…</name>

<url>…</url>

<price>…</price>

<categoryId>…</categoryId>

<vendor>…</vendor>

<image>…</image>

<description>…</description>

</item>

</items>

------

</price>

PART 1

Example: <price date="2007-05-13 16:51">

The attribute date should contain the date and time of the creation of the file.

PART 2

Example:

<name>USAINKTANK</name>

<url>http://usainktank.com</url>

currency code="USD" rate="5.2" />

The Tag name contains only the name of the shop/partner.

The Tag url contains the link/web address to the main page of the shop/partner.

The attribute code tag currency specifies the currency that will be displayed. Admissible values include ”USD”, ”EUR”, ”UAH”. (US dollar, Euro, Ukrainian Grevnya)

The attribute rate tag currency specifies the exchange rate.

Example:

<currency code="USD" rate="5.2" /> - Currency price of the US dollar, at a rate of 5.2

currency code="EUR" /> - Currency price of the Euro,

<currency code="UAH" /> - Currency price of the Ukrainian Grevnya

PART 3

Example:

catalog

<category id="1">Home Appliances</category>

<category id="2" parentID="1">Blenders</category>

</catalog

The tag catalog contains the description of the category hierarchy.

The tag category contains the name of a specific category in the hierarchy.

The attribute id tag category contains unique id categories.

The attribute parentID tag category contains the id of a parent category. (If the attribute parentID is not specified, or is equal to zero, then the parental category will be considered the root category).

PART 4

Example:

items

item id="1">

<name>Delphi XM Radio CD Audio System</name>

url>http://www.satellitesounds.com/index.php</url

<price>43.51</price>

<categoryId>1</categoryId>

<vendor>SatelliteSounds</vendor>

<image>http://gimg.dt00.net/goods/1285/128524/34143big.jpg</image>

description>Model:SA10034 This fully portable system lets you choose what you're in the mood to listen to. From XM Satellite Radio to AM/FM radio to a CD/MP3 player - you're in charge of the music at home or on the move!</description

</item>

<item id="2">

<name>Delphi XM Radio CD Audio System</name>

url>http://www.satellitesounds.com/index.php</url

<price>43.51</price>

<categoryId>1</categoryId>

<vendor>SatelliteSounds</vendor>

<image>http://gimg.dt00.net/goods/1285/128524/34143big.jpg</image>

description>For use with the SKYFi/SKYFi2 or Roady XT Receivers (sold separately). Kit Includes Portable boombox with dock for the Roady XT, SKYFi, and SKYFi 2 (receivers sold separately) Home antenna Home power adapter Remote Dock for Roady XT --</description>

</item>

</items>

The tag items contains all descriptions of the goods in the export file.

The tag item contains the description of separate goods.

The attribute ID tag item contains the unique ID for the product.

The tag name contains that name of the product.

The tag url contains the hyper-link to the page where the product is sold on the shop/partner's website.

The tag price contains the price of the described goods and/or services (Free products and invalid prices are not desirable and may be removed).

The tag categoryId contains the category ID from the category hierarchy of the product's export file.

The tag vendor contains the name of the manufacturer of the described goods. This field is not obligatory.

The tag image contains a link (URL) to the image of the goods in gif, jpg or png format. This field is not obligatory.

The tag description contains a description of the product, a line of text up to 64 kb. This field is not obligatory.