Re: [tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-07 Thread John D
/!\ I discovered there is a small issue with my data tiddler editor : plugins tiddlers are also affected by the viewtemplate ! This is a bit annoying so here's how to fix it : replace <$list filter="[is[current]get[type]match[application/json]]" variable=_> by <$list

Re: [tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-07 Thread Télumire
This thread was a very interesting read and a fun coding experience, thanks to all of you ^^ And @cassandra, I'm french too and happen to have an interest in cooking so please share your work ! :) Le mardi 7 décembre 2021 à 02:39:55 UTC+1, cj.v...@gmail.com a écrit : > "Je batch cook? " Moi

Re: [tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-06 Thread Charlie Veniot
"Je batch cook? " Moi too, et thank le p'tit bébé Jésus parc'que-j'batch mange... Which makes me think right away of "Le Chiac est la solution " and something a gal once told me: "ma soeur va shack-é up avec son boyfriend." BTW: I love

Re: [tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-06 Thread Cass P
Thank you all ! In the order : @CJ : thank you for your help ! I can see how the type of plateform for developing can be awful to use haha. Hope my little project was interessing for you ! Cheers =D @Mat : I'm keeping the NewTids macro in my mind for future use, it does seem pretty useful !

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-05 Thread Mat
Feeding in individual food items into TW is a tedious task. *IF* you intend to do this, may I recommend the NewTids macro . <:-) On Sunday, December 5, 2021 at 7:52:47 PM UTC+1 cj.v...@gmail.com wrote: > There are loads of ridiculously adept TiddlyWiki folk who

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-05 Thread Charlie Veniot
There are loads of ridiculously adept TiddlyWiki folk who can help you out. I'll have to bail, because trying to help out with this kind of thing via any forum is way too chaotic and disorganised for me to contribute towards the development of good stuff. (Information Systems/Business Analyst

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-05 Thread Cass P
Thank you all for your answer ! @CJ : for the practical aspect of the grocery list, I already have a pretty good idea of the function I want as I'm already be using the book for quite some time. The serving doesn't need to be adapted. Most ingredients are either in gram or in unity (for

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-04 Thread Álvaro
As they said, you have to think about how save the ingredients of the recipe in the tiddler, you can use the index of a data tiddler for recipe or simply the field of a tiddler for recipe. Then you would need to use the filters and their operators. You will

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-04 Thread Charlie Veniot
Example of something to keep in mind: if a recipe calls for 100grams of onion, you'll want to convert that into something useful for grocery shopping. Probably good to instead talk about a measure of an onion for groceries. You won't be buying a 100 g onion, so you'll want to have 1 onion,

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-04 Thread Charlie Veniot
G'day, Whatever you are thinking, start by forgetting about TiddlyWiki for now. Put on a "systems/business analyst" hat, and think "information modelling", what is the end-result you want, and then start going backwards, figuring out what information you need to get to the current stage you

[tw5] Re: Automatically generating grocery list by clicking on cooking recipes ?

2021-12-04 Thread Télumire
You could do it like this : Create a data tiddler for a recipe with a quantity associated to each ingredient. To make things easier the unit will be hardcoded in grams (or whatever you like, but always the same). Then you can select your recipe for the week with a select widget for example