Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Readers > Kobo Reader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-25-2014, 12:42 PM   #1
Vanguard3000
Enthusiast
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 28
Karma: 474196
Join Date: Jan 2011
Location: Ottawa
Device: Kobo Wireless
Remove all annotations

Hi, all.

I tend to make a lot of highlights and annotations as I read, to mark typos or poorly formatted parts of the book. Depending on the quality of the ebook, I might end up with 10+ pages of highlights by the time I get around to fixing them in Sigil, and its a real pain to have to remove them afterward one by one.

I've also noticed that I can remove a book from my Kobo, and when it is re-added to my library after fixing, the highlights and annotations will still be listed, even if the highlighted block of text no longer exists! I assume the kobo simply remembers a position in the ebook and saves the text to the annotation list, but I don't know where it is this information is saved.

Is there a file on the Kobo that stores the annotations and highlights, that I can remove or edit to quickly get rid of all (or as many as I'd like) highliughts and annotations for a book?

Also, out of curiosity, how are the annotations ordered in the ebook? I find that if I remove one highlight within the ebook, the rest will "shuffle" seemingly at random. I would have thought they'd be ordered as they appear in the book, or by date of the highlight, but it doesn't seem that way.

Thanks in advance for any help.
Vanguard3000 is offline   Reply With Quote
Old 03-25-2014, 01:46 PM   #2
Sharkus
Addict
Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.Sharkus ought to be getting tired of karma fortunes by now.
 
Sharkus's Avatar
 
Posts: 385
Karma: 2114130
Join Date: Jun 2010
Location: Toronto
Device: Kobo, Kobo WiFi, Kobo Touch, Kobo Aura, Kobo iOS Application
I'm not aware of a feature in any of the devices / apps that allows you to delete all annotations. I can say for certain the iOS app does not have this and you need to delete them one by one manually.

Annotations are one of the items that are synced, which is why when you delete and add the book in they are still there.

On an eReader I'd assume the data is in the database, and could possibly be edited, but I'm unsure wether those changes would be synced back up to the server, ie; removing the information during the sync. Thus editing the database would be ok until you next sync, then it downloads the info from the server.

For the ordering question, not sure how it's done on the eReaders, but on iOS if you delete an annotation then the rest do remain in the correct order, which is by chapter.

I hope that helps.
Sharkus is offline   Reply With Quote
Old 03-25-2014, 08:28 PM   #3
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 1,382
Karma: 2667033
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
For sideloaded epubs there is a file for each opened book in the Digital Editions/Annotations directory which stays on the device after the book is deleted. I don't know much about it as I don't make annotations, but I think to completely remove all traces of a book after it is deleted you would also need to delete all files under the Digital Editions/Annotations and Digital Editions/Manifest directories that have the same base name as the deleted .epub.
GeoffR is offline   Reply With Quote
Old 03-25-2014, 08:56 PM   #4
Ripplinger
350 Hoarder
Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.Ripplinger ought to be getting tired of karma fortunes by now.
 
Ripplinger's Avatar
 
Posts: 2,152
Karma: 2264035
Join Date: Dec 2010
Location: Midwest USA
Device: Sony PRS-350: 3 Silver, 2 Blue!; Kobo Glo
One settings to remove all annotations would be great since when you delete a book, it leaves all the annotations, even if you ever just bookmarked a page.

What I do is periodically check the annotations and manually delete books I've already deleted when I'm adding new books or charging the Glo.
Ripplinger is offline   Reply With Quote
Old 03-26-2014, 01:19 AM   #5
Vanguard3000
Enthusiast
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 28
Karma: 474196
Join Date: Jan 2011
Location: Ottawa
Device: Kobo Wireless
I should specify that I am using sideloaded epubs as opposed to those synched from Kobo Desktop (or Calibre).

Thanks for your replies so far. I've checked the annotations folder, and it does have a file which displays the annotations when opened in Wordpad. However, after deleting the file (and its same-named file in the "Manifest" folder) when i open the book on the ereader, the annotations are still there.

I've looked through the folder structure of the ereader, and found many empty "junk" folders, but nothing that could hold additional annotation info. Is it possible the information could be stored in some inaccessible area of the ereader's drive (like the "root" folder of an unrooted phone)?
Vanguard3000 is offline   Reply With Quote
Old 03-26-2014, 01:32 AM   #6
GeoffR
Wizard
GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.GeoffR ought to be getting tired of karma fortunes by now.
 
GeoffR's Avatar
 
Posts: 1,382
Karma: 2667033
Join Date: Nov 2012
Location: New Zealand
Device: Kobo Glo
Quote:
Originally Posted by Vanguard3000 View Post
Thanks for your replies so far. I've checked the annotations folder, and it does have a file which displays the annotations when opened in Wordpad. However, after deleting the file (and its same-named file in the "Manifest" folder) when i open the book on the ereader, the annotations are still there.
My understanding is that the annotations are stored in the device's database as well as in the Digital Editions/Annotations directory, so to completely remove the anotations you need to either delete the book from the device or delete the annotations individually from within the book, as well as deleting the relevant file in the Annotations directory. I.e. if the book is still on the device then the annotations will be loaded from the database even if the file in the Annotations directory is missing.
GeoffR is offline   Reply With Quote
Old 03-26-2014, 02:57 AM   #7
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,178
Karma: 4850112
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
As the others have said, there is no way on the device to remove all the annotations for a book in one go. My practice when doing what you are doing is to remove them as I fix the problem. And in case you don't know, if you press on the highlight in the book, the menu will have a "Delete note" option to remove it.

As to ways to work around this, the annotations are stored in two places. For all books, they are stored in the database table "Bookmarks". For epubs and PDFs on the main memory, they are also in an annotations file.

For purchased kepubs, as Sharkus said, the annotations are synced to the server. I don't think I have ever looked at what happened when I deleted one of these, but my guess would be the annotations would stay on the device until the next sync. Then they would be removed.

For epubs on the SD card, the annotations are only in the database. Deleting the rows from the database will remove the annotations. Doing this doesn't update the tile that shows how many annotations there are for the book. These counts are stored in a way I wouldn't fiddle with. Opening and closing the book will fix them

For epubs on the main memory, it is a bit trickier. With older firmware, if the annotations file exists, the contents will replace the the annotations in the Bookmarks table. With the current firmware, it seems to merge them. A very quick tests seems to show if the annotation is in the table but not in the file, it removes the annotation. If it is in both, it uses whichever has the latest timestamp. The latter is only really used if you change or delete an annotation when opening the annotations list from the home screen.

For epubs on the main memory, I will delete the annotations file as reading them causes some problems. The annotations are fine, but the list doesn't show them in the correct chapters. But, clearing the annotations out of the file would mean the next time the epub is opened, the annotations would be removed. The following is an example of a file with no annotations.

Code:
<annotationSet xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns="http://ns.adobe.com/digitaleditions/annotations">
  <publication>
    <dc:identifier></dc:identifier>
    <dc:title>Summer Knight</dc:title>
    <dc:creator>Jim Butcher</dc:creator>
    <dc:publisher></dc:publisher>
  </publication>
</annotationSet>
If there are annotations, they will be wrapped in "<annotation>" "</annotation>" tags. Removing these will remove the annotation when the book is opened.

The annotations returning after deleting a sideloaded book is because the annotations file is not deleted.
davidfor is offline   Reply With Quote
Old 03-27-2014, 02:30 AM   #8
Vanguard3000
Enthusiast
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 28
Karma: 474196
Join Date: Jan 2011
Location: Ottawa
Device: Kobo Wireless
I've deleted all of the .annot filles in the annotations folder. Are you saying there's another copy of this file in the Kobo's firmware? is there any way to access this?
Vanguard3000 is offline   Reply With Quote
Old 03-27-2014, 02:39 AM   #9
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 5,178
Karma: 4850112
Join Date: Jul 2011
Location: Australia
Device: Kobo Touch, Kobo Glo
There is a copy in the internal database. It is an SQLite database and is in ".kobo/KoboReader.sqlite". The table of interest is called "Bookmark". Deleting all the rows in the table plus deleting the annotations files will remove all the annotations on the device.

A little bit better would be to set the value of the column "Hidden" to "true". When the book is next opened, the annotations will be removed from the file and the database. And if you are reading purchased kepubs, they will be deleted at the next sync.
davidfor is offline   Reply With Quote
Old 03-30-2014, 06:31 AM   #10
Vanguard3000
Enthusiast
Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.Vanguard3000 ought to be getting tired of karma fortunes by now.
 
Posts: 28
Karma: 474196
Join Date: Jan 2011
Location: Ottawa
Device: Kobo Wireless
Booyah. Worked like a dream. Thanks, everyone for your help. This will speed up my OCD-fuelled epub editing quite a bit.
Vanguard3000 is offline   Reply With Quote
Reply

Tags
annotations, ebook, glo, highlights, kobo

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Annotations vsh1ft Onyx Boox 1 01-04-2012 10:38 PM
Pdf annotations and Kindle annotations BranMakMorn Calibre 0 06-25-2011 02:42 PM
Classic My annotations are gone cypresstwist Barnes & Noble NOOK 0 09-26-2010 03:29 PM
Remove Books - Restoring Confirm to remove books Caffey Calibre 6 09-20-2010 09:23 AM
RFE: Remove remove tags in bulk edit magphil Calibre 0 08-11-2009 10:37 AM


All times are GMT -4. The time now is 04:29 PM.


MobileRead.com is a privately owned, operated and funded community.