Thread: Robustness
View Single Post
Old 03-29-2012, 02:00 PM   #17
Keroberos
Zealot
Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.Keroberos ought to be getting tired of karma fortunes by now.
 
Keroberos's Avatar
 
Posts: 128
Karma: 238654
Join Date: Aug 2009
Device: Kobo Mini (4GB), Nook Classic wi-fi, iPod Touch (Bluefire Reader)
Seems like it would be rather difficult to create an autosave feature without removing the requirement that the epub be well formed before saving, it would be annoying to have Sigil constantly throw up error messages about being malformed. The only way around that would be to use some form of temporary file that changes are written to incrementally and can be used to restore after a crash (not that it crashes very often in my experience). I don't need an autosave feature since I already have one (hitting "ctrl+s" every so often, especially before a major find/replace or splitting a large xhtml file).

Quote:
So you can concentrate on your work. I was writing auto saves 20 years ago.
Saving my work is part of my work, I would no more trust an autosave routine than I do any other automated process (not at all).

Quote:
Of course it is possible to do an HTML save if you have time to highlight endless pages of it and save it to a file. Autosave IS needed.
Actually it's pretty easy. Save as epub, In the Book Browser pane select all the xhtml files in the text folder, right-click, select merge, switch to code view, copy and paste the xhtml into a text editor, save as xhtml, close Sigil discarding the changes.
Keroberos is offline   Reply With Quote