-
Notifications
You must be signed in to change notification settings - Fork 15
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
BHG sub-recipes #11
Comments
Too bad they don't have those sub recipes posted as individual recipes. If they did, a link to the recipe could be substituted for the "ingredient". Since that is not an option, when they say something like "1 recipe Cream Cheese Frosting or one 16-ounce can cream cheese frosting", you could just ignore the text leading up to and including the "or" which would leave you with the actual ingredient. The reader can then choose to track down a recipe for cream cheese frosting or purchase it ready made. |
It is definitely a shame that they don't publish these separately. It looks like they might even be reusing some of them across multiple recipes, for example the sauce attached to:
In any case, thanks for the suggestion. I'm not sure how consistently it would work though. For example, look at that streusel toasts recipes where we get lines like:
Any ideas on how to differentiate between basic ingredients like these and ones that come from separate recipes? And what about the french toast recipe where there is no "or" attached to the sauce? |
How about checking to see if the "ingredient" before the "or" matches the "subRecipe__heading" class in the DOM? If there is a match, ignore it. The no "or" case is more problematic since we don't know the volume or weight of "1 recipe Salted Caramel-Banana Sauce". |
Consider how best to handle...
The text was updated successfully, but these errors were encountered: