element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Pi Chef Design Challenge
  • Challenges & Projects
  • Design Challenges
  • Pi Chef Design Challenge
  • More
  • Cancel
Pi Chef Design Challenge
Blog KCON - Pi Chef Load up some Recipes!
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Events
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: jkutzsch
  • Date Created: 18 Mar 2018 5:24 AM Date Created
  • Views 1198 views
  • Likes 6 likes
  • Comments 3 comments
  • pi-chef
  • kitchen
Related
Recommended

KCON - Pi Chef Load up some Recipes!

jkutzsch
jkutzsch
18 Mar 2018
  1. Intro Blog
  2. Unboxing
  3. Setup
  4. Gourmet Install
  5. Load up some Recipes!   <<<---
  6. Enclosure Planning.
  7. 7inch Touchscreen Time
  8. AIY Build / Google Voice
  9. AIY API & Certs
  10. Succes with Google AIY!

 

Welcome to another blog for the Kitchen CONsole.

 

Last blog we installed the Gourmet Recipe Manager and discovered that while easy to install it did not come with any yummy instructions, so this blog will cover a couple of ways to get some recipes into the application without having to hand enter all of the details.  Of course when you need to enter your Grammies County Fair winning Jelly you will probably need to hand enter that one. 

 

image

 

What we had been looking at was the Genius Kitchen website with a searchable database of recipes.  Oddly enough on the Find a Recipe option the Raspberry PI was repeatedly unsuccessful.

 

image

 

When the site would actually allow me to type in a search parameter it quickly returned this error every time. 

 

Since I am not trying to test the website or the web browser I used another system to perform the basic search and return of information.  To be fair the website is a pretty intensive site with lots of thing being pushed.

 

image

 

Here you can see where it actually allowed me to type in what I wanted to search/make.  For the sake of the Raspberry PI basis of the project I thought it would be interesting to see if they had any RPI.  :-)

 

image

 

Nope, no Raspberry PI.  But it did decide to check for some Pie for us and found some 120+ options out there!

 

image

 

Quickly scrolling through I found a promising looking Pie and clicked on it to take a look.  Rasberry Pie!  hmmmm....

 

image

 

The key part we want is the URL for that recipe, so here we can see http://www.geniuskitchen.com/recipe/raspberry-pie-274472 is what I am interested in trying to pull into our application.

 

So let's jump back over to our KCON and put in this URL:

 

image

 

As you can see if you go under the File tab there are options for Import-ing a file and Import-ing from a webpage.  For this example we will choose the webpage option.

 

image

 

So let's enter our Recipe URL and see what happens!  http://www.geniuskitchen.com/recipe/raspberry-pie-274472

 

image

 

While we seemed to have problems using our webbrowser the Gourmet program seems to be pulling the recipe fine.

 

image

 

So here is a glimpse of the "raw" data as the application sees it.  What you will want to do is some major cleaning.  The majority of the stuff showing "Ignored Text:Reveal hidden text" boxes are various advertising.  In fact I would say 95% of the page capture is advertising one way or another and may have been why we had problems earlier.  By clicking all the boxes and ample use of the delete key you can clean up this recipe.

 

image

 

So here I have deleted a bunch of the advertising and we can see they show the servings information and we have a tab to input servings.  By highlighting what you want under Servings and then clicking Servings you get:

 

image

 

I think I may have actually double clicked the Servings Button since we are showing two inputs.  By clicking the second "-" showing, I was able to remove one and it looked much cleaner.

 

image

 

Here we can see everything cleaned up, with Items like Ingredients and Instructions appropriately labeled.

 

At the bottom on the right hand side you can see the Import Recipe option.  Let's give it a try!

 

 

image

 

Here is an option to add graphics.  While the website actually does have a variety of graphics I am guessing they are concealed in some way to not allow the application to pull them.  So no pretty pictures are coming with this recipe.

 

image

 

Ah Hah!  The application is reporting a Recipe has been successfully imported and now we see in our list one Raspberry Pie recipe!

 

image

 

So opening up our Pie recipe shows what we were able to manually import over from the website.  Not too bad...

 

image

 

While we had success, I think finding complete Recipes and importing them as a file might be a little quicker.  Following this thought I did a quick google search.  This in turned revealed this Gentleman giving a review of the Gourmet Recipe Manager and also saying he has some Recipe Files he has shared over to a Google Drive so let's take a peek!

 

image

 

Yumm, I love Butterscotch.  Let's see what that Butterscotch Brownie recipe looks like.  Clicking on the file brings up:

 

image

 

So not exactly what I want.  Let's download the whole thing then pull the file in.

 

image

 

Remember our Import options under the File tab?  This time we choose Import File and navigate over to your Downloads section and click on the recipe.

 

image

 

Right away we see it successfully imports and now I have another recipe in my list, this one even has a picture preview!  Getting better!

 

image

 

Clicking on the Recipe pulls up all of the information.  Looks good.  I like the fast and easy method!

 

Now I had noticed one of the files having a generic Recipes name. let's see if that actually has more then one Recipe in there.

 

image

 

Wow, right away it is showing importing of 88 Recipes.  This should be interesting!

 

image

 

Scrolling through I see a Pink Lemonade Cupcake option let's take a look.  Who wouldn't want a Pink Lemonade Cupcake?

 

image

 

Looks good.  So now we have jumped up to 90 Recipes using a couple different ways of getting these in to our application.  This looks very promising!

 

Thank you for following along with this Project!

  • Sign in to reply

Top Comments

  • DAB
    DAB over 7 years ago +3
    Good update John. DAB
  • genebren
    genebren over 7 years ago +2
    Nice update on your project. Importing the recipes seems like a nice way to add content to your project. Keep up the good work! Gene
  • three-phase
    three-phase over 7 years ago +2
    Excellent progress being made, will be interesting to see all of the elements being pulled together. Kind regards
  • three-phase
    three-phase over 7 years ago

    Excellent progress being made, will be interesting to see all of the elements being pulled together.

     

    Kind regards

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 7 years ago

    Good update John.

     

    DAB

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • genebren
    genebren over 7 years ago

    Nice update on your project.  Importing the recipes seems like a nice way to add content to your project.

    Keep up the good work!

    Gene

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube