2 hours ago · Tech · hide · 0 comments

I am living under a rock!Apparently there’s a schema for recipes??? I was genuinely surprised when Mealie popped up a parsing dialog while I was trying to import a plain-text recipe. Turns out websites can embed recipes using JSON-LD, following the Schema.org Recipe specification. I had no idea this even existed! Google uses it for recipe rich results, and according to their data it’s used by tens of thousands of websites. I only found all of this because the recipe I copied from Instagram couldn’t be parsed. The websites need to expose recipe metadata in JSON-LD for Mealie to understand them. Probably the first time I’ve knowingly come across JSON-LD being used in the wild. It’s quite a cool use case!Have thoughts? Leave a comment at yashgarg.dev.

No comments yet. Log in to reply on the Fediverse. Comments will appear here.