Add known/standard metadata keys to documentation #101
Closed
jphastings
started this conversation in
General
Replies: 3 comments
-
|
I hadn't spotted that this has been partially done with the cooklang rs extensions — it'd be great if this was referenced too! |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Relevant proposal for spec change #105. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
This is now part of the main specification, closing the discussion. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
It'd be great if the metadata section of the docs was expanded to list all the known/standard keys and their intended purpose & format.
Right now it's not clear if we should make our own if they're unlisted (eg.
servingsisn't mentioned there, but it appears to be considered standard from other pages in the docs).What I'm assuming the list would be so far:
sourcehttps://example.org/recipe,The Palomar Cookbook <urn:isbn:9781784720995>time requiredHhMmformat to avoid plurals and locales.45 minutes,1 hour 30 minutes,1h30mservings2,15 cups worthcoursedinnerlocalees_VE,en_GB,frI'd love to have clarity on these as I'd like to know where I can put information in software I'm writing such that other cooklang tools can interpret it correctly.
For example, if I'm turning a recipe from a physical book into a cooklang recipe I'd like to be able to store the ISBN and the page number(s). I'd be tempted to put that like this, but I'd want to know that (a) the name of the source would be used and (b) the URN would be hidden (possibly linked to for clients that support ISBN URNs) (edit: it looks like this is assumed by the cooklang extensions, can I consider them standard?)
I'd like to propose the following keys too:
cook timetime requiredfield4 hours,4hprep timetime requiredfield15 minutes,1h30mI'm new here, but I'll be happy to make a PR if this makes sense.
Beta Was this translation helpful? Give feedback.
All reactions