Recipies, MealMaster

title says it all

Recipies, MealMaster

Postby lar282 on Mon Apr 04, 2005 11:41 am

Hi
Created a converter from Mealmater recipies to a xlobby database.

Also created screens in xlobby to show u how it can look.

right now I got over 9999(Xlobby wont show more!!!) recipies. Kind of cool.

The converter takes ALL .txt files in the same dir as the exe and converts all of them to ONE xlobby database. I included all the txt files I have in the zip.

download at
http://hem.passagen.se/lar282/mealmaster/


//Lasse
lar282
 
Posts: 1682
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby ingalls on Mon Apr 04, 2005 12:28 pm

The screenchots let me see something very nice!!!

It's in english... but it shows a great look in xlobby

Thanks a lot!!! :lol: :oops:
Member of XLobby FR Team
~~~~~~~~~~~~~~~~~~
Releases from the French team
ingalls
 
Posts: 193
Joined: Wed May 12, 2004 7:46 pm

Possible enhancement

Postby rhitt on Tue Apr 05, 2005 8:02 pm

Would it be possible outside of a plugin to make the number of portions or yield adjustable? Say if a dish serves 10 to have the ability to reduce the portions to 5 and have the ingridents reduced like it does say in MediaPortal...

This would have huge WAF in my house.
rhitt
 
Posts: 16
Joined: Sat Mar 20, 2004 5:37 am

Postby lar282 on Wed Apr 06, 2005 6:26 am

I dont think its possible. MediaPortal has sqllite databses and I think they are easier to manipulate in that way.
Anyway I cannot do it, but the source code for MP:s recipies is free so anyone can take alook at it.


//Lasse
lar282
 
Posts: 1682
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lynbark on Tue May 03, 2005 5:22 pm

Love the idea as our touchscreen with Xlobby is a few steps away from the kitchen. I have a few problems adding this to baddabing's skin I am using (and love!)
I downloaded the recipe files and placed them the BONG skin folder, and the eventgroup folder.
I ran the file to convert the text files into the MealMaster xml file.
I ran skin editor and added a button to goto recipies (as it is spelled) and it will take me to a new screen with a few buttons missing (i guess these are not in the BONG skin).
My problem is, when I place the MealMaster xml into the BONG skin folder, xlobby stops loading at SCREENS.
If i put the mealmaster xml into teh eventgroups folder, i don't see any recipes at all.

So I can navigate to the new recipes screen, but nothing appears.
Can you tell me exactly what I have to do as far as assigning events, possibly copying buttons from 1 skin to the skin I use, where the MealMaster xml belongs?

Thanks!!!!
lynbark
 
Posts: 15
Joined: Fri Sep 17, 2004 3:43 pm

Postby lar282 on Tue May 03, 2005 7:07 pm

I'll help u out tomorrow.out of town and dont have my own computer here. I will upload my skin files and button that wil help u out.
the xml file goes in the databases directory of xlobby, but not in the database dir of the skin


//Lasse
lar282
 
Posts: 1682
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lynbark on Tue May 03, 2005 7:22 pm

Great.
I was able to get it working perfectly using the newest default skin of Steve (same as in your screenshots).
Still can't get anything to work in the baddabing skin, so I guess i need some other buttons/filters/ etc. which I pretty much don't understand at all at this point
Thanks so much for the help!!!
lynbark
 
Posts: 15
Joined: Fri Sep 17, 2004 3:43 pm

Postby lar282 on Thu May 05, 2005 8:27 pm

ok uploaded 2 new files.use the new converter and in the other zip I included the buttons and the resource files needed. I think that will help u out.

the overlay screen that shows the ingridients for the recipies:

category>MealMaster>Ingridients
category>MealMaster>Ingridients2
Category: %MealMaster>Category% Yield: %MealMaster>Yield%

//Lasse
lar282
 
Posts: 1682
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Postby lynbark on Thu May 05, 2005 11:19 pm

Thanks for the assistance!!!

However, I tried to run the converter on the same machine as I did the old one and get a windows exception error with no xml being produced.

Also, into which file do I place this overlay code??
the overlay screen that shows the ingridients for the recipies:

category>MealMaster>Ingridients
category>MealMaster>Ingridients2
Category: %MealMaster>Category% Yield: %MealMaster>Yield%



THANKS !!!!
lynbark
 
Posts: 15
Joined: Fri Sep 17, 2004 3:43 pm

Postby lynbark on Fri May 06, 2005 3:08 pm

Well I redownloaded the files in a clean directory and was able to build the XML file just fine.
So I'll play with where to insert the category code and see how it comes out.
lynbark
 
Posts: 15
Joined: Fri Sep 17, 2004 3:43 pm

looking for more info on this

Postby jtrue on Fri Nov 04, 2005 3:54 am

i downloaded the zip and put the files in the proper places
set up a button and can navigate to the recipes screen
however i did not find in the zip file the convertor which in one of the osts was said to be an exe file
i would like to continue playing with this if anyone has more info please let me and everyone else here know
thanks
jtrue
 
Posts: 24
Joined: Fri Mar 19, 2004 5:48 am

Postby R32 on Thu Apr 27, 2006 8:56 pm

Downloaded the zip file but the converter is not included, is it still available?
R32
 
Posts: 34
Joined: Tue Jan 31, 2006 11:24 pm

Postby GFORCE on Fri Apr 28, 2006 2:55 am

where do people get their individual text files of Mealmater recipies?

Can people point me to a link or can they upload it somewhere?

also, lar282 there is no convertor in the archive anymore
Image
GFORCE
 
Posts: 193
Joined: Mon Jul 19, 2004 12:17 pm

Postby R32 on Sun May 07, 2006 1:42 pm

GForce,

I'm not aware of too many sites that have individual MealMaster recipes for download, most are grouped in "cookbooks" of similar recipe types. As it looks like the converter is no longer available I've gone a different direction to get recipes into XLobby. I did some looking and found an application called Gourmet Recipe Manager that will import MealMaster recipes as well as MasterCook recipes and can export recipes in it's own XML format. From there I wrote a script that will convert all the individual XML recipes and write everything to one XLobby recipe database. It's not pretty but it works.
R32
 
Posts: 34
Joined: Tue Jan 31, 2006 11:24 pm

Postby lar282 on Sun May 07, 2006 6:36 pm

Image
lar282
 
Posts: 1682
Joined: Thu Apr 01, 2004 4:13 pm
Location: Helsingborg, Sweden

Next

Return to Tips and Tricks

Who is online

Users browsing this forum: No registered users and 1 guest

cron