-
Notifications
You must be signed in to change notification settings - Fork 448
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Style guide #49
Comments
I thought about that. There's an hRecipe microformat for example. I think that it's not worth it. It should be as easy as possible to add and modify recipes. It should be as easy as writing markdown. And if their stuff happens to be easily scrapable, then awesome. If not, shrug. Someone can massage it later or whatever. That said, if people wanted to make writing processing scripts easy do the following:
|
I agree that hRecipe is overkill for this repo. When I get a chance I'll go through the recipes and format them a little more consistently, but nothing more complicated than headings and lists. I can combine our guidelines and put them on the wiki as well. |
So I think that Ted's put it pretty well: there's a natural push-and-pull between humans and machines here. We want humans to be able to submit as easily as possible, which means that it's going to be harder for machines to read this stuff, because humans often don't follow directions. I definitely bias towards ease-of-submission. Yesterday I had four or five people say that they learned some git basics just to be able to submit. And I'd say 1/3 of the recipes came in with no formatting, 1/3 with decent markdown, and 1/3 with made up formatting. So there's probably manual processing somewhere along the way no matter what That said, when we added the index yesterday and then added on the readme that people needed to update their thing into the index, we saw about 50% people following that direction pretty much immediately. So having good, clear, formatting guidelines is a good idea, and I'm all for some lightweight standardization, but I don't really think that we should fall too far toward making for machines. |
Yes, unless we (as a species) dedicate ourselves to transhuman ideas, we're all still pretty much human, so let's keep it that way. |
A comment in #40 got me thinking that the recipes could easily be more machine-readable:
Having a bit of structure in the recipe files would allow us to treat the recipes more like a database from which tools can draw. For example, an app could allow a user to say "I have ingredients x, y, and z" and it lists the recipes that can be made.
I wouldn't want to overcomplicate the process of writing recipes—after all, plain text makes it easy for anyone to contribute. Perhaps there can be a balance between ease of writing and parse-ability.
For example, each recipe could contain the following:
The author could add any other free-form sections they'd like.
Thoughts?
The text was updated successfully, but these errors were encountered: