Re: REZKONV und Apple OS X
- From: Willy Manchot <Willy.Manchot@xxxxxx>
- Date: Mon, 13 Mar 2006 21:07:29 +0100
Am 13.03.2006 19:27 Uhr schrieb "Michael Braun" unter <braunmh@xxxxxxxxxxx>
in dv4ddu$p5p$03$1@xxxxxxxxxxxxxxxxx:
<?xml version="1.0" encoding="UTF-8"?>
<Recipe name="Pasta trita mit grünen Bohnen und Cheddar" imageUrl="">
<Categories>
<Category name="Teigwaren"></Category>
</Categories>
<Source type="" url="">Time-Life, Teigwaren auf neue Art (ISBN
90-6182-892-9), erfasst von Michael Braun Januar 2005</Source>
Dieses komplette XML-Beispiel habe ich YUM mal "zum Frass" vorgeworfen. Ist
nichts vernünftiges rausgekommen. In der zugehörigen Help-Datei steht für
mögliche Fremdformate: MasterCook Export File und XML Text File,
Zu Mastercook (Zitat) aus http://yumhelp.nixanz.com/:
MasterCook had two export formats, *.mxp (Mac/Windows) and *.mx2 (Windows
only MasterCook XML export format). The MasterCook export format (*.mxp) is
in ASCII text and you can read and print them with a word processor or text
editor. Exported *.mxp files can be directly imported into Yum
Zu XML-Format:
<Recipe>optional: use if Name of recipe is not on the first line
<Source>alt.food.xyz
<Name>required: (name of recipe) designates the Name element, must be placed
on first line
<Serves>4
<IngredientsList>recommended (where ingredients are in source file):
designates the rows of Ingredient element; collective tag for
<Amount>,<unit>, <Foodstuff>
<Method>recommended (where directions or other text is in source file):
designates the instructions for preparation
It is recommended to always include <Name>.
These tags work with plain-text files or 3rd party XML files.
If one or more tags are not applicable to the source recipe, they maybe
omitted to imply nothing to import, except <Name>.
An open and close tag may be used without content (<makes></makes>) to
imply nothing to import.
XML end tags are optional. If omitted, recipes can be still distinguished
with each opening <name> tag.
Multiple recipes can be included in a single text file so long as every
recipe starts with a "recipe" tag or every recipe starts with a "name" tag.
XML tags for empty fields can be omitted.
Sub-tags within "ingredients" content (i.e., "ingredient", "amount",
"unit", "foodstuff" tags) are optional (if omitted ingredients can be
separated by newlines, and amount, unit and foodstuff separated by spaces).
Categories can be separated by commas and/or newlines within the
<Categorylist> tag.
There should be only one ingredient per line. An ingredient line may
consist of the amount, unit and the name of the ingredient (foodstuff), in
this order.
The ingredient list should be separated by a single empty line from the
recipe header <Name>
The text of the recipe (method) should be separated by at least one empty
line from the ingredients.
Multiple recipes can be included in a single text file so long as every
recipe starts with a <recipe> tag or every recipe starts with a <name> tag.
Tags are case-insenstive.
.
- Follow-Ups:
- Re: REZKONV und Apple OS X
- From: Michael Braun
- Re: REZKONV und Apple OS X
- References:
- REZKONV und Apple OS X
- From: Willy Manchot
- Re: REZKONV und Apple OS X
- From: Ulli Fetzer
- Re: REZKONV und Apple OS X
- From: Willy Manchot
- Re: REZKONV und Apple OS X
- From: Michael Braun
- REZKONV und Apple OS X
- Prev by Date: REZ: Putenbrustfilet mit Schafskäse überbacken
- Next by Date: Re: Bunter Wurstsalat / Rezeptverbreitung
- Previous by thread: Re: REZKONV und Apple OS X
- Next by thread: Re: REZKONV und Apple OS X
- Index(es):
Relevant Pages
|