Problem
*Sigh*, the story... My 650 was hanging after start up and several resets didn't help. Well, being smart (well

) I backed up the "database\media" and the "Digital Editions\Annotations" folders. After doing a hard reset, I uploaded them again.
After the first start the reader obviously is doing some time consuming indexing. But for some reason the <annotation>-blocks in the ANNOT-files are deleted, only the <publication> block at the top is left unchanged.
Is there any other "master" file that keeps track of annotations? There must be a way to restore annotations, isn't there?
Solution
Assuming you have at least backed up the files in "Digital Editions\Annotations", it's pretty simple. For each annot-file:
Step 1: Open it in any text editor
Step 2: Remove any "sony:data" tag. Something like...
Quote:
<sony:data xmlns:sony="http://www.sony.com/xmlns/product/prs/adeannotations">
<sony:item name="identifier" value="prsID.2.highlight:76-1-0-T0VCUFMvVGV4dC9TZWN0aW9uMDAwNF9zcGxpdF8wMDEueGh0bW wjcG9pbnQoLzEvNC8xMTQvMS8xOjE1ODEpAA==-T0VCUFMvVGV4dC9TZWN0aW9uMDAwNF9zcGxpdF8wMDEueGh0bW wjcG9pbnQoLzEvNC8xMTQvMS8xOjE3MDQpAA==" />
<sony:identifier>PLEASE IGNORE</sony:identifier>
</sony:data>
|
Step 3: Save and replace file on the reader
The reader will rebuild all your (edited) notes after the next restart. This may take some time.
If you've got a good text editor that can do regular expression replacement for multiple files at once, it's even easier and takes just a few seconds. The following perl regular expression worked for me in Ultraedit:
Quote:
<sony:data(.+\n)*.+<\/sony:data>
|