hRecipe – Wordpress editor support for recipe microformat

166 comments

(Reading time: 3 – 5 minutes)

3/10/2010, 8:00 pm PST: Veggirls: email me, or leave a comment below. I think you have an out of date version.

[Updated 3/4/2010: Version 0.5.3.1 released. Fixed bug in php include.]

Please donate to help speed up development. Many thanks to these donors:

hRecipe plugin for WordPress gives you fast, efficient recipe formatting… with an SEO advantage. Your recipes look good, and search engines will like them better too.

Check this out…

I Cook Free uses hRecipe

I Cook Free, a site specializing in family meals which are gluten, dairy, and egg free provides a very tasty looking recipe for gluten-free chocolate cupcakes.

Please leave a comment of encouragement for I Cook Free!

Invisible technology helps you

The magic happens using “microformats,” semantic web technology invisible to you, but friendly to search engines. Read more about the hrecipe microformat.

The hRecipe plugin for Wordpress shows a popup window with text fields and text areas that allow the author to conveniently enter the various parts of the hRecipe microformat, then inserts a formatted recipe into the page or post. The formatting has the hRecipe class specifications.

There is a growing list of options to control how your recipes are displayed:

  • Ingredients lists formatting can be either by number or by bullet point.
  • The background color of the formatted recipe can be specified to match or offset the background color of the enclosing web page.
  • The display text for many sections of recipes may be specified.
  • International support is growing rapidly.

EFFECTIVE IMMEDIATELY: All new customers for hRecipe are welcome to purchase support for $50/hr. Please contact for details.

Bug fixes are free as time permits. Leave a comment below for fastest action.

Follow @websiteweekend on twitter for updates, search hashtag #hrecipe for details.

If you have any problems or questions at all, send me an email.


hRecipe at Website In A Weekend

Development work continues. Here’s where to find more information:

hRecipe is being moved from hRecipe @ There Is No Box. Most, but not all of the information has been moved, but you can find more information there.

hRecipe is back in active development, and “best of” recipes will be linked.


hRecipe Plugin for WordPress

The hRecipe Plugin for WordPress provides a popup window from the post and page editor with text fields and text areas that allow the author to conveniently enter the various parts of the hRecipe microformat, then inserts the formatted recipe into the page or post. The formatting has the hRecipe class specifications.

Installing and using hRecipe

Installation is simple and works just like all other plugins:

  1. Download the zip file and extract the plugin directory.
  2. Upload the plugin directory to your WordPress site, typically into /wp-content/plugins
  3. Use the editor buttons to call a popup window, and fill in the text fields and text areas.
  4. The text areas (Ingredients, Instructions) should accept HTML formatting.
  5. NOTE: List building with “*” is supported! Just use a single “*” for delimiter between each ingredient and each instruction, and the plugin will build a numbered list.
Share and Enjoy:
  • Facebook
  • Twitter
  • StumbleUpon
  • Digg
  • Google Bookmarks
  • email
  • del.icio.us

{ 132 trackbacks }

Easy Cookin » Archive » Spicy Sausage Wraps with Golden Onions & Spinach
December 30, 2009 at 6:21 am
Kohlrabi-Eier Ragout » Beitrag » Deine Rezepte - Preiswert-und-lecker
February 9, 2010 at 6:50 am
Muscheln in Sahnesauce » Beitrag » Deine Rezepte - Preiswert-und-lecker
February 9, 2010 at 6:56 am
Asiatisches Putenragout aus dem Wok » Beitrag » Deine Rezepte - Preiswert-und-lecker
February 9, 2010 at 7:04 am
Tostones Stackable | The Lotus Cafe
February 9, 2010 at 7:35 am
Steak tartare | The Lotus Cafe
February 9, 2010 at 7:51 am
Casey's Recipes
February 9, 2010 at 8:34 am
Yes! You can eat at Mexican food at Zarela if you’re on a diet! - Zarela
February 9, 2010 at 3:25 pm
Snow Days | Tasty Tuesday | Beautiful Blessings
February 9, 2010 at 7:10 pm
athomeresources.com » Blog Archive » Red Velvet Cupcakes with Cream Cheese Frosting
February 10, 2010 at 2:36 pm
Griechischer Auflauf Moussaka » Beitrag » Deine Rezepte - Preiswert-und-lecker
February 10, 2010 at 5:37 pm
Cherry Pie Oats | Low Fat Recipes
February 18, 2010 at 7:02 am
And now, a little fusion. | Culinaria
February 18, 2010 at 10:05 am
Deep Fried Barbecue Chicken
February 20, 2010 at 1:45 pm
Nana Bea’s Easy Latkes
February 20, 2010 at 1:49 pm
Wright Family Apple Crisp
February 20, 2010 at 1:59 pm
Running Fuel Banana Bread
February 20, 2010 at 2:09 pm
Stuffed Pork Tenderloin with Stilton Port Sauce
February 20, 2010 at 4:58 pm
Slow Roasted Tomatoes
February 20, 2010 at 5:48 pm
Vegetable Chili
February 20, 2010 at 5:51 pm
Mallomars
February 20, 2010 at 7:25 pm
Mr Nom Nom » Blog Archive » What’s for Dinner?
February 21, 2010 at 4:10 pm
Chinese Firecracker Eggs - Angela's Blog
February 22, 2010 at 5:45 am
Bacallau con couve-flor » A Biblioteca de Fillos de Galicia
February 22, 2010 at 6:48 am
Carne ó caldeiro » A Biblioteca de Fillos de Galicia
February 22, 2010 at 7:02 am
Gluten, Dairy, and Egg Free Cooking For You and You're Family » Blog Archive » Test Recipe Post
February 22, 2010 at 4:27 pm
I Cook Free » Blog Archive » Oven Fries
February 22, 2010 at 6:19 pm
Turkey Lasagna
February 22, 2010 at 8:42 pm
Sausage & Cabbage
February 22, 2010 at 8:57 pm
String Beans with Shallots
February 22, 2010 at 9:03 pm
Stuffed Provençal Tomatoes
February 22, 2010 at 9:32 pm
Ancient Secret of the fountain of youth
February 23, 2010 at 1:48 am
Viva la carne » Ricette: Arrosto Farcito ai Funghi
February 23, 2010 at 10:50 am
Hearty Chicken Soup | The Lotus Cafe
February 24, 2010 at 6:48 am
Melindres ó xeito de Melide » A Biblioteca de Fillos de Galicia
February 25, 2010 at 5:02 am
Crema de grelos con chourizo » A Biblioteca de Fillos de Galicia
February 25, 2010 at 6:05 am
Chipotle Chicken Pot Pie | The Lotus Cafe
February 26, 2010 at 7:12 am
OgOPhoto.com» Blog Archive » Är du trött på Ketchup
February 26, 2010 at 8:07 am
Galletas de Avena « My Blog
February 26, 2010 at 12:44 pm
Torta Inglesa « My Blog
February 26, 2010 at 1:00 pm
Papas Boulanger « My Blog
February 26, 2010 at 1:08 pm
Pure de Papas « My Blog
February 26, 2010 at 1:12 pm
Torta Casera « My Blog
February 26, 2010 at 1:19 pm
Filetes de Pescado Thermidor « My Blog
February 26, 2010 at 1:30 pm
Supremas de Pollo Princesa « My Blog
February 26, 2010 at 1:35 pm
I Cook Free » Blog Archive » Cornbread Stuffing
February 26, 2010 at 3:04 pm
I Cook Free » Blog Archive » Mushroom Sauce/ Substitute for Cream of Mushroom Soup
February 26, 2010 at 3:28 pm
I Cook Free » Blog Archive » Rice Flour Mix
February 26, 2010 at 3:35 pm
Pechugas de Pollo Cordon Bleue
February 26, 2010 at 3:40 pm
Ñoquis de Papas
February 26, 2010 at 3:45 pm
Ossobucco a la Milanesa
February 26, 2010 at 3:51 pm
Lomito Stroganoff
February 26, 2010 at 4:02 pm
I Cook Free » Blog Archive » Chex Party Mix
February 26, 2010 at 4:03 pm
Crepes de Pollo
February 26, 2010 at 4:09 pm
I Cook Free » Blog Archive » Cinnamon Bun Pancakes
February 26, 2010 at 4:23 pm
Crepes de Langostino
February 26, 2010 at 4:29 pm
I Cook Free » Blog Archive » Maple Butter Icing
February 26, 2010 at 4:30 pm
Pollo Glaseado en Salsa de Mostaza
February 26, 2010 at 4:37 pm
Pechugas de Pollo Perigourdine
February 26, 2010 at 4:42 pm
Crepes (Receta Basica)
February 26, 2010 at 4:51 pm
Hummus (Crema de Garbanzos)
February 26, 2010 at 4:58 pm
Berenjenas a la Vinagreta
February 26, 2010 at 5:02 pm
Baba Ghanouj (Crema de Berenjenas)
February 26, 2010 at 5:09 pm
Berenjenas a la Parmesana
February 26, 2010 at 5:23 pm
Sopa de Mariscos a la Crema
February 26, 2010 at 5:29 pm
Delicia de Mariscos
February 26, 2010 at 5:35 pm
I Cook Free » Blog Archive » Norwegian Meatcakes with Sauce
February 26, 2010 at 8:43 pm
Camarones en Salsa de Queso
February 27, 2010 at 8:13 am
Pate de Atun
February 27, 2010 at 8:21 am
Torta de Zanahorias
February 27, 2010 at 8:28 am
Crepes Suzette
February 27, 2010 at 8:39 am
Salsa Pesto
February 27, 2010 at 8:46 am
Masa para Tarta o Pastel
February 27, 2010 at 8:54 am
Caviar de Berenjenas
February 27, 2010 at 8:58 am
Ensalada Verde con Queso de Cabra y Miel
February 27, 2010 at 9:06 am
El Mejor Arroz con Pollo
February 27, 2010 at 9:11 am
Salsa Amatriciana
February 27, 2010 at 9:21 am
Salsa Napolitana
February 27, 2010 at 9:26 am
Coliflor a la Parisienne
February 27, 2010 at 9:33 am
Lomo de Cerdo relleno de Ciruelas para Deya
February 27, 2010 at 9:39 am
Pechuga de Pavo rellena
February 27, 2010 at 9:45 am
Arroz con Pasitas
February 27, 2010 at 9:50 am
Arepas de Trigo
February 27, 2010 at 9:57 am
Ensalada de Berros, Aguacate y Palmitos
February 27, 2010 at 10:02 am
Ensalada de Repollo y Zanahoria
February 27, 2010 at 10:14 am
Ensalada Waldorf
February 27, 2010 at 10:24 am
Ensalada Fria de Papas a la Cesar
February 27, 2010 at 10:28 am
Ensalada Mixta
February 27, 2010 at 10:33 am
Filetes de Lenguado Amandine
February 27, 2010 at 10:38 am
Papas Horneadas a las Finas Hierbas
February 27, 2010 at 10:43 am
Filetes de Pescado Deliciosos
February 27, 2010 at 10:49 am
Trucha a la Sarten
February 27, 2010 at 10:59 am
Brochetas (Pinchos) de Pescado
February 27, 2010 at 11:09 am
Mantequilla de Albahaca
February 27, 2010 at 11:12 am
Mousse de Chocolate Gladys
February 27, 2010 at 11:17 am
Pollo Horneado con Yogurt
February 27, 2010 at 11:25 am
Espaguetis con Salsa de Atun
February 27, 2010 at 11:29 am
I Cook Free » Blog Archive » Beef Stew with a Twist
February 27, 2010 at 4:06 pm
Bumbu gado-gado istimewa | Etas Blog
February 27, 2010 at 7:59 pm
Cheese Shortbread / Cheese Puffs
February 27, 2010 at 9:40 pm
Parmesan Chicken
February 28, 2010 at 8:18 am
Baked Sweet Potato Fries with Honey-Lime Dip
February 28, 2010 at 8:46 am
Chicken Salad With Apples and Cranberries
February 28, 2010 at 9:28 am
Pastel de Acelgas
February 28, 2010 at 10:37 am
Bocaditos Faciles
February 28, 2010 at 10:43 am
Rollitos de Anchoa
February 28, 2010 at 10:51 am
Dip de Queso Azul
February 28, 2010 at 10:54 am
Dip de Queso de Cabra
February 28, 2010 at 10:58 am
Dip de Queso Crema Multicolor
February 28, 2010 at 11:02 am
Italian Sausage
March 1, 2010 at 8:00 pm
À Table » Archive » New post with recipe
March 2, 2010 at 4:02 pm
Ciorba de cartofi | Retete Culinare Romanesti
March 3, 2010 at 7:28 am
Super Sloppy Sloppy Joes | The Lotus Cafe
March 3, 2010 at 10:27 am
Friends Food Fun Epp 1! - BrianUpward.com
March 3, 2010 at 6:16 pm
» Blog Archive » Soaked Grain Cobbler – YUM
March 4, 2010 at 6:56 pm
Recipe: Sloppy Joes | DesertDwarf.com
March 5, 2010 at 10:09 pm
Saturday Morning Surfing: Programming Is "Actionary" Blogging Is "Reactionary" | Website In A Weekend
March 6, 2010 at 11:45 am
Zucchini gratin
March 6, 2010 at 3:01 pm
Apple Cinnamon Muffins « Cooking Club for Men
March 6, 2010 at 3:39 pm
Andicakes » Blog Archive
March 7, 2010 at 8:07 am
Andicakes » Blog Archive » Frozen Andi Lime Pie
March 7, 2010 at 2:07 pm
Chestnuts roasting on an open fire | Culinaria
March 8, 2010 at 1:29 pm
Primrose Community Farm, LLC » Braised Broccoli Raab
March 8, 2010 at 7:06 pm
Primrose Community Farm, LLC » Moorish Chickpea and Spinach Stew
March 9, 2010 at 8:41 am
Polka Dot Banana Oatmeal
March 10, 2010 at 11:37 am
Chilled Honeydew Cucumber Soup on jodyeddy.com
March 10, 2010 at 2:24 pm
I Cook Free » Blog Archive » Best Chocolate Cupcakes Ever!!!! Just ask my friends and they’ll agree.
March 10, 2010 at 2:44 pm
Quick & Easy Spanish Style Paella - BrianUpward.com
March 10, 2010 at 6:28 pm
Veg Girls » Blog Archive » Guacamole
March 10, 2010 at 7:50 pm
Carlos Velez Prewriting Throwdown: Blog posts by the pound | Website In A Weekend
March 11, 2010 at 12:14 am
Antti Kokkonen – When it has to be done right | Website In A Weekend
March 12, 2010 at 12:31 am
» Grapefruit Curd …So Amazing
March 13, 2010 at 11:22 am

{ 34 comments… read them below or add one }

1 John October 18, 2009 at 9:18 pm

Hi-

Just installed the newest version and something doesn’t seem to work. When I click on the hRecipe button I get a “Page not found” error. I think instead of going to http://www.layingitontheline.com/blog/hrecipeinput.php? that the plugin is trying to go to just the root (http://www.layingitontheline.com/hrecipeinput.php?). Is there a way to change where the button looks for the plugin?

Thanks.

JJ

Reply

2 Dr Wordpress! October 18, 2009 at 11:49 pm

John,

I’ve just fixed that.

I’ll commit again momentarily.

It’s really late right now.

If the new commit doesn’t come through, add these lines to the top of hrecipe_format.php:

<?php
    global $hrecipe_plugin_url;
?>

Reply

3 Fred November 8, 2009 at 2:40 pm

Where is the download link on this page?

Reply

4 Dr Wordpress! November 8, 2009 at 2:52 pm

@Fred – Added link for downloading 0.5.01.

Reply

5 Rico Barone November 8, 2009 at 7:20 pm

I’m very interested in you hRecipe plugin. I would LOVE to see functionality for *printing* the recipe only from within a post, as well as the recipe appearing with a different background colour etc.

Reply

6 Dr Wordpress! November 8, 2009 at 7:26 pm

@Rico – That’s a couple of releases out yet… I might be able to push it forward… let’s see if anyone else is interested as well. That would be very motivating.

Reply

7 Frances November 10, 2009 at 3:30 pm

Do you have a plug in to add the items of the recipe to a printable list?

Reply

8 Dr Wordpress! November 10, 2009 at 3:52 pm

@Frances – I’m taking your comment as a vote for printing next.

Reply

9 Frances November 10, 2009 at 4:24 pm

What I am looking for is similar to this site: http://www.southernsavers.com. The ability to select shopping items to print. I know it can be done just a) don’t know how b) can’t find out how. If you hear or know how to do this please let me know I would be so grateful for any help.

Thanks again!

Reply

10 Dr Wordpress! November 10, 2009 at 4:47 pm

@Frances – yeah, that’s different than what I’m doing. Any good web design shop should be able to help you out.

Reply

11 Frances November 10, 2009 at 5:56 pm

So far no one can help. Thanks!

Reply

12 Dr Wordpress! November 10, 2009 at 6:04 pm

@Frances – coding up a useful grocery item web application probably comes at about $15,000 in developer time, from a cold start. Maybe more, depending on what capabilities you want for it. Maybe less if you can find someone with related code who’s interested in the project. I could do it… but nobody wants to show me the money.

A friend of mine is working on some related technology, but he hasn’t released yet. We plan on comarketing once he’s ready to release. You might consider signing up for the newsletter.

Remember: all this technology you are using was volunteered by people giving their time. My estimate is WordPress has about $15,000,000 worth of developer value. Enjoy, but keep in mind the context.

Reply

13 Adam November 11, 2009 at 5:59 pm

Hi Dr.. Thanks for the plugin. I just recently updated to the latest version. Now, when i add a recipe the font size is too large.. Is there an easy way to modify this?

Thanks Again

Reply

14 Carl November 21, 2009 at 2:02 am

Can’t get hrecipe to work on latest version of WP (2.8.6). Activating plug-in generates following error:

Message: Expected ‘;’
Line: 475
Char: 24
Code: 0
URI: http://localhost/wp/wp-admin/plugins.php?activate=true&plugin_status=all&paged=1

More javascript errors reported on new post page – clicking the star does not bring up any windows.

Reply

15 Dr Wordpress! November 21, 2009 at 7:25 am

@Carl – I just tested here on Website In A Weekend, everything is working fine for me.

Please send me a zip file of your hRecipe installation. If there is no difference, we’ll start checking conflict with other plugins.

Reply

16 Philipp November 25, 2009 at 11:17 am

Hello same problem like Carl nothing happens wenn clicking on the star :(

Reply

17 Dr Wordpress! November 25, 2009 at 11:26 am

@Philipp – Thanks for the feedback, I just sent you an email. I’ll get started on this shortly.

Unfortunately, the plugin does work for me, and that makes debugging really hard. I’ll figure it out though.

Reply

18 BadgerMe November 28, 2009 at 12:07 am

Hi DW,

I activated hRecipe on 2.8.6 built over PHP5 and when clicking the edit post link in the dashboard I got the following error:

Catchable fatal error: Object of class hrecipe could not be converted to string in /var/www/…/wp-includes/classes.php on line 273

Regards,

BadgerMe

Reply

19 BadgerMe November 28, 2009 at 7:31 am

Probably an erroneous error because I have two recipe plug-ins installed – deactivating ‘Recipe Share’ removed the problem.

Reply

20 Dr Wordpress! November 28, 2009 at 6:23 pm

@Badger – Thanks for the update. I’ll check into namespacing my classes to prevent this in the future.

@Adam – Just caught your comment… you can change the hrecipe.css file to use any type of styling you want.

Reply

21 Maria December 11, 2009 at 8:08 pm

When I try to input a recipe into a post, I get the pop up, but it remains as a blank white page and no form is available for me to fill out. I’m on a brand new install of wordpress with minimal other plugins installed, any ideas?

Reply

22 Dr Wordpress! December 11, 2009 at 8:10 pm

@Maria – That’s a first. Which browser and operating system are you using?

Reply

23 Ronnie January 5, 2010 at 4:01 pm

Hello, i really like your hRecipe app and intended on starting to use it. I haven’t used it yet, however i have messed around with it before. Today i went to test it again, and noticed a few issues i’m having (i also updated my wordress to 2.9 today so i don’t know if that had any affect on it).

First, when i select number of servings, it does not appear in the post when i hit insert.

second, when i list ingredients and instructions, they are all implemented into the same line. Am i doing something wrong? In the text box provided, i enter the first ingredient then hit enter to go to the next line, then i enter the next ingredient and hit enter, etc. Same method with the instructions. Yet when i go to insert the recipe it appears all on the same line. Like this…

1. Clean chicken. Cook chicken. Then serve!

Rather than…

1. Clean chicken.
2. Cook chicken.
3. Then serve!

Please help me with this so that i can start using this plugin. I hope the recent wordpress update didn’t affect anything. Thank you!

Reply

24 Dr Wordpress! January 5, 2010 at 4:08 pm

Ronnie,

The quick answer is do this:

* Clean chicken.
* Cook chicken.
* Then serve!

That is,
* Star at beginning of line, each on a different line.

Getting this right is what’s known as a
“parsing” problem. People parse naturally,
computers, not so much.

By putting a * at the start, and each direction
on a separate line, I can parse that much easier.

Reply

25 Ronnie January 5, 2010 at 4:25 pm

Wow, thanks for the quick response. Adding the star makes it work. I guess there’s no way around that to make it do it automatically, right?

Also, what about the number of servings? How come that is not appearing when i hit insert even if i select one of the options?

Thanks again!

Reply

26 Jeanne Meier January 6, 2010 at 9:46 am

I love the idea behind this modification but for some reason am getting a “catchable fatal error” when I try to access it on the front page.

Any thoughts?
Thanks!!!

Reply

27 Ronnie January 15, 2010 at 7:47 am

Hey again. You helped me out earlier with an issue i was having with the plugin, which is working out great now! It’s definitely helped me out implementing cooking recipes on my site.

Since your plugin seems to be one of the few plugins geared toward food blogs, i’d like to make a request. Do you think you are able to create a plugin that can allow subscribers to the site to have their own “recipe box” to allow users to add and save their favorite recipes to their profile. And have it show up as a widget. Let me know what you think, or if you’ve seen another plugin similar to this. THANKS!

Reply

28 Dave Doolin February 28, 2010 at 7:48 pm

Ronnie, just released 0.5.2.

Definitely interested in working with food bloggers.

Reply

29 aaron pearson January 29, 2010 at 9:39 pm

This is very nice! It’s great to find someone creative and smart enough who is willing to help out the food folks… and not just cater to the IM and SEO crowd. I’m definitely going to add this to my recipe blog, as it looks like it will make things much easier to input.

Reply

30 Dave Doolin February 28, 2010 at 7:50 pm

I can help the food blogger folks a lot!

Stay tuned.

Reply

31 liz rosenshine February 28, 2010 at 6:31 pm

hello,

i just updated to the newest version, and some of the customizations i had done on the last version will not work when i re-implement them. Basically, all I had done was change some of the tab4 options to the recipe input.

When i upload these changes and view the hrecipe editor, they are not appearing. I’ve verified that they are showing up in the plugin editor, although it says inactive when i view the files (except hrecipe.php).

I am up to date on my wordpress install – any suggestions? I’ve tried a host of changes, even as simple as changing the name of a culinary tradition, and the changes are not being reflected.

Thanks

Reply

32 Dave Doolin February 28, 2010 at 7:51 pm

Liz, I sent an email. You can get my attention pretty easy right now. Hope you will follow up.

Reply

33 Jessica Davis March 5, 2010 at 5:33 am

Hello! I really like this plugin, and it was working great, but whatever update you sent through yesterday broke it to the point that wasn’t able to even see my website or login. The error that I got was “Warning: Cannot modify header information – headers already sent out by (output started at /…/plugins/hrecipe/hrecipe.php:102) in /…/wp-includes/pluggable.php on line 868. I would love to use this plugin, but everytime I try to reinstall it I get the error all over again. I am running WP 2.9.2.

Reply

34 Dave Doolin March 5, 2010 at 9:17 am

Jessica, I fixed at least one problem in 5.3.1 which may have caused this. Also, I sent you an email. Let me know one way or another, it really helps me a lot.

The infuriating thing for me is that, it works for me! Not seeing any problems at all in my testing.

Thanks for your feedback.

Reply

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">