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”
Could you please add http://www.skinnytaste.com
Thank you!
Please, could you add http://elgourmet.com
Thanks
Hi, can you help me with http://www.varenibezchemie.cz ? Thank you.
http://recipes.sparkpeople.com
Could you add this website please
Thanks
Can you please add the site 24kitchen.nl to the import list? This is the recipe site of the Fox coocking TV station in the Netherlands.
I added about 10 categories and put all my recipes in at least one of them. The problem is on the page where it shows all recipes or you can click to display individual categories, all of mine don’t come up. Is there a fix for that?
Try to close and reopen the app
Please add: http://www.kraftcanada.com
Many thanks !
Audrey
Hi,
Can you had these sites please:
http://www.ricardocuisine.com
http://www.recettes.qc.ça
http://www.coupdepouce.com
Thanks !
Hi,
We already support ricardocuisine.com and recettes.qc.ca. Have you any issu with these websites?
please add:
fortheloveofcooking.net
wholeliving.com
marthastewart.com
Can you add dashing dish.com?