Supported XML Format
Custom XML Feed
The feed should be formatted with a root-node under which all wines/products are located in their own xml-nodes. XML attributes are not supported and will be ignored.
Encoding should be UTF-8.
Example:
<wines>
<wine>
///wine data elements
</wine>
</wines>
Custom XML format example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<wine-data>
<wine>
<producer> A Mano</producer>
<wine-name>Primitivo di Puglia</wine-name>
<vintage>2018</vintage>
<bottle-size>75</bottle-size>
<productid>PRAM18B</productid>
<price>12.50</price>
</wine>
<wine>
<producer> A Mano</producer>
<wine-name>Primitivo di Puglia</wine-name>
<vintage>2019</vintage>
<bottle-size>75</bottle-size>
<productid>PRAM19B</productid>
<price>13.50</price>
</wine>
<wine>
<producer> A&O de Moor</producer>
<wine-name>Chablis Coteau de Rosette</wine-name>
<vintage>2018</vintage>
<bottle-size>75</bottle-size>
<productid>CCRM18B</productid>
<price>45.00</price>
</wine>
<wine>
<producer> A&O de Moor</producer>
<wine-name>Chablis Vau de Vey 1er Cru</wine-name>
<vintage>2018</vintage>
<bottle-size>75</bottle-size>
<productid>CVVM18B</productid>
<price>60.00</price>
</wine>
</wine-data>
Vivino XML Feed
Example Vivino Style Format
If you already have a feed for Vivino you can use this feed with Wineally as well.
Example:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<vivino-product-list>
<product>
<product-id>1002569</product-id>
<product-name>Van Volxem 1900 Riesling Brut 2009 White </product-name>
<price>28</price>
<bottle_size>75</bottle_size>
<bottle_quantity>1</bottle_quantity>
<inventory-count>48</inventory-count>
<quantity-is-minimum>6</quantity-is-minimum>
<link>https://example.com/?product=van-volxem-1900-riesling-sekt-brut-2009-75</link>
<extras>
<image>https://example.com/img/1298van-volxem_1900-riesling-sekt-brut_750_2009.jpg</image>
<producer>Van Volxem</producer>
<vintage>2009</vintage>
<wine-name>1900 Riesling Brut</wine-name>
<country>Germany</country>
</extras>
</product>
</vivino-product-list>