kfawcett
Member
Posted 2 years ago #
I'm loving the plugin, but I was looking into trying to separate the content so that I can display different parts of the list in different areas other than in the box format that hRecipe provides.
It's looking to be very difficult to restructure since all of the html formating is in the JS file. I'm sure you had a good reason to do it that way, but it's making it extremely hard to customize.
BTW... I notice a print.css file, but there's nothing in it. :( Hopefully that's planned for the future.
Dave Doolin
Member
Plugin Author
Posted 2 years ago #
@kfawcett -
If you want to reorder the elements, that's pretty simple.
It wouldn't be that hard to write a new handler for the entry form, create an option to choose handlers, then do what you want with the recipe data. I might have some time for in a week or two, let me know what you think.
Also, if you could describe in detail what you want, that be very helpful as well.
kfawcett
Member
Posted 2 years ago #
I would like to be able to separate where each area goes (ingredients, instructions, prep/cook time, etc), so if each one was in it's own div I could structure them.
Like how this site does it.
http://culinaryculture.com/recipe/Bahn_Mi-by-Mischa_DeHart/r,4D
Dave Doolin
Member
Plugin Author
Posted 2 years ago #
@kfawcett -
Two things:
- What you want is totally doable, it's just a matter of programming. That said, there's a couple of key steps I would need to write some proof-of-concept code for, which takes some time. What I might do in the mean time is add an option for block element, allowing you to choose between <div> and <p> internally.
- Your example doesn't validate as a rich snippet: http://www.google.com/webmasters/tools/richsnippets?url=http%3A%2F%2Fculinaryculture.com%2Frecipe%2FBahn_Mi-by-Mischa_DeHart%2Fr%2C4D&view=
Not the end of the world, of course, but some testing on that structure would need to be done as well. I won't knowingly ship an hrecipe which doesn't emit a valid rich snippet.