Feed jobs

If you want Trovit to include jobs from your site in our search results you only have to follow these steps:

  • Setup a XML file with the format described below
  • Send an email to sources @ trovit . com with the URL where we can read the XML file you just created, for example: http://www.yourdomain.com/trovit_feed.xml
  • We will check your XML feed and your jobs will be searched by Trovit as soon as possible

In case you have any problem or question please don’t hesitate to contact us on sources @ trovit . com or using our contact form

XML feed format

These are some simple guidelines for the creation of a XML file to include jobs from your site in Trovit. If you need more information about the XML format you can check the Wikipedia.

The XML file has one ‘trovit’ tag, and one or more ‘ad’ elements. Each ‘ad’ element has the following fields:

  • id: id of the ad in your website (numeric or alphanumeric, but has to be unique because we use it to avoid duplicate entries)
  • title: job title
  • url: URL of the ad on your website
  • content: description of the job
  • city: city name
  • city_area: city area or neighbourhood (optional)
  • region: name of the region/county/state (optional)
  • salary: salary (text, can include comments or ranges) (optional)
  • salary_numeric: numeric value of salary (optional). For example, if “salary” is 20,000-30,000, “salary_numeric” could be 25000
  • company: company name (optional)
  • experience: required minimum experience (optional)
  • requirements: other minimum requirements (optional)
  • contract: type of contract (optional)
  • category: category name, if any (optional)
  • date: date of the ad in the following format: DD/MM/YYYY
  • time: time of the ad in the following format: HH:MM (optional)

The XML feed would look like this:

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

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

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

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

    <salary><![CDATA[...]]></salary>
    <salary_numeric><![CDATA[...]]></salary_numeric>

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

    <experience><![CDATA[...]]></experience>
    <requirements><![CDATA[...]]></requirements>
    <contract><![CDATA[...]]></contract>
    <category><![CDATA[...]]></category>

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

<ad>
    ….

</ad>

<ad>
    ….
</ad>

…

</trovit>

You can copy and paste the previous code and use it as a template for your XML file

Example XML feed

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

<ad>
    <id><![CDATA[1876]]></id>

    <url><![CDATA[http://www.yourwebsite.com/1876]]></url>
    <title><![CDATA[PHP Developer]]></title>
    <content><![CDATA[
    We are looking for a PHP developer with 2 years of experience.
    Working knowledge of French desired as the website has a French version.
    ]]></content>

    <salary><![CDATA[40.000-60.000GBP (plus bonus)]]></salary>

    <salary_numeric><![CDATA[50000]]></salary_numeric>

    <city><![CDATA[London]]></city>
    <region><![CDATA[London]]></region>

    <company><![CDATA[WebCo]]></company>
    <experience><![CDATA[2 years minimum]]></experience>
    <requirements><![CDATA[Working knowledge of French]]></requirements>
    <contract><![CDATA[Full-time]]></contract>

    <category><![CDATA[IT Jobs]]></category>

    <date><![CDATA[31/10/2005]]></date>
    <time><![CDATA[18:30]]></time>
</ad>

</trovit>