Custom format - load any feed to Mergado

We implemented a brand new feature into Mergado called Custom format. In other words, a universal or user feed. It allows you to load any XML or CSV feed to Mergado and then edit and work with it.

Why Custom format?

Until now, every new feed specification had to be implemented first by our developers before you were able to load a feed with that specification to Mergado. Even today this is the best way because we make sure the specification is correct. However, implementing new formats takes some time and so we decided to give you the power to load feeds with an unknown specification.

Image 1 - Click "Set input format manually"

How it works

  1. When creating a new export, load your feed address, wait for initial analysis until you get to the additional settings page. Here you can choose either from the supported formats or click the new button “Set input format manually” (image 1). 
  2. This button leads you to the Custom format page. Here you can define what each element in your original feed stands for and select a respective element from the list in the column on the right (image 2). To explain this process a bit more, we provide a more detailed explanation:

Why so complicated?

Inside Mergado there is a so-called Universal converter. It enables us to convert any of the supported feed formats to any other supported format. It is sort of a big dictionary to all the supported feed formats and the entire app uses it.
When creating a custom format, you teach this universal dictionary the “language” of your feed. Mergado will save this and will then be able to work with your original feed as with any of the supported feeds. To make it easier, we use our Mergado Product XML feed specification.

What is what

In the left column, you can see the elements from your original feed. They are displayed in a tree structure and ordered same as in the original feed.
In the right column, you tell Mergado what is what, i.e. which element is the root element, where is the product name, description, price, etc.

Why are some elements mandatory

Because without these mandatory elements Mergado cannot work. The CHANNEL element (XML root) is required due to the validity of the whole XML file. And the ITEM element is required in order for Mergado to distinguish products from one another.

Image 2 - Custom format settings
  1. Provide a name for your Custom feed
  2. Click Save. This leads you back to Additional settings of export creation page, where your Custom format is chosen as the input format on the left. You can now choose the output format as usually on the right.

Mergado tip

After you create an export this way, you can still edit the Custom format in Settings -> Custom format.

So this is, in short, our new feature. We hope it will help you work with unusual feeds and will be very happy for any feedback you can provide to our forum or at mergado@mergado.com.

Add new comment