mwtaylor / Cookbook

Hugo site of all the recipes I like to make
https://elephantinthekitchen.com/
1 stars 0 forks source link

Change ingredients to shopping list #5

Open mwtaylor opened 1 year ago

mwtaylor commented 1 year ago

Edit: See comments for new way of handling this. Ingredient list will continue to be labeled as "Ingredients".

Ingredients list should be changed to say shopping list and all items should be as close as possible to how they are purchased. Staple type ingredients like flour should not have a measure. Things like water should not be listed.

There needs to be a way to write out two formats for one instruction:

Specific instructions should be added for measuring out ingredients ahead of using them unless it is easy to measure out in the instruction and is not time constrained.

mwtaylor commented 1 year ago

Rethinking this a few months later. There are 4 places to consider:

Ingredient List

I still agree that this should be as close as possible to how ingredients are purchased. However I don't think anymore that staples should not have a measure.

Some examples:

Recipe Directions

The direction list on the site will be modified to show the ingredient labels instead of my previous thought of writing the measure in the direction.

Some examples

mwtaylor commented 1 year ago

Cooking Mode

Cooking mode will be the same as recipe directions, just a different format more optimized for viewing on a large screen.

Google Structured Data

Google shows the whole ingredient list alongside each direction. This should allow most directions written for the other two formats to just work.

Some cases that won't work:

My new proposal is to add a new key to each recipe step called "standalone_text" that can be optionally included along with "text" that will be used anywhere that the step is shown standalone (standing on its own without any additional data other than the ingredient list).

mwtaylor commented 1 year ago

I also am proposing adding a new key for each ingredient section: "combined_suffix". This will be appended to each ingredient in that section when all ingredients are combined into one list, like they are in Google.

Also the functionality for ingredient section alternatives should be modified so the first in the list is treated as the default. When all ingredients are combined in one list only the default alternative ingredients will be added.