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”
Hi, love your App but could you please add http://www.rezeptwelt .de ?
Thank you very much
Could you please add lifemadedelicious.ca to the list please
I’d like http://www.thesmokedolive.com/pages/recipes.html added to the list. CJ
I’d like http://www.peppahead.com/recipes.html added to the list. Thanks, CJ
Can you please add “wilton.com” and “annaolson.ca” please. Superb app…keep up the good work!
Could you add “allthecooks.com” as a site to import from? They have awesome recipes. I have the android app on my tablet but couldn’t import. Love your app. THX.
I would really like familycircle.com to be supported. Thanks!!
Can you please add http://www.recipesource.com
Hello,
Thanks for the great app, I use it everyday 🙂
Could you please add gateau.com to the approved sites? It would really allow me to save looots of time.
Thanks!
http://www.bcliving.ca/food and cbc.cabestrecipes are sites that I would like to see added