Your favorite site is currently not supported ? If you are not afraid by html, xml, xpath or regular expressions, you can now try to support your favorite website by yourself !
My CookBook uses different algorithms to import a recipe. One of them is to use a site definition that describes a recipe page.
MyCookBook is now open to get user generated site definitions.
The site definition is a json file that contains xpath and regular expressions that are used by My Cookbook to extract the different information of a recipe in the HTML code.
We will present here some tutorial and link to get started.
- Get Firefox
- Get Java JRE
- Get the RecipeFox add on, and install it in firefox. You can download it here : download page
- Check if RecipeFox already supports your site.
Click on the “Show the Sites” button. Look in the sites list if you can find the website you would like to add. If yes, select it and export it - If you can’t find it in the list, you can write a new RecipeFox site def
On the recipe fox Website you can read a nice tutorial.
Here are the recipefox fields that are used in My Cookbook:- Recipe URL pattern (mandatory)
- Title (mandatory)
- Ingredients
- Directions
- Image URL
- Yield
- Prep. time
- Cook time
- Categories
Then export your RecipeFox site def
- Convert it to My CookBook site def :
Open the .json file you have generated with RecipeFox. You will have something like that :
At the end of the file, just before the characters ‘}]’, add the language of the website:
,"siteLang":"xxx"
. Replace xxx by adapted values.
siteLang is the iso code of the language of the website
For our example, you will have :
[...]
,"yieldunitRegexp":"","siteLang":"en"}] - Copy your .json file on your device in the directory Android/data/fr.cookbook/files/sitesdef/ or Android/data/fr.cookbookpro/files/sitesdef/
- Delete the file Android/data/fr.cookbook/files/sitesdef/siteDef.list
- Try to import a recipe into MyCookBook
- Optional : You can send us your file to publish it to all My CookBook users
74 thoughts on “Add your own websites”
Please add. http://www.Mennonitegirls can cook.com. to the list. Thanks
I would love to see http://www.grillsportverein.de/ added.
Thanks very much for this great app.
Would you add rawfoodrecipes.com please? And a built-in site request submit field somewhere?
Thanks to God and myCookBook, the complements are “cheering in” each night around my dinner table! WOW! I am simply in love with My CookBook! I literally use it everyday. It totally makes me a better cook in that I have my recipes at my fingertips, and I can easily search for the ones that I need to round out a proper meal. For most of us, organization is key and in the kitchen, this does it for me. I LOVE THAT YOU’VE ADDED MORE “DOWNLOAD FRIENDLY” SITES RECENTLY! This just makes a great app even better! THANK YOU!!!!!! YOUR TEAM GETS US! We cooks need you!
Thanks Cherpea ! 😉
I would love to see http://www.saymmm.com added!
I’m loving your app! Loved the ease of importing from Living Cookbook! Im still trying to figure out the shopping feature.
Can you please add: http://www.oprah.com/food.html
Thank you for a great app!
Please add:
http://www.deliciousmagazine.co.uk/
http://www.womanandhome.com/
http://www.jamieshomecookingskills.com/
Thanks
hello
Can you please add this website : http://www.lacuisineitalienne.fr/
Thanks
marlene
Also http://www.glutenfreeeasily.com
Can http://www.allglutenfreedesserts.com please be added, I use my phone and dont have firefox