Live data from Hacker News

Cooklang – Recipe Markup Language

cooklang.org

111–112 of 112 posts

Re: Cooklang – Recipe Markup Language

#111

Earlier quoted context omitted.

Interesting, does the server fetch the html itself? Or does the client POST it? The letter would be useful for paywalled sites like Cook‘s Illustrated. I spent quite some time on ingredient labelling (what’s a unit, quantity etc.). Feel free to ping at hn[at]franz.hamburg

> does the server fetch the html itself? Yep, the client just sends the recipe URL and then the server fetches the HTML. Agreed, it would be better to have the client send the HTML for paywalled sites, which is another reason I just want to do it all on the client. > I spent quite some time on ingredient labelling (what’s a unit, quantity etc.) I can relate to you there. It was a long process of trial and error for m…

Nice! I dabbled with deep learning and CRF for the sequence tagging. I ran in the same issues you mentioned. Current approach is hand rolled. The „holy grail“ would be linking ingredients mentioned in the directions. So, I could just tap on „…vinegar…“ in an instruction and see that I need 2 tbsp.

Re: Cooklang – Recipe Markup Language

#112
post #2

Pretty much every recipe written since literally the 1890s / Fannie Farmer already has pulled out ingredients and quantities into their own separate section from steps. To use cooklang, it appears that I have to rewrite recipes to include ingredients inline. No other recipes tend to use this style, because it is harder to read. If I write recipes in cooklang, the plain text of the recipes is harder to understand with…

I've always liked the presentation of Cooking For Engineers. Plenty of instruction, but the table at the end that visually combines the ingredients and techniques is a nice idea for quickly glancing at while cooking. See for example https://www.cookingforengineers.com/recipe/36/Meat-Lasagna

That's how I originally learned how to cook! I worked through many of those recipes until I was comfortable enough that now I mostly wing it. Wow it's been years since I opened this site up, what a callback!
Post reply on HN