thinkle / gourmet

Gourmet Recipe Manager
GNU General Public License v2.0
338 stars 140 forks source link

editing and saving certain formats #236

Open ockham opened 11 years ago

ockham commented 11 years ago

Converted from SourceForge issue 3566093, submitted by SourceForge user marcw53 on 2012-09-09 16:19:30 UTC.

I can edit and save any manually created or MM recipe just fine. But recipes created from web site cannot be saved after editing. The Save button doesn't do anything and when I then close the ditor it prompts to save but doesn't. I'm uploading an example of a web created recipe which can't be saved after editing.

Ubuntu 12.04 32 bit GRM v0.15.9

mattcan commented 11 years ago

Was an example uploaded to the SourceForge ticket? I was going to test with that but I can't access the old issue tracker.

ockham commented 11 years ago

Yeah, I've deactivated public access (it's now developers only) to the old trackers so people don't keep posting issues there. Anyway, I've found that file ("Peach_Coffee_Cake_II.grmt") and will post it here. Unfortunately, GitHub doesn't support any non-image attachments, so I'll add the entire file contents as a separate comment.

ockham commented 11 years ago

<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE gourmetDoc>

Peach Coffee Cake II Cookin_Queen, HOMESCHOOLMUMMYX3, ALL RIGHTS RESERVED © 2012 Allrecipes.com Printed from Allrecipes.com 9/9/2012 http://allrecipes.com/Recipe-Tools/Print/Recipe.aspx?RecipeID=87959&origin=detail&&Servings=16 20 minutes 45 minutes 16 servings 1 cup white sugar sugar, white 1/2 cup butter, softened butter, softened 1 cup sour cream sour cream 1 teaspoon vanilla extract vanilla extract 2 eggs, lightly beaten eggs, lightly beaten 2 cups all-purpose flour flour, all purpose 1 1/2 teaspoons baking powder baking powder 1/2 teaspoon baking soda baking soda 1/2 teaspoon salt salt 4 cups peeled, pitted and sliced peaches peeled, pitted and sliced peaches 1/4 cup all-purpose flour flour, all purpose 1/4 cup white sugar sugar, white 1/4 cup chopped pecans chopped pecans 1 teaspoon ground cinnamon cinnamon, ground 3 tablespoons cold butter butter, cold 1. Preheat oven to 325 degrees F (165 degrees C). Grease and flour a 9x13 inch baking pan. 2. In a large bowl, cream together 1 cup sugar and 1/2 cup butter. Beat in sour cream, vanilla, and eggs. Mix in flour, baking powder, baking soda, and salt. Spread 1/2 the batter into the baking pan. Layer with peaches, and top with remaining batter. 3. In a small bowl, mix 1/4 cup flour, 1/4 cup sugar, pecans, and cinnamon. Cut in cold butter until the mixture resembles coarse crumbs. Sprinkle evenly over the batter. 4. Bake 45 minutes in the preheated oven, or until a knife inserted in the center comes out clean. Ready In: 1 Hour 5 Minutes "This is a great recipe I came up with when our white peach tree yielded sooo many peaches I had to figure out many ways to use them.... Even my kids love this one -- they will eat it all day...."
mattcan commented 11 years ago

Thanks @ockham, it looks like all the XML disappeared though. Do you think you could put it on pastebin so that I don't miss anything? Thanks again!

ockham commented 11 years ago

There you go: https://gist.github.com/ockham/5312719