US Sélectionne ta région
 
 
XML Source Format

XML Feed Format

Here are some simple guidelines for preparing an XML feed in order to include your ads in GVA24. If you would like additional information about the XML format, check out Wikipedia. The feed should be written in UTF-8. The XML file has one ‘gva24' tag, and one or more ‘ad' elements. Each ‘ad' element has the following fields:

REQUIRED FIELDS: Required fields have to be included in the feed as they contain the minimum amount of information necessary for our system to include your ads in GVA24.


    * id: numeric id of the ad on your website (it must be unique, we use it to avoid duplicate entries)
    * url: URL of the ad on your website

    * title: title of the ad
    * content: content of the ad (minimum of 20 characters)
    * category: category name of the ad (see allowed category names bellow)
    * country: country of the ad, all valid country names in English are allowed (e.g. France, FRance or FRAANCE)
    * city: city of the ad
    * region: region name
    * phone: phone number of the ad

 

About category: We accept 3 variants of xml feed for now: 1.Car -Vehicles, 2.Jobs, 3.Real Estate. Allowed category names depends on the variant:

Allowed category names

Car -Vehicles

Jobs

Real Estate

Carpool

Cars

Guidebooks

Other

Parts - Accessories

Professional Services

Search Cars

Technical Journals

Utilities

At your service

Employment Applications

Jobs

Other

Other

Professional Services

Rentals

Sales

Seeking to rent

Wants to buy

 

 

OPTIONAL FIELDS: You are not required to include optional fields. However, if you have the information, please use it! GVA24's algorithm prioritizes higher-quality ads; therefore including more information will optimize your positioning.

    * price: price of the ad (integer value).

Please do not include any symbols such as € or $. The price is specified in "USD ($)" by default. If the price is specified in a currency other than USD ($), a currency tag should be included. Allowed currencies are: USD, EUR, CHF, BRL.

<price><![CDATA[1200]]></price>
<currency><![CDATA[EUR]]></currency>

    * postcode:
postal code of the ad
    * address:
street address of the ad
    * date:
date of the ad in the following format: DD/MM/YYYY
    * expiration_date:
expiration date in the following format: DD/MM/YYYY
    * type:
listing type. GVA24 contains "offering" or "wanted" listings at this time
    * pictures:
URLs of the pictures for this ad. The ‘pictures' element may contain one or more sets of ‘picture' tags:


       <pictures>
          <picture>
             <picture_url><![CDATA[http://www. my-domain.com /pic.jpg]]></picture_url>
          </picture>
          <picture>
             <picture_url><![CDATA[http://www.my-domain.com/pic2.jpg]]></picture_url>
         </picture>
      </pictures>

The first photo you display in the ‘pictures' tag will be the photo shown on GVA24. Please select this picture carefully as far as it has a influence on the click through behavior of our users. Once a picture is inserted for the first time, our system does not modify or reupload new pictures. So make sure that you include the correct pictures each time you include a new ad in the feed.

           

The XML feed looks like this:

<?xml version="1.0" encoding="utf-8"?>

<gva24>

 

<ad>

<!-- BASIC FIELDS (be free to delete this comment row) -->

    <id><![CDATA[...]]></id>

    <title><![CDATA[...]]></title>

    <url><![CDATA[...]]></url>

    <content><![CDATA[...]]></content>

    <category><![CDATA[...]]></category>

    <country><![CDATA[...]]></country>

    <city><![CDATA[...]]></city>

    <region><![CDATA[...]]></region>

    <phone><![CDATA[...]]></phone>

<!-- OPTIONAL FIELDS (be free to delete this comment row) -->

    <postcode><![CDATA[...]]></postcode>

    <price><![CDATA[...]]></price>

    <currency><![CDATA[...]]></currency>

    <date><![CDATA[...]]></date>

    <expiration_date><![CDATA[...]]></expiration_date>

    <type><![CDATA[...]]></type>

      <pictures>

        <picture>

            <picture_url><![CDATA[...]]></picture_url>

        </picture>

        <picture>

            <picture_url><![CDATA[...]]></picture_url>

        </picture>

    </pictures>

</ad>

<ad>

</ad>

 

....

 

<ad>

    ....

</ad>

</gva24>

 

EXAMPLE OF XML FEED

<?xml version="1.0" encoding="utf-8"?>

<gva24>

 

<ad>

<!-- BASIC FIELDS (be free to delete this comment row) -->

    <id><![CDATA[123]]></id>

    <title><![CDATA[Prod title]]></title>

    <url><![CDATA[http://www.www.ww]]></url>

    <content><![CDATA[some content here]]></content>

    <category><![CDATA[Cars]]></category>

    <country><![CDATA[France]]></country>

    <city><![CDATA[Apeldorn]]></city>

    <region><![CDATA[Region name]]></region>

    <phone><![CDATA[354 244-54-45]]></phone>

<!-- OPTIONAL FIELDS (be free to delete this comment row) -->

    <postcode><![CDATA[0048]]></postcode>

    <price><![CDATA[1200]]></price>

    <currency><![CDATA[USD]]></currency>

    <date><![CDATA[21/10/2011]]></date>

    <expiration_date><![CDATA[31/01/2015]]></expiration_date>

    <type><![CDATA[Offering]]></type>

  <pictures>

        <picture>

            <picture_url><![CDATA[http://www.ww/pic.jpg]]></picture_url>

        </picture>

        <picture>

            <picture_url><![CDATA[http://www.ww/pic2.jpg]]></picture_url>

        </picture>

    </pictures>

</ad>

<ad>

<!-- BASIC FIELDS (be free to delete this comment row) -->

    <id><![CDATA[124]]></id>

    <title><![CDATA[2Prod title]]></title>

    <url><![CDATA[2http://www.www.ww]]></url>

    <content><![CDATA[2some content here]]></content>

    <category><![CDATA[Carpool]]></category>

    <country><![CDATA[USA]]></country>

    <city><![CDATA[Apeldorn]]></city>

    <region><![CDATA[2Region name]]></region>

    <phone><![CDATA[2354 244-54-45]]></phone>

<!-- OPTIONAL FIELDS (be free to delete this comment row) -->

    <postcode><![CDATA[20048]]></postcode>

    <address><![CDATA[2North Street 45/4]]></address>

    <price><![CDATA[21200]]></price>

    <currency><![CDATA[USD]]></currency>

    <date><![CDATA[221/10/2011]]></date>

    <expiration_date><![CDATA[231/01/2015]]></expiration_date>

    <type><![CDATA[wanted]]></type>

  <pictures>

        <picture>

            <picture_url><![CDATA[http://www.ww/pic3.jpg]]></picture_url>

        </picture>

        <picture>

            <picture_url><![CDATA[http://www.ww/pic4.jpg]]></picture_url>

        </picture>

    </pictures>

</ad>

 

</gva24>