On Tuesday, April 18, 2017 at 2:03:14 PM UTC-7, Douglas Counts wrote: > > Simply importing the tiddlers into a new empty wiki will fix this. The > edits done before your last save though will be gone because those were not > saved within the file but within the browser's memory.After downloading a > new "empty.html" TiddlyWiki from the website, open the empty TW and go to > its Tools > Import and select your damaged file. You will see all your > tiddlers listed there. Uncheck any that you don't want to be > imported, then do the import and save. Done....... >
The question is about TW *Classic*, so downloading a new TW5 empty.html won't help. To download a new *Classic* empty.html, go to http://classic.tiddlywiki.com and then click the green "download" button. You can then try importing the damaged file into the freshly downloaded empty, by using the Backstage>Import command. However, importing a damaged TWClassic file into an empty TWClassic typically only works for minor file corruption problems, and may not work if the storeArea of the source file has been seriously corrupted in some way. Fortunately, all TW files are stored as plain text so, as a worst case, you can always open the file using a simple text editor and "rescue" the damaged data. If you search in for the text, "storeArea", you should be able to find the beginning of the tiddler data within the file. Each tiddler is defined using separate <div>...</div> blocks within the storeArea, where the properties of each <div> are the fields of the tiddler (except for the text content), and the inside of the div holds the text content (wiki syntax source) for the tiddler. Once you find the desired tiddler defintions, you can then use copy/paste to transfer the content into new tiddlers created in a fresh empty.html. Then, hand-edit each reconstructed tiddler to fix up any corrupt content (sometimes Unicode characters are mangled in the copy/paste process). Of course, this can be very tedious if there's been lots of corruption, but if your information is really vital, it *is* still possible to reconstruct it in this manner. hope this helps, -e Eric Shulman TiddlyTools: "Small Tools for Big Ideas" (tm) InsideTiddlyWiki: The Missing Manuals -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/0fa9dd3f-a2b0-4cc6-a38f-28edd0b8e6ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

