Your ads on Trovit India

Cars feed

Last Updated: [last-modified]

If you own a Classified Ads website with public advertisements, include your ads in Trovit! Follow these simple steps:

  1. Prepare a UTF-8 XML feed in the format specified for our Cars vertical (see below)
  2. Send the URL link where we can read your XML feed to Contact Trovit (Example: http://www.yourdomain.com/wp_feed.xml)

Please keep in mind that we only accept feeds containing vehicle listings. We do not include bikes, motorcycles, scooters, boats, car parts, etc… at least not yet!

Upon receiving your feed, we will index your ads in Trovit as soon as possible.

If you have questions or concerns, please don’t hesitate to contact us!

XML feed format

Here are some simple guidelines for preparing an XML feed so that we can include your ads in Trovit. You can use our XSD Schema as an example of the feed structure.If you would like additional information about the XML format, check out Wikipedia.

The UTF-8 XML file has one ‘trovit’ 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 Trovit.

  • id: id of the ad on your website (numeric or alphanumeric, however it must be unique because we use it to avoid duplicate entries)
  • url: URL of the ad on your website
  • title: title of the ad (a concise summary of the listing which does not contain your website’s name or URL).
  • content: description of the car (minimum of 30 characters)

OPTIONAL FIELDS

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

  • mobile_url: URL of the ad on your site when a user is browsing on a mobile device. Useful when your website has a mobile version.
  • price: price of the car (integer value)Please don’t include any symbols such as $ or Rs. The price is specified in “INR (Rs.)” by default. If the price of the car is in a currency different from the official currency of the country (INR/Rs), you must use the ‘currency’ attribute. The values are determined by the standard ISO-4217. With this, Trovit can convert the price into the official currency (INR/Rs).
    <price currency="EUR"><![CDATA[...]]></price>

    In this example, the price is specified in Euros. Trovit will convert this to INR (Rs.).

  • model: model of the car
  • color: colour of the car
  • year: year of the car, format YYYY
  • city: city name
  • city_area: city area or neighborhood
  • postcode: postcode
  • region: State
  • mileage: kilometres
  • doors: number of doors
  • fuel: fuel type (i.e. petrol, diesel, etc)
  • transmission: transmission of the car (manual/automatic)
  • engine_size: engine size of the car in liters or c.c. (include only the number, do not include the unit) (decimal values accepted); select one of the following:
    <engine_size unit="liters"><![CDATA[...]]></engine_size>
    <engine_size unit="cc"><![CDATA[...]]></engine_size>
  • power: power of the car (integer value); select the appropriate syntax:
    <power unit="kw"><![CDATA[...]]></power>
    <power unit="cv"><![CDATA[...]]></power>
    <power unit="ch"><![CDATA[...]]></power>
    <power unit="km"><![CDATA[...]]></power>
    <power unit="hp"><![CDATA[...]]></power>
    <power unit="ps"><![CDATA[...]]></power>
    <power unit="pk"><![CDATA[...]]></power>
    <power unit="cp"><![CDATA[...]]></power>
  • fuel_consumption: Car’s combined fuel consumption. If no unit measure is specified, l/100km will be used as the default unit. You can specify the unit measure used with the ‘unit’ attribute:
    <fuel_consumption unit="km/l"><![CDATA[...]]></fuel_consumption>

    Accepted unit measures: “l/100km”, “km/l”, “mpg”, “gal/mi”.

  • co2_emissions: Car’s CO2 emissions. If no unit measure is specified, g/km will be used as the default unit. You can specify the unit measure used with the “unit” attribute:
    <co2_emissions unit="g/mi"><![CDATA[...]]></co2_emissions>

    Accepted unit measures: “g/km”, “g/mi”.

  • eco_score: Free-text information about the car’s eco score.
    • seats: number of seats in the car
    • gears: number of gears
    • pictures: The ‘pictures’ element may contain a set of ‘picture’ tags, each of which contains the following elements:
      • pictures: This tag includes the various images of the property.
        The field that defines an image in particular is <picture>:

        • picture: This tag includes the fields to specify the URL and the title of the image (the latter being optional). You can specify if the image should be the featured image using the attribute ‘featured’.
                  <picture featured="true"><![CDATA[...]]></picture>

          The available values for “featured” are: “true” o “false”.

          The fields to be defined within the element <picture> are:

          • picture_url: The image URL.
          • picture_title: Image title.
        <pictures>
            <picture>
                <picture_url><![CDATA[...]]></picture_url>
                <picture_title><![CDATA[...]]>/picture_title>
            </picture> 
        
            <picture featured="true">
                <picture_url><![CDATA[...]]></picture_url>
                <picture_title><![CDATA[...]]>/picture_title>
            </picture>
                ...
        </pictures>
      • picture_title: Title of the picture
      • picture_url: URL link to the picture on your website
<pictures>
    <picture>
        <picture_url><![CDATA[...]]></picture_url>
        <picture_title><![CDATA[...]]></picture_title>
    </picture>

    <picture>
        <picture_url><![CDATA[...]]></picture_url>
        <picture_title><![CDATA[...]]></picture_title>
    </picture>
        ...
</pictures>

The picture shown on Trovit is the first picture of the set of pictures included in the feed. Please select this picture carefully as it has a strong influence on the click through behaviour of our users.

Trovit doesn’t allow corporate images with information such as “No image available”.
If Trovit detects these kind of pictures, it has the right to stop the inclusion of your ads.

Once inserted for the first time, our system doesn’t modify or upload new pictures.
Please make sure that you include the correct picture(s) once you include the ad in the feed for the first time. Images must be at least 186x186px and have a maximum size of 1MB.

    • date: date and time the ad was published. Valid formats: DD/MM/YYYY or DD/MM/YYYY HH:MM:SS and YYYY/MM/DD or YYYY/MM/DD HH:MM:SS.
    • expiration_date: date the ad will expire on. Valid formats: DD/MM/YYYY or DD/MM/YYYY HH:MM:SS and YYYY/MM/DD or YYYY/MM/DD HH:MM:SS.
    • is_new:whether or not the car is new; (format: 0 = No, 1 =Yes)/li>
    • car_type: body style of the vehicle: sedan, coupe, truck, convertible, SUV, 4×4 etc
    • warranty: warranty conditions

The XML feed should look like this:

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

<ad>
    <id><![CDATA[...]]></id>
    <url><![CDATA[...]]></url>
    <title><![CDATA[...]]></title>

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

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

    <make><![CDATA[...]]></make>
    <model><![CDATA[...]]></model>
    <color><![CDATA[...]]></color>

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

    <city><![CDATA[...]]></city>
    <city_area><![CDATA[...]]></city_area>
    <postcode><![CDATA[...]]></postcode>
    <region><![CDATA[...]]></region>

    <mileage><![CDATA[...]]></mileage>
    <doors><![CDATA[...]]></doors>
    <fuel><![CDATA[...]]></fuel>
    <transmission><![CDATA[...]]></transmission>
    <engine_size><![CDATA[...]]></engine_size>
    <power unit = hp><![CDATA[...]]></power>
    <seats><![CDATA[...]]></seats>
    <gears><![CDATA[...]]></gears>

    <pictures>
        <picture>
            <picture_url><![CDATA[...]]></picture_url>
            <picture_title><![CDATA[...]]></picture_title>
        </picture>

        <picture>
            <picture_url><![CDATA[...]]></picture_url>
            <picture_title><![CDATA[...]]></picture_title>
        </picture>
        ...
    </pictures>

    <date><![CDATA[...]]></date>
    <is_new><![CDATA[...]]></is_new>
    <car_type><![CDATA[...]]></car_type>
    <warranty><![CDATA[...]]></warranty>




</ad>

<ad>
    ....

</ad>

<ad>
    ....
</ad>

...

</trovit>

Example XML feed

<?xml version="1.0" encoding="utf-8"?>
<trovit>
<ad>
<id><![CDATA[7004578]]></id>
<url><![CDATA[http://www.yourdomain.com/ad/7004578]]></url>
<title><![CDATA[2007 Toyota Qualis]]></title>
<content><![CDATA[Front passenger airbag,central door locking,Radio.]]></content>
<price><![CDATA[450000]]></price>
<make><![CDATA[Toyota]]></make>
<model><![CDATA[Qualis]]></model>
<color><![CDATA[Metallic Grey]]></color>
<year><![CDATA[2007]]></year>
<city><![CDATA[Bangalore]]></city>
<city_area><![CDATA[BTM Layout]]></city_area>
<postcode><![CDATA[560076]]></postcode>
<region><![CDATA[Karnataka]]></region>
<mileage><![CDATA[30000]]></mileage>
<doors><![CDATA[5]]></doors>
<fuel><![CDATA[petrol]]></fuel>
<transmission><![CDATA[manual]]></region>
<engine_size><![CDATA[1781]]></engine_size>
<power unit = hp><![CDATA[75]]></power>
<seats><![CDATA[5]]></seats>
<gears><![CDATA[6]]></gears>
<pictures>
<picture>
<picture_url><![CDATA[http://www.yourdomain.com/img1.jpg]]></picture_url>
<picture_title><![CDATA[front]]></picture_title>
</picture>
<picture>
<picture_url><![CDATA[http://www.yourdomain.com/img2.jpg]]></picture_url>
<picture_title><![CDATA[interior]]></picture_title>
</picture>
</pictures>
<date><![CDATA[31/03/2010 15:30]]></date>
<is_new><![CDATA[0]]></is_new>
<car_type><![CDATA[hatchback]]></car_type>
<warranty><![CDATA[until 2011]]></warranty>



</ad>
</trovit>

Technical Specifications

For more information, click here: see technical specifications.

Privacy policy · Legal Notice · Terms and conditions · Cookie policy