Compari – XML Feed
In order to be able to import products into our search engine, it is necessary to have a so-called XML file or csv file (feed) created. It is a simple data format that you can use to provide us with information about products and their prices. The feed is automatically generated from your site, so consult your webmaster about its creation or modification.
We download your feed every day at 16:00, the update of the given products is displayed the following day. If you need earlier updates, we recommend the premium package.
| Required fields | |
|---|---|
| Identifier | The unique product identifier used by the online store. Its value remains unchanged. |
| Manufacturer | Name of the product manufacturer. Optionally, it can also be entered at the beginning of the product name in the “Name” field.Example: Sony |
| Name | Product name. Beginning with a capital letter, the use of capital letters in other places is allowed only in justified cases (e.g. abbreviation). The name must contain the full name. On the contrary, it must not contain advertising.Example: Cyber-shot DSC-H10If you cannot enter the manufacturer’s name in a separate field, enter it here before the product name.Example: Sony Cyber-shot DSC-H10 |
| Category | Categorizing the product. We can process continuous, hierarchically structured categories. You can find all used categories here: https://www.compari.ro/MainCategories.phpExample: Electronice > Camere foto si video > Aparate foto |
| ProductUrl | Link (URL) to the product page.Example: http://www.example.com/products.php?id=45884 |
| Price | The price of the product for the end user (price including VAT and other taxes that the consumer must pay for the given product). The price of the minimum quantity that can be ordered is shown on the product page. |
| Other recommended fields | |
| ProductNumber | Product code provided by the manufacturer.ProductNumber must be listed in the feed in the case of electronics, IT, home goods and in those categories in which processing is based on the product code.We only accept product codes used by the manufacturer. Examples: KD-55XF9005, GV-N166TOC-6GD, 90MP00M1-B0UA00 |
| MaxCPCMultiplier | Product max bid multiplier. With its help, you can determine the multiplication of the list price. That is the cost per click of the recommended position that you are willing to pay compared to the base price of the category.Bid values listed in the feed are accepted by the Compari.ro system if they meet the following conditions:”BIDx” is inserted before the bid multiplier.The bid multiplier value is a number between 1.5 and 100.0.The bid multiplier value contains a maximum of one decimal place.Correct formats: “BIDx1.5”; “BIDx1.5”; “BIDx2”; “BIDx9.4”.Invalid formats: “1.5”; “BID:1.5″;”BIDx1.55”.We take into account the multiplier of the product’s maximum offer only in the case of products that we display on Compari.If an offer multiplier is set for a product both in the store administration and in the feed, the system will take into account the offer in the store administration. |
| DeliveryCost | The cost of delivering the product to the customer’s home.If the cost of shipping the product across the country is free, regardless of the weight and price of the product, the correct formats are: FREE, gratuit, gratis, faraIf the cost of transporting a product across the country is set regardless of the product’s weight and price, for example 30 Ron (amount including VAT), the correct formats are: 30; 30 RON |
| DeliveryTime | Product delivery time. The given product will be delivered within this number of working days from the date of placing the order. The data must be entered in days.Correct formats: 2; 2 zile; 2 zile lucratoare (2 working days – the Romanian version must be displayed in the feed).Incorrect formats: 1 saptamana; 2-4 zile; In stoc (1 week; 2 – 4 days; in stock; in stock) For products that can be shipped immediately (or next business day), the correct format is: is: 1; 1 zi; 1 zi lucratoare (1 working day – the Hungarian version must be displayed in the feed)If the product cannot be ordered, enter “NO” (“NO”) in the field and the product will not appear on Árukereső .hu.The information provided is displayed as follows: In stoc (In stock), Livrare: max 3 zile (Delivery: max 3 days), Livrare: max 1 sapt (Delivery: max 1 week), Livrare: max 2 sapt (Delivery: max 2 weeks), Livrare: min 2 sapt (Delivery: min. 2 weeks).We can only display this data if it can also be found on the product page. In the case of product pages containing several offers, it must be clearly identifiable which product the information refers to. |
| EanCode | Min. 8-digit, max. 13-digit product identifier provided by the manufacturer. It must be unique. |
| ShoppingDisabled | Disabling a product in the Compari Shopping service.In the list of products, enter the following:1 ⇒ If you do not wish to display the given product in the Árukereső Shopping service.0 (or empty field) ⇒ The given product can be viewed in the Árukereső Shoping service. |
| EnergyEfficiencyA-G | The energy efficiency class of the given product valid from 1/3/2021, which can be a capital letter between A–G. |
| EnergyLabelA-G | Link (URL) to the image of the new energy label of the product, which came into effect on 1/3/2021.Example: http://www.example.com/energylabels/45884.jpg |
| DetailedSpecificationA-G | Link (URL) to the new detailed technical data sheet of the product, which came into effect on 03/01/2021. We ask that you send the detailed data sheet in pdf or jpg/png format.Example: http://www.example.com/datasheet/93812.pdf |
| Description | Product description that includes important parameters. So that customers can get accurate information. |
| ImageUrl | Link (URL) to product photo. If an image is available in multiple sizes, it is advisable to provide a link in the best quality. The minimum size we can display is 150 × 150 pixels. Please provide the actual product image. An image that only contains the information “Uploading soon” or a company logo is considered invalid.Example: http://www.example.com/images/45884.jpg |
| ImageUrl2 | Link (URL) to product photo if you have multiple images.Example: http://www.example.com/images/45885.jpg |
| Color | The dominant color of the product. The field is only used in the fashion category.Please enter only one color for the product. If the product has multiple color variants, enter the product in the feed with a unique identifier and name as many times as it is available in different colors.We can only accept the color if the product color in the attached image matches the color listed in this box. Please do not use the same product image for each version. |
| Size | Product size. The field is only used in the Fashion category.Please enter only one size for the product. If a product has multiple sizes, enter the product in the feed with a unique identifier and name as many times as it is available in different sizes.Our system can only interpret EU and International (S/M/L) sizes, we cannot accept other sizes. |
| GroupId | A grouping of products that are included in the product feed multiple times. Variation may be due to color, size, pattern, or other product characteristics (e.g. memory size). |
| Attributes | A field suitable for transferring product properties. Products sent with parameters are automatically filtered in categories. The more information you provide, the easier your products will be found.We can process product characteristics in XML regardless of the list type, which can be accessed as follows: <Attributes> <Attribute> <Attribute_name>Típus</Attribute_name> <Attribute_value>Fejhallgató</Attribute_value> </Attribute> <Attribute> <Attribute_name>Vezeték nélküli</Attribute_name> <Attribute_value>Igen</Attribute_value> </Attribute> </Attributes> In the case of a feed in CSV format, the content between the Attributes tags in the example can be placed in the Attributes column of the CSV. In that case, the opening and closing Attributes tags are not needed in the example. The example at the bottom of the page will help to illustrate.For characteristic values of the product, always state the unit of measurement. |
Special category
We require different information and tags for the following special categories: DVDs, Books, Tires and Perfumes.
| Requirements for the Mobile phones category |
We can only display prices for products that are independent of SIM card or service provider and include complete accessories (box, charger, etc.).
| Requirements in the DVD FILM category | |
| Mandatory fields: | ReleaseDate – the year the film was releasedOriginalTitle – the original English title of the filmName – the name of the film in HungarianPrice – gross price of the product;Category – placing the product in a categoryProductUrl – the unique URL of the product |
| Recommended field: | Description – a brief description of the DVD |
| Requirements in the BOOK category | |
| Mandatory fields: | ISBN13 – 13-digit number (product identifier, must be unique)Name – product name (Book title)Price – gross price of the productProductUrl – the unique URL of the productCategory – placing the product in a category |
| Recommended fields: | ImageUrl – URL link to the product photoAuthor – the name of the author of the bookDescription – a brief description of the bookReleaseDate – year of releasePages – number of pagesWeight – weight including unit of measure (kg, g), e.g.: 1,000 gLanguage – language |
| Requirements in the TIRES category | |
| Mandatory information in the “Name” tag | Type – e.g. ContiPremiumContact 2Size 1 – e.g. 205/60Size 2 – e.g. R16LI (weight index) – e.g. 96SI (speed index) – e.g. HRun flat/reinforced tires – e.g. RFT, XL |
The product name we accept for this tire is: Continental ContiPremiumContact 2 SSR XL 205/60 R16 96H.
The order of individual parameters can change, but the manufacturer should preferably be listed either separately or at the beginning of the product name.
| Requirements in the Alloy wheel category | |
| Mandatory information in the “Name” tag | Type – e.g. Dark Blade ANNumber of screws, pitch circle – e.g. 4/100Rim diameter and width – e.g. 15 × 6.5Insertion depth – e.g. ET38Center hole size – e.g. CB72.3 |
The product name we accept for this alloy wheel is: MOMO Dark Blade AN CB72.3 4/100 15 × 6.5 ET38
The order of individual parameters can change, but the order within parameters cannot. We cannot accept the 6.5 × 15 version for the diameter and width of the rim. The manufacturer should be listed either separately or at the beginning of the product name.
| Requirements of the PERFUME category | |
| Mandatory information in the “Name” tag | Manufacturer: HUGO BOSSName – eg BaldessariniType – fragrance concentration, e.g. EDPPackaging – packaging size e.g. 75 mlPackaging – for testers, include the word “Tester” or ” Teszter” in the nameTarget group: e.g. men |
The product name we accept for this perfume is: HUGO BOSS Baldessarini EDP 75ml for men
Tester: HUGO BOSS Baldessarini EDP 75ml Tester for men
Te order of individual parameters may change, but the manufacturer should be listed either separately or at the beginning of the product name.
| Mandatory fields for partners using the Compari Marketplace service | |
| Description | Product description that includes important parameters. So that customers can get accurate information. |
| ImageUrl | Link (URL) to product photo. If an image is available in multiple sizes, it pays to link to the best quality. The minimum size we can display is 150×150 pixels. Please provide an actual product image, “Uploading soon” image or company logo is not valid.Example: http://www.example.com/images/45884.jpg |
| DeliveryTime | Product delivery time. The given product will be delivered within this number of working days from the date of placing the order. The data must be entered in days.Correct formats: 2; 2 zile; 2 zile lucratoare (2 working days – the Romanian version must be displayed in the feed).Incorrect formats: 1 saptamana; 2-4 zile; In stoc (1 week; 2 – 4 days; in stock; in stock) For products that can be shipped immediately (or next business day), the correct format is: is: 1; 1 zi; 1 zi lucratoare (1 working day – the Hungarian version must be displayed in the feed)If the product cannot be ordered, enter “NO” (“NO”) in the field and the product will not appear on Árukereső .hu.The information provided is displayed as follows: In stoc (In stock), Livrare: max 3 zile (Delivery: max 3 days), Livrare: max 1 sapt (Delivery: max 1 week), Livrare: max 2 sapt (Delivery: max 2 weeks), Livrare: min 2 sapt (Delivery: min. 2 weeks).We can only display this data if it can also be found on the product page. In the case of product pages containing several offers, it must be clearly identifiable which offer the information refers to. |
For sellers using the Árukereső Marketplace to display offers of combined products in certain categories, in addition to the name used by the manufacturer, the presence of a color is required (for example: ‘Huawei P20 lite 64GB DUAL SIM Night Black’, ‘JBL T110 Headphones, White’, ‘Nikon Coolpix B500 (purple)’). Unfortunately, it is not possible to mark the color with the “Color” tag in this case, as it can only be used in the fashion category for technical reasons.
| Recommended fields for Árukereső Marketplace | |
| BasketDisabled | Do not display the product in the Compari MarketplaceIn the list of products, enter the following:1 ⇒ If you do not wish to display the given product on the Compari Marketplace0 (or empty field) ⇒ The product can be viewed on the Compari Marketplace |
| FreeDelivery | Free home delivery can be specified if the product has free delivery in Romania. And this despite what is stated in the table of fees in the store administration.Its entry is optional, and the default value is 0. The delivery fee is calculated according to the delivery fee table from the store administration.In the list of products, enter the following:1 ⇒ If the product delivery fee in Romania is 0 RON regardless of what is stated in the delivery fee table.0 ⇒ If you want to display the product delivery fee according to the Delivery Fee table. |
| Oversize | For oversized products, the administration offers to determine special delivery fees.In the product list, please enter it as follows:1 ⇒ For products that are subject to “Oversized Products” shipping fees listed in the Shipping Fees Table.0 ⇒ For all other products. |
| Weight | Gross product weight, weight calculated with basic accessories and packaging. In addition to the weight of the product, it is mandatory to indicate the unit of measurement, which can be kg or g.Correct formats: 2 kg; 1000 g.Invalid formats: 2; 1000 grams. |
| DeliveryCostByProduct | The cost of delivery of a given product is calculated based on the number of identical items in the cart.Entering this tag is optional and its default value is 0. The delivery fee is calculated according to the delivery fee table from the store administration.Please fill it in the feed as follows:1 ⇒ Determines which products are subject to a delivery fee based on the number of products in the cart.0 ⇒ It does not matter how many products are placed in the cart. Shipping costs will be charged only once. |
File formats
The above data can be sent in CSV/TSV or XML format.
Using CSV/TSV format
You can use commas, semicolons, tabs for filling. The first line should contain the name of the fields, the other lines should contain data about the given product. A delimiter character in a data field can only appear if the field is enclosed in quotation marks. In such cases, the quotes should be “escaped”. Our system also supports doubling (“”xy””) and backslash (“xy”) as solutions. Similarly to CSV, you can change tabs in data fields to “space” in TSV. This is why TSV is easier to use in practice. For example, the “fputcsv” function of the PHP programming language works as described above.
CSV example
"category";"manufacturer";"name";"description";"price";"imageurl";"producturl";"deliverytime";"deliverycost";"identifier";"eancode";"attributes"
"Calculatoare>Laptop";"HP";"ProBook 655 F1P82EA";"Tipul de produs: Notebook...";"4033";"http://www.example.com/images/12554.jpg";"http://www.example.com/products.php?id=1231231";"1 zile";"20 RON";"1231231";"0888182757192";"<Attribute><Attribute_name>Capacitate memorie</Attribute_name><Attribute_value>8 GB</Attribute_value></Attribute> <Attribute><Attribute_name>Rezolutie ecran</Attribute_name><Attribute_value>1920 x 1080</Attribute_value></Attribute> <Attribute><Attribute_name>Capacitate Hard Disk</Attribute_name><Attribute_value>128 GB</Attribute_value></Attribute> <Attribute><Attribute_name>Bluetooth</Attribute_name><Attribute_value>Da</Attribute_value></Attribute>"
"Calculatoare>Laptop";"Lenovo";"IdeaPad 100 80T70079RI";"Laptop Lenovo IdeaPad 110-15IBR, 15.6" HD (1366x768)...";"999";"http://www.example.com/images/12555.jpg";"http://www.example.com/products.php?id=1231232";"5 zile";"FREE";"1231232";"";"<Attribute><Attribute_name>Capacitate memorie</Attribute_name><Attribute_value>4 GB</Attribute_value></Attribute> <Attribute><Attribute_name>Rezolutie ecran</Attribute_name><Attribute_value>1366 x 768</Attribute_value></Attribute> <Attribute><Attribute_name>Capacitate Hard Disk</Attribute_name><Attribute_value>500 GB</Attribute_value></Attribute> <Attribute><Attribute_name>Bluetooth</Attribute_name><Attribute_value>Da</Attribute_value></Attribute>"
"Calculatoare>Mouse";"Hama";"uRage Illuminated 113722";"Mouse uRage Illuminated cu senzor optic.";"125";"http://www.example.com/images/12556.jpg";"http://www.example.com/products.php?id=1231233";"1 zile";"20 RON";"1231233";"4047443184320";"<Attribute><Attribute_name>Tip senzor</Attribute_name><Attribute_value>Optical</Attribute_value></Attribute> <Attribute><Attribute_name>Conectivitate</Attribute_name><Attribute_value>Usb</Attribute_value></Attribute> <Attribute><Attribute_name>Wireless</Attribute_name><Attribute_value>Nu</Attribute_value></Attribute>"
"Electronice>Obiectiv aparat foto";"Canon";"EF 50mm f/1.8 STM 0570C005AA";"Canon EF 50mm f/1.8 STM este un obiectiv DSLR pe montura Canon EF...";"520";"http://www.example.com/images/12551.jpg";"http://www.example.com/products.php?id=1231234";"3 zile";"20 RON";"1231234";"0018208021994";"<Attribute_name>Compatibil cu tip montare baioneta</Attribute_name><Attribute_value>Baioneta Canon</Attribute_value></Attribute> <Attribute><Attribute_name>Distanta focala</Attribute_name><Attribute_value>50 mm</Attribute_value></Attribute> <Attribute><Attribute_name>Numar de lamele ale diafragmei</Attribute_name><Attribute_value>7</Attribute_value></Attribute> <Attribute><Attribute_name>Greutate</Attribute_name><Attribute_value>160 g</Attribute_value></Attribute>"
Using the XML format
You can also create a feed in XML format, in which all products must be contained in <products> and </products> tags, and information about a specific product must be grouped in <product> and </product> tags.
XML example
<?xml version="1.0" encoding="UTF-8" ?>
<Products>
<Product>
<Identifier>00010</Identifier>
<Manufacturer>HP</Manufacturer>
<Name>ProBook 655 F1P82EA</Name>
<ProductUrl>http://www.example.com/products/00010/probook_655.html</ProductUrl>
<Price>4033</Price>
<ImageUrl>http://www.example.com/images/pb655.jpg</ImageUrl>
<Category>Calculatoare>Laptop</Category>
<Description>Tipul de produs: Notebook...</Description>
<DeliveryTime>1 zile</DeliveryTime>
<DeliveryCost>20 RON</DeliveryCost>
<EanCode>8806088369228</EanCode>
<Attributes>
<Attribute>
<Attribute_name>Capacitate memorie</Attribute_name>
<Attribute_value>8 GB</Attribute_value>
</Attribute>
<Attribute>
<Attribute_name>Rezolutie ecran</Attribute_name>
<Attribute_value>1920 x 1080</Attribute_value>
</Attribute>
<Attribute>
<Attribute_name>Capacitate Hard Disk</Attribute_name>
<Attribute_value>128 GB</Attribute_value>
</Attribute>
<Attribute>
<Attribute_name>Bluetooth</Attribute_name>
<Attribute_value>Da</Attribute_value>
</Attribute>
</Attributes>
</Product>
<Product>
<Identifier>00011</Identifier>
<Manufacturer>Canon</Manufacturer>
<Name>EF 50mm f/1.8 STM 0570C005AA</Name>
<ProductUrl>http://www.example.com/products/00011/ef-50mm-stm.html</ProductUrl>
<Price>520</Price>
<ImageUrl>http://www.example.com/images/ef-50mm-stm.jpg</ImageUrl>
<Category>Electronice>Obiectiv aparat foto</Category>
<Description>Canon EF 50mm f/1.8 STM este un obiectiv DSLR pe montura Canon EF...</Description>
<DeliveryTime>7 zile</DeliveryTime>
<DeliveryCost>FREE</DeliveryCost>
<EanCode>0885909934140</EanCode>
<Attributes>
<Attribute>
<Attribute_name>Compatibil cu tip montare baioneta</Attribute_name>
<Attribute_value>Baioneta Canon</Attribute_value>
</Attribute>
<Attribute>
<Attribute_name>Distanta focala</Attribute_name>
<Attribute_value>50 mm</Attribute_value>
</Attribute>
<Attribute>
<Attribute_name>Numar de lamele ale diafragmei</Attribute_name>
<Attribute_value>7</Attribute_value>
</Attribute>
<Attribute>
<Attribute_name>Greutate</Attribute_name>
<Attribute_value>160 g</Attribute_value>
</Attribute>
</Attributes>
</Product>
</Products>
You can find the price list of services directly on the Compari website.