Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Divided Ingredients List #12

Open
teusday opened this issue Apr 19, 2018 · 4 comments
Open

Divided Ingredients List #12

teusday opened this issue Apr 19, 2018 · 4 comments

Comments

@teusday
Copy link

teusday commented Apr 19, 2018

In the documentation, I don't see anything about segmenting ingredients lists, which many recipes have.

For example, if I were making a frosted cake, I might have:

CAKE:
1 box cake mix
1 egg

FROSTING:
1 can store-bought frosting

Could this be implemented?

@techhat
Copy link
Owner

techhat commented Apr 21, 2018

For this sort of thing, each individual sub-recipe would be defined as their own recipe, and then those recipes would be listed as ingredients in the main recipe. How they are displayed to the user would depend upon the rendering engine used.

@mainrs
Copy link

mainrs commented Oct 9, 2018

How do you list sub recipes? I couldn't find any examples that showcase this.

@michaelbogdan
Copy link

michaelbogdan commented Oct 17, 2019

ORF doesn't specify how to hook together sub-recipes to one larger recipe and doesn't provide any examples wither. Which is a shame, as many many recipes do have the form of RECIPE = [BASE + INDIVIDUAL], where BASE is a run-of-the-mill recipe with no need for repetition in data or sometimes even presentation.

Could you provide an explicit example of how to hook together two or more recipes?

@freddy2659
Copy link
Contributor

I'd used the X- field, maybe X-subrecipe? In the end it would be up to the implementing program how to handle it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants