These are some simple guidelines for the creation of a XML file to include ads from your site in OneKit. If you need more information about the XML format you can check the Wikipedia.
The XML file has one ‘OneKit’ tag, and one or more ‘ad’ elements. Each ‘ad’ element has the following fields:
The XML feed would look like this:
<?xml version=”1.0″ encoding=”utf-8″?>
<onekit>
<ad>
<title><![CDATA[...]]></title>
<url><![CDATA[...]]></url>
<content><![CDATA[...]]></content>
<city><![CDATA[...]]></city>
<region><![CDATA[...]]></region>
<postcode><![CDATA[...]]></postcode>
<salary><![CDATA[...]]></salary>
<salary_numeric><![CDATA[...]]></salary_numeric>
<company><![CDATA[...]]></company>
<experience><![CDATA[...]]></experience>
<requirements><![CDATA[...]]></requirements>
<contract><![CDATA[...]]></contract>
<date><![CDATA[...]]></date>
</ad>
<ad>
….
</ad>
<ad>
….
</ad>
…
</onekit>
You can copy and paste the previous code and use it as a template for your XML file
<?xml version=”1.0″ encoding=”utf-8″?>
<onekit>
<ad>
<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>
<postcode><![CDATA[BR1]]></postcode>
<company><![CDATA[WebCo]]></company>
<experience><![CDATA[2 years minimum]]></experience>
<requirements><![CDATA[Working knowledge of French]]></requirements>
<contract><![CDATA[Full-time]]></contract>
<date><![CDATA[31/10/2005]]></date>
</ad>
</onekit>