Future proofing hRecipe (version 0.6 on the way)

by Dave Doolin on July 24, 2011

I’m happy to report that the just being released hRecipe Version 0.6.0 runs very nicely the in the current 3.2.1 version of WordPress, as well as on the cutting edge 3.3 version of WordPress I have running on my Macbook.

It’s been tested on a WordPress installation with dozens of plugins, including several other recipe plugins. Runs fine for me.

The 0.6.0 release is an engineering release. You should not notice anything different when using the plugin.

Engineering

Here’s from the Changelog:

  • Recipe entry form now routed through native WP media box functions, resulting in less code for hrecipe and better future proofing. An annoying undefined index problem was solved with this as well.
  • Many small code cleanups committed.
  • Application layout restructuring to put files in appropriate places. It would be nice for the WordPress core team to promote an “official” standard for plugin structure. Until then I’m using general software engineering best practice, and following conventions used in other frameworks such as Ruby on Rails.

As usual, if you have any problems, please leave a comment here, or even better, file an issue on Github.

{ 14 comments… read them below or add one }

Kim Schulz July 27, 2011 at 12:29 pm

After upgrading to this version, the toolbar button in the editor just shows a 404 page. Not sure why that is.

Reply

Dave Doolin July 27, 2011 at 12:35 pm

Check your files against the canonical source:
https://github.com/doolin/hrecipe/tree/master/view

You may have a file permission issue.

I’m unable to repeat this on any of my test deployments or on http://hrecipe.com/ Which is a bummer I know.

Reply

Kim Schulz July 27, 2011 at 12:47 pm

The link it tries to open is
wp-content/plugins/hrecipe/view/lightbox.php?

That file is not to be found in the installation (I upgraded through the normal plugin-upgrade mechanism in WP).

Reply

Dave Doolin July 27, 2011 at 1:38 pm

That file isn’t being used any longer; try deleting and reinstalling.

Reply

Kim Schulz July 28, 2011 at 12:33 pm

Deactivating and re-activating seemed to do the trick here.

Reply

Dave Doolin July 28, 2011 at 12:41 pm

Excellent. It’s supposed to do this during the upgrade process.

Reply

Jim Phelps August 1, 2011 at 2:35 pm

I tried deleting and reinstalling hrecipe but I still have the
URL /wp-content/plugins/hrecipe/view/lightbox.php not found error.

Reply

Ellen August 6, 2011 at 8:59 pm

I was also getting a 404 error after updating to Wordpress 3.2.1. Then I noticed that in my All In One SEO Pack plug-in the Canonical URL’s was unchecked. As soon as I checked this box again and reloaded the site page, all was ok when opening hrecipe again.
Hope this helps someone :)

Reply

Dave Doolin August 8, 2011 at 8:53 am

Everything like this helps, Ellen. Thanks!

Reply

Adrienne Boswell November 11, 2011 at 4:56 pm

Just wanted all to know that HRecipe doesn’t have to be for recipes. I used it for a craft project at http://the-good-plate.com/?p=1796 . After putting in the ingredients, instructions, etc., I just edited the relevant areas, eg. Ingredients became What You Will Need. Thanks for this great plugin, it saved me a lot of time.

Reply

Dave Doolin November 11, 2011 at 5:32 pm

That’s absolutely right. Change the “hrecipe” tag to something like “procedure” or “algorithm” or whatever fits from http://schema.org. Now you’re contributing to the semantic web.

Reply

Bob Bessette February 25, 2012 at 5:34 am

Hi Dave,
I’m thinking about using this plugin for a new site for my wife. I remember you with the Website in a Weekend site. You must be the same guy. Look forward to using it. I actually used your idea to feature guest writers on my blog site but I retired that while back due to another page to maintain. I do like the concept though and may re-incorporate it.

Best,
Bob

Reply

Martinez Dario November 24, 2012 at 1:24 am

hola quieros saber donde agrego el microformato que cree en mi sitio web de wordpress

Reply

Martinez Dario November 24, 2012 at 1:25 am

hola quiero saber donde agrego el microformato que cree en mi sitio web de wordpress

Reply

Leave a Comment

Previous post:

Next post: