Importing Recipes to Pepperplate

Posted by {"display_name"=>"greg", "login"=>"greg", "email"=>"greg@udon.org", "url"=>""} on January 21, 2012 · 4 mins read

I was looking at cloud based recipe sites with a good iPad app recently and decided on Pepperplate. The iPad app looks great and they have really good options for importing recipes from over 20 cooking related sites. There's also a great browser bookmarklet to make the importing of web based recipes simple.

July 2013 Update - After hosting the PepperIn utility for over a year for free on CloudFoundry, VMware ended the free beta period on June 30, 2013. Thanks to VMware for the free use of their great service. I found a new home for the service and with AppFog. The original URL for PepperIn, http://pepperin.flnkr.com, should now redirect you to the new AppFog host, http://pepperin.aws.af.cm.

However, I have a library of over 300 recipes in a Word document that I'd like to import and they don't have the ability to import from a text or XML file so I've written a web tool called PepperIn to do bulk import of recipes to Pepperplate.

Warning: I expect PepperIn will stop working at some point in the future for a couple of reasons: (1) It is dependent upon the layout of the Pepperplate website and I'm sure at some point they'll make changes to this for one reason or another that will stop PepperIn from being able to add recipes; and (2) PepperIn is being hosted on VMware's CloudFoundry service which is currently in beta and even better - it's free! At some point I'm sure VMware will start charging for this service and I'm not sure I want to pay to keep this site up.

Another Warning: I've used CloudFoundry to host several other apps (for Grails and Java apps it's great) and they provided limited resources to these apps during their beta.  As a result, I've noticed that if you browse to a site that hasn't been accessed for a while, you can get connection errors. If this happens, wait a minute or so and re-try.  I suspect that they are spinning apps up and down based upon demand.

Formatting Recipes for Importing

Pepperplate provides about nine fields of information for each recipe and Title is the only required field. In addition to Title, this import tool also supports  Ingredients, Instructions and Categories (although Pepperplate allows multiple categories per recipe, I currently only support one category). To import your recipes, you'll have to do some reformatting on your Word or text file. I used the Microsoft Word Macro feature to record macros that would make the formatting changes required to do the import.

Here's an example a single recipe in the required format:

<recipe>
<title>POTATO SOUP</title>
<ingredients>5# white potatoes
1 cube butter
2 lg. onions
salt and pepper
2 cans evaporated milk
Johnnie's Garlic Spread and Seasoning</ingredients>
<instructions>Cut potatoes into bite-size pieces. Place potatoes and chopped onions in large pot and cover with water to 1/2" above vegetables. Add milk, butter and seasoning and bring to boil. Simmer until potatoes are tender. Add instant potatoes, if necessary, to thicken.</instructions>
<categories>soup</categories>
</recipe>

You can .

Import Steps Summary:

1. Format your recipes as described above

2. If the document is in Word format, save it as a txt file and make sure you check the Allow Character Substitution option in the save as dialog box.

3. Open the PepperIn web page in your browser and choose the Import Recipes link.

4. Enter your Pepperplate login email and password and the cut and paste your recipes into the Recipe field.

5. Select Import in the lower left and your recipes should start showing up in Pepperplate.

Please add a comment below if you have a question.

Misc

Thanks to CloudFoundry for hosting the PepperIn tool for free and to Pepperplate for developing a great app. This project was written in Grails 2.0 using HTMLUnit.