Flujos Yakaz en XML
Flujos Yakaz en XML
Este es el formato de flujo recomendado para incluir sus anuncios clasificados en nuestro motor de búsqueda. Si utiliza este formato, sus anuncios aparecerán más rápido que con otros formatos y usted podrá controlar toda la información relevante asociada a estos anuncios en nuestro motor.
Su flujo puede contener un número ilimitado de anuncios y actualizarse según la frecuencia deseada (cada día, semana, mes) y nuestro sistema se adaptará automáticamente. También puede enviar todos sus anuncios en un único flujo, incluso si pertenecen a diferentes categorías.
Atención: en los flujos XML no es posible añadir etiquetas HTML. En cambio, sí se pueden utilizar etiquetas [CDATA].
Ejemplo de flujo Yakaz:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE yakaz PUBLIC "" "http://www.yakaz.com/yakaz.dtd" >
<yakaz version="1.0">
<ad-housing category="housing:rentals"> <!-- for each housing rentals ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<price unit="euro">499000</price>
<!-- unit can be "euro", "dollar", "pound", "peso" - 0 if no price -->
<rooms>5</rooms>
<!-- rooms number - option -->
<bedrooms>3</bedrooms>
<!-- bedrooms number - option -->
<bathrooms>2</bathrooms>
<!-- bathrooms number - option -->
<surface unit="m2">120</surface>
<!-- unit can be "m2" or "sqft" - option -->
</what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-housing>
<ad-housing category="housing:sales"> <!-- for each housing sales ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<price unit="euro">499000</price>
<!-- unit can be "euro", "dollar", "pound", "peso" - 0 if no price -->
<rooms>5</rooms>
<!-- rooms number - option -->
<bedrooms>3</bedrooms>
<!-- bedrooms number - option -->
<bathrooms>2</bathrooms>
<!-- bathrooms number - option -->
<surface unit="m2">120</surface>
<!-- unit can be "m2" or "sqft" - option --> </what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-housing>
<ad-housing category="housing:vacation"> <!-- for each housing vacation ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<price unit="euro">499000</price>
<!-- unit can be "euro", "dollar", "pound", "peso" - 0 if no price -->
<rooms>5</rooms>
<!-- rooms number - option -->
<bedrooms>3</bedrooms>
<!-- bedrooms number - option -->
<bathrooms>2</bathrooms>
<!-- bathrooms number - option -->
<surface unit="m2">120</surface>
<!-- unit can be "m2" or "sqft" - option -->
</what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-housing>
<ad-housing category="housing:commercials"> <!-- for each housing commercial ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<price unit="euro">499000</price>
<!-- unit can be "euro", "dollar", "pound", "peso" - 0 if no price -->
<surface unit="m2">120</surface>
<!-- unit can be "m2" or "sqft" - option --> </what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-housing>
<ad-cars category="cars"> <!-- for each cars ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<price unit="euro">14000</price>
<!-- unit can be "euro", "dollar", "pound", "peso" - 0 if no price -->
<brand>Car brand</brand>
<!-- ex: Mercedes -->
<model>Car model</model>
<!-- ex: S400 -->
<engine>Diesel</engine>
<!-- Engine : Diesel, Gasoline, ... - optionnel -->
<year>2004</year>
<!-- Year - optionnel -->
</what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-cars>
<ad-motorbikes category="motorbikes"> <!-- for each motorbikes ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<price unit="euro">14000</price>
<!-- unit can be "euro", "dollar", "pound", "peso" - 0 if no price -->
<brand>Motorbike brand</brand>
<!-- ex: Piaggio -->
<model>Motorbike model</model>
<!-- ex: X8 -->
<cc>Engine</cc>
<!-- ex: 125, 250 -->
</what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-motorbikes>
<ad-jobs category="jobs"> <!-- for each jobs ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<jobtitle>Job Title</jobtitle>
<company>Company name</company>
<salary unit="euro">34000</salary>
<!-- unit can be "euro", "dollar", "pound", "peso" - option -->
<contract>Freelance</contract>
<!-- type of job : freelance, full time, ... - option -->
<study>Study level</study>
<!-- Study level - option -->
</what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-jobs>
<ad-miscellaneous category="miscellaneous">
<!-- for any other ad -->
<what>
<title>Ad title</title>
<description>Detailed description of the ad</description>
<ad-url>http://www.example.org/ad</ad-url>
<picture-url>http://www.example.org/ad-picture</picture-url>
<!-- no logo - option -->
<price unit="euro">14000</price>
<!-- unit can be "euro", "dollar", "pound", "peso" - 0 if no price -->
</what>
<where>
<street-address display-address="yes">Number and street</street-address>
<!-- option -->
<city-name>Name of the city</city-name>
<zip-code>Zipcode</zip-code>
<country>US</country>
<!-- country codes : FR, ES, UK, DE, US, IT, MX, AR, CL -->
</where>
</ad-miscellaneous>
</yakaz>Si tiene alguna consulta, no dude en ponerse en contacto con nosotros directamente.

