C’est un exemple de le création du fichier XML pour l’inclure à OneKit. S’il vous faut plus d’information concernant le format XML vous pouvez vous servir Wikipedia.
Fichier XML contient un ‘OneKit’ tag et un ou quelques éléments ‘ad’. Chacun d’élément ‘ad’ contient des champs suivants:
XML devrait ressembler à ceci:
<?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>