Skip to content
This repository has been archived by the owner on Feb 1, 2023. It is now read-only.

import of meal-master does not work #4

Open
mrVanDalo opened this issue Mar 3, 2020 · 0 comments
Open

import of meal-master does not work #4

mrVanDalo opened this issue Mar 3, 2020 · 0 comments

Comments

@mrVanDalo
Copy link

I've downloaded and split some file from http://www.ffts.com/recipes.htm which you linked,
but none of them can be imported.

for example http://www.ffts.com/recipes/ac/Mm3500_01.zip unziped
and than split with

csplit -f recipe- MM3500_1.TXT '/MMMMM-/' '{*}'

produces recipe-01

MMMMM----- Recipe via Meal-Master (tm) v8.02
 
      Title: Carrot Cake
 Categories: Cake/cookie, Dessert, Muffin
      Yield: 12 servings
 
      1 c  Oil                                 1 t  Baking soda
      1 c  Sugar                               1 t  Salt
      1 c  Brown sugar                         1 t  Baking powder
      1 t  Vanilla                             2 t  Cinnamon
      4 x  Eggs                                3 c  Carrots; shredded
      2 c  Flour, whole wheat                  1 c  Walnuts; chopped
    1/3 c  Dry milk                       
 
  In large bowl, blend oil and sugars on low until well mixed. Add
  vanilla. Beat in eggs, one at a time, blending well after each
  addition. Stir together dry ingredients and add to egg mixture until
  well blended. Stir in walnuts and carrots by hand.�
  Pour batter into well greased and floured 10" tube pan or fluted pan.
  Bake at 350f for 50-60 minutes. Cool in pan, then top with powdered
  sugar or frosting of your choice.
 
MMMMM
 

running mahlzeit import recipe-01 gives me:

ParseErrorBundle {bundleErrors = TrivialError 92 (Just (Tokens ('/' :| "cooki"))) (fromList [Tokens (' ' :| ""),Tokens (',' :| ""),Tokens ('Y' :| "ield:"),Label ('l' :| "etter"),Label ('w' :| "hite space")]) :| [], bundlePosState = PosState {pstateInput = "MMMMM----- Recipe via Meal-Master (tm) v8.02\r\n \r\n      Title: Carrot Cake\r\n Categories: Cake/cookie, Dessert, Muffin\r\n      Yield: 12 servings\r\n \r\n      1 c  Oil                                 1 t  Baking soda\r\n      1 c  Sugar                               1 t  Salt\r\n      1 c  Brown sugar                         1 t  Baking powder\r\n      1 t  Vanilla                             2 t  Cinnamon\r\n      4 x  Eggs                                3 c  Carrots; shredded\r\n      2 c  Flour, whole wheat                  1 c  Walnuts; chopped\r\n    1/3 c  Dry milk                       \r\n \r\n  In large bowl, blend oil and sugars on low until well mixed. Add\r\n  vanilla. Beat in eggs, one at a time, blending well after each\r\n  addition. Stir together dry ingredients and add to egg mixture until\r\n  well blended. Stir in walnuts and carrots by hand.\DC4\r\n  Pour batter into well greased and floured 10\" tube pan or fluted pan.\r\n  Bake at 350f for 50-60 minutes. Cool in pan, then top with powdered\r\n  sugar or frosting of your choice.\r\n \r\nMMMMM\r\n \r\n", pstateOffset = 0, pstateSourcePos = SourcePos {sourceName = "recipe-01", sourceLine = Pos 1, sourceColumn = Pos 1}, pstateTabWidth = Pos 8, pstateLinePrefix = ""}}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant