This reminds me of RDF recipe ontologies (as they can be used with RDFa: e.g., schema.org's Recipe[1] and the food ontology[2], and there are/were dedicated spiders to search those, such as openrecipes[3]), but with a custom syntax; might be nice to define mappings to/from those, for compatibility. Though unfortunately the larger open recipe databases I saw online tend to use custom (sometimes XML-based, at least) formats/structures, so there's nothing quite readily usable (that I'm aware of) as a result.
I've been looking for a way to index my mother's recipes in a useful way, was somewhat motivated two years ago. I wanted something that: 1. produced well formatted PDFs for printing (my mother prefers paper). 2. it would substitute different ingredients. i.e. this recipe contains milk, a simple button or keybind would change it to an appropriate milk substitute. 3. automatically produced different measurements. I tried GNOME Recipes [1] as it checked a lot of boxes but it has some big bugs still that make it basically unusable. I considered maybe doing something org-mode and emacs, but kind of lost interest after that... [1] https://wiki.gnome.org/Apps/Recipes
Like the ability to double measurements. In the emacs example you'd be able to hit a key bind, enter how much to divide or multiply the recipe and it would automatically change it.
Comments (146) 44 threads
Earlier comments[1] https://schema.org/Recipe
[2] https://www.bbc.co.uk/ontologies/fo
[3] https://github.com/fictivekin/openrecipes
add @acid{1%tsp} to @milk{1%cup} to create acidulated milk
[acid]{lemon juice|apple cider vinegar}
Anyway great spec and language!
I've been looking for a way to index my mother's recipes in a useful way, was somewhat motivated two years ago.
I wanted something that:
1. produced well formatted PDFs for printing (my mother prefers paper).
2. it would substitute different ingredients. i.e. this recipe contains milk, a simple button or keybind would change it to an appropriate milk substitute.
3. automatically produced different measurements.
I tried GNOME Recipes [1] as it checked a lot of boxes but it has some big bugs still that make it basically unusable.
I considered maybe doing something org-mode and emacs, but kind of lost interest after that...
[1] https://wiki.gnome.org/Apps/Recipes
I'm not sure about "3. automatically produced different measurements.". What do you mean by that?
All comments shown.
Couldn't load more comments. Check your connection and try again.