A Tour of LargoRecipes

Go to section: 1 2 3 4

Section 4: Sharing Recipes over the Web

LargoRecipes not only helps you track your own recipes, it helps you trade recipes with your friends and share your favourite recipes with the rest of the world on the web. It does this using an old format from the pre-Windows DOS days, MealMaster, as well as a powerful new technology called XML - in particular, an XML standard for recipes called RecipeML. You can find out more about MealMaster at the MealMaster home page. You can learn more about XML in general at xml.org, and more about RecipeML on the website of its copyright holder, FormatData.

If these terms are new to you, don't worry -- LargoRecipes makes it so easy to share recipes that you don't have to know anything about the underlying technology to use it.

It will help you understand what's in this section if you read the earlier sections first - but it isn't strictly necessary.

In this section:

If you chose to download the small version of LargoRecipes, these features won't work - you're missing the part of LargoRecipes that handles them. To use these features, download the full version from the installation page.

Importing one recipe

"Importing" just means bringing a recipe into LargoRecipes from another source. The recipe you want to import must exist on your computer as a file in MealMaster or RecipeML format. (A future version of LargoRecipes will let you import recipes directly over the internet, but for now you have to get the file first, then import it.)

There are literally hundreds of thousands of MealMaster recipes available for free on the Internet. You could start with Glen's MealMaster archive, which has 160,000 recipes. If that isn't enough for you, type MealMaster into any search engine and you'll find as many pages as you'd like.

RecipeML recipes are also getting easier to find. Using the Convert frame (see below), I converted 10,000 of Glen's MealMaster recipes into RecipeML and posted them in a RecipeML Archive. Recipezaar is another site I know of that plans to offer RecipeML recipes soon; for still more, use a search engine or look on the RecipeML website. (You can open both my RecipeML Archive site and Recipezaar from the Internet menu in LargoRecipes.)

If you aren't sure whether a recipe file is in RecipeML format, open it using a text editor (like Notepad or Wordpad) or a browser (like Internet Explorer). If the file is in RecipeML format, you should notice the word RecipeML somewhere in the first few lines, maybe between angle brackets like this:
<recipeml>
The hoax.xml file we are about to discuss is a good example.

MealMaster files are a little harder to recognise by just opening them, but their names usually end in ".mmf".

Let's import a file! If you want, put LargoRecipes in demonstration mode by clicking LargoRecipes, then choosing Demonstration - you don't have to do this if you don't mind importing the recipe into your main database. Then, click Interface and choose Import. You see the import frame:

The top half of this frame is Java's version of a standard file dialog. In the screenshot, I've labelled the functions of the toolbar buttons, to help you if you haven't used Java file dialogs before.

Pick the recipe file you want to import. If it is a RecipeML file, you can make this easy to do by putting it in the LargoRecipes xml folder, which is in the folder where you installed LargoRecipes (on my computer, this is C:\Program Files\LargoRecipes). LargoRecipes always starts the import and export file dialogs in this folder. You can always navigate to any folder you like, of course; for instance, there is a folder called mealmaster where you can conveniently put your MealMaster files.

You will only be able to see files of the type selected in the "Files of Type" box. To see only MealMaster files, pick the MealMaster type; to see only RecipeML files, pick XML files. To see all files, pick (surprise!) All Files.

LargoRecipes comes with one RecipeML file ready to import, called hoax.xml, in its xml folder. Click that file and then click the Import button. In a few moments, you'll see the new recipe listed in the Results list, below. You've added this recipe to the LargoRecipes database! You can double-click the recipe name to open it now, or return later and use the Fetch frame to fetch it.

The hoax.xml file is a slightly modified version of the standard test file for RecipeML. See the RecipeML website for the original. The version on the RecipeML web site appears to be out of date - it uses version 0.3 of RecipeML, while LargoRecipes uses version 0.5 (published elsewhere on the FormatData website). In version 0.3, the standard was called DESSERT instead of RecipeML, so I've changed references to DESSERT into references to RecipeML throughout hoax.xml. (Note that LargoRecipes will probably reject RecipeML files constructed with version 0.3 or any other version besides 0.5.)

RecipeML includes many different tags (a tag is a way of including a data element in an XML file). LargoRecipes supports only a subset of these tags. If your RecipeML file contains other tags, LargoRecipes will report an error. These are the tags LargoRecipes supports: