cooklang / cooklang-obsidian

Edit and display CookLang recipes in Obsidian
MIT License
215 stars 16 forks source link

a maybe out-of-scope FR: recipe scraping #14

Open brimwats1 opened 2 years ago

brimwats1 commented 2 years ago

Hello!

just an idea I had when looking at this plugin—it would be great if it could make use of the structured recipe markup that most sites have now?

here's source info https://developers.google.com/search/docs/advanced/structured-data/recipe

here's an open source example https://schollz.com/blog/ingredients/

brimwats1 commented 2 years ago

here are the implementations of the last link

golang ingredients https://github.com/schollz/ingredients

this does recipes in markdown https://github.com/schollz/extract_recipe

deathau commented 2 years ago

I knew about the JSON schema, but didn't realise it was actually embedded into pages for Google results!

Honestly, this sounds like it would be better suited to something outside of Obsidian (a CookLang recipe clipper extension?) but it's definitely something that's on my mind, so thanks for pointing out some more resources

Vaelek commented 2 years ago

Take a look at https://github.com/nothingislost/obsidian-cooklang-importer