3 ms·
Many recipe sites now have metadata at the top of the page in json-ld or in embedded in the html based on schema.org structured data. https://developers.google
by JimmyRuska 6y ago
Many recipe sites now have metadata at the top of the page in json-ld or in embedded in the html based on schema.org structured data.
https://developers.google.com/search/docs/guides/intro-structured-data https://developers.google.com/search/docs/guides/intro-struc...
There are apps which can import from these sites. for example "recipe keeper", you can browse third party sites with schema.org recipes from inside the app and it will import them into the app management software.
Structured data typically maps to RDF, which is for graph databases like apache Jena or RDFox, but since most recipe data does not have backlinks or cyclical links, any type of JSON or YAML store should be sufficient.
If you are still updating your app, it would be cool if you could add support for recipes sites with json-ld!
- wedesoft 6y agoIt is difficult to support more recipe formats because they are more generic than MealMaster. But I can take a look.
- JimmyRuska 6y agoNice ! Here is an example Recipe: https://www.bbc.co.uk/food/recipes/tofu_peanut_stir-fry_62729 https://www.bbc.co.uk/food/recipes/tofu_peanut_stir-fry_6272... Google review tool: https://search.google.com/structured-data/testing-tool#url=https%3A%2F%2Fwww.bbc.co.uk%2Ffood%2Frecipes%2Ftofu_peanut_stir-fry_62729 https://search.google.com/structured-data/testing-tool#url=h... From command line: curl https://www.bbc.co.uk/food/recipes/tofu_peanut_stir-fry_62729 https://www.bbc.co.uk/food/recipes/tofu_peanut_stir-fry_6272... | grep -o -P '(?<="application/ld\+json">).*(</script)'