Import & Export from XML

In the Premium version you can export all (or a selection) of your recipes to XML and import them again on another website. This is perfect when managing multiple websites or environments with the same recipes.

The import from XML feature can also be used to migrate from an old database if you can get your recipes in our format.

An example XML file:

<?xml version="1.0" encoding="UTF-8"?>
<recipes>
	<recipe>
		<title>Demo Recipe</title>
		<description>This must be the best demo recipe I have ever seen. I could eat this every single day.</description>

		<imageUrl>https://www.wpultimaterecipe.com/wp-content/uploads/2013/06/Pasta-pesto.jpg</imageUrl>

		<rating stars="4"/>
		<servings quantity="2" unit="people"/>
		<prepTime quantity="10" unit="minutes"/>
		<cookTime quantity="20" unit="minutes"/>
		<passiveTime quantity="1" unit="hour"/>

		<ingredients group="">
			<ingredient name="tagliatelle" quantity="175" unit="g" notes=""/>
			<ingredient name="bacon" quantity="200" unit="g" notes="tiny strips"/>
		</ingredients>
		<ingredients group="Fresh Pesto">
			<ingredient name="garlic" quantity="1" unit="clove" notes=""/>
			<ingredient name="pine kernels" quantity="12.5" unit="g" notes=""/>
			<ingredient name="basil" quantity="50" unit="g" notes=""/>
			<ingredient name="olive oil" quantity="6.25" unit="dl" notes="extra virgin"/>
			<ingredient name="Parmesan cheese" quantity="27.5" unit="g" notes="freshly grated"/>
		</ingredients>

		<instructions group="Fresh Pesto (you can make this in advance)">
			<instruction>We'll be using a food processor to make the pesto. Put the garlic, pine kernels and some salt in there and process briefly.</instruction>
			<instruction>Add the basil leaves (but keep some for the presentation) and blend to a green paste.</instruction>
			<instruction>While processing, gradually add the olive oil and finally add the Parmesan cheese.</instruction>
		</instructions>
		<instructions group="Finishing the dish">
			<instruction>Bring a pot of salted water to the boil and cook your tagliatelle al dente.</instruction>
			<instruction>Use the cooking time of the pasta to sauté your bacon strips.</instruction>
			<instruction>After about 8 to 10 minutes, the pasta should be done. Drain it and put it back in the pot to mix it with the pesto.</instruction>
			<instruction>Present the dish with some fresh basil leaves on top.</instruction>
		</instructions>

		<notes>
			Use this section for whatever you like.
		</notes>

		<!-- Units as defined on the Recipes > Nutritional Information page -->
		<nutrition calories="1866" carbohydrate="31" protein="28" fat="183" saturated_fat="30" polyunsaturated_fat="20" monounsaturated_fat="123" trans_fat="" cholesterol="116" sodium="1289" potassium="308" fiber="1.7" sugar="1.7" vitamin_a="0.9" vitamin_c="0.9" calcium="8.7" iron="105"/>

		<!-- Taxonomy name = category, post_tag, course, cuisine, ... -->
		<taxonomy name="course">
			<term>Main Course</term>
		</taxonomy>
		<taxonomy name="cuisine">
			<term>Italian</term>
		</taxonomy>

		<!-- Key as defined on the Recipes > Custom Fields page -->
		<customField key="recipe_chef" value="Brecht"/>
	</recipe>
</recipes>