Feed Classes

Updated: Ene 22, 2018

If you have a website with public notices, you can include your ads in Doplim! It's simple:

1) Create an XML file in the format specified below.

2) Send the URL where (Example: www.tudominio.com/doplim_feed.xml) is received through our form contact.

From that moment, we will read the feed periodically to insert new ads, make the necessary changes and expiring those notices that are not already present in your feed.

Your ads will be introduced in Doplim search results as soon as possible.

If you have any questions do not hesitate toa contact us


XML feed format

These are the instructions for preparing an XML feed in order to include your ads in Doplim. If you need more information about the XML format we suggest that you consult the Wikipedia.

The encoding of the file must be inUTF-8.

The XML file will contain a major label<doplim></doplim> collecting a set of messages represented by blocks labels<ad></ad>, they contained, in another block<ads></ads>. each block <ad></ad> It contains mandatory and optional fields:

Required fields

Required fields are a set of XML tags that provide the minimum amount of information necessary for our system to include your ads in Doplim.

  • id: ID announcement on your web page (can be numeric or alphanumeric, but must be unique because we use it to avoid duplicate notices).
  • url: URL of the ad on your website.
  • title: Notice Title (20 characters minimum) should be fully associated with the message may not contain either the name or the URL of your website).
  • description: Description of the notice (minimum 30 characters). Remember, the richer the description, the higher your audience!
  • main_category The main category is a code that represents the vertical field.
          For Classes is 2
  • sub_category:The subcategory of the main category, is a code that represents the sub-item of Classes. These are the code for Classes
    • Computer - Multimedia Classes
    • Language Classes
    • Music - Theatre - Dance Classes
    • Tutoring - Private Lessons
    • Other Classes
  • ubication: he location has 3 data
    1. country: Country Post
    2. province: Advert country or region Province
    3. city: City

OPTIONAL FIELDS

Optional fields should not be added if it has no content. But if you have these fields in your website, do not hesitate to include them in your feed. The sorting algorithm prioritizes quality Doplim, and the richer the notice, the better your ranking!

  • price: Price is acceptable separated by decimal point. You can include the attribute currency to specify the currency as:
    • USD (for the US dollar)
    • EUR (for the Euro)
    If the currency is not specified, when empty or being in the absence of this attribute, the local currency will be taken.
  • postal_code: postcode
  • address: Address announcement
  • latitude: Latitude coordinate of the notice, for geolocation
  • longitude: Longitude coordinate the announcement, for geolocation
  • telephone: Contact phone
  • images: Urls representing the images of the announcement. They should be placed as daughters tags<images>, named "image_x", where x is the serial number of images. example: <image_1>, <image_2>, <image_3>
  • type: Type of course or class

EXAMPLE

<?xml version="1.0" encoding="utf-8"?>
<doplim>
<ads>
    <ad>
        <id>2342344<id>
        <url>http://www.tudominio.com/2342344.html</url>
        <title>Dentist course in the area of San Fernando</title>
        <description>Needs to be addressed: Review / cleaning.
             Unexplained toothache / pain. Decay. Type of patient: Adult.
            Is it an emergency? Yes. Anything else the dentist should know? Bad breath.
             When do you need a dentist? Wednesday 15 March 2017 (03/15/2017).
            What time? 10 am
            Dentist course
        </description>
        <main_category>2</main_category>
        <sub_category>Tutoring - Private Lessons</sub_category>
        <action>add</action/>
        <ubication>
            <city>San Fernando</city>
            <province>Colchagua</province>
            <country>Chile</country>
        </ubication>
        <price currency="USD">5000.00</price>
        <postal_code>35762</postal_code>
        <address>2308 4th Ae N</address>
        <latitude>33.5193221</latitude>
        <longitude>-86.803067,3</longitude>
        <telephone>4619165116 </telephone>
        <images>
               <image_1>http://www.tudominio.com/2342344-images-1.jpg</image_1>
               <image_2>http://www.tudominio.com/2342344-images-2.jpg</image_2>
               <image_3>http://www.tudominio.com/2342344-images-3.jpg</image_3>
        </images>
        <type>Dentist course</type>
    </ad>
</ads>
</doplim>