03-21-2024, 03:10 PM | #31 |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
@Cyril if you want you can send me the problematic book privately and I can try to take a look.
|
03-21-2024, 04:33 PM | #32 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
|
03-23-2024, 03:05 PM | #33 |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Thanks for sending the book over. Unfortunately I am running into troubles extracting the chapter titles for your book, as they are non-existent for a specific highlighted section. Would you mind trying the attached script and see if that at least gives you adequate results for this and other books?
Last edited by qkqw; 03-23-2024 at 03:19 PM. |
03-23-2024, 06:06 PM | #34 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Thanks for your work. The script you send me returns way way more bookmarks.
When there is no Chapter Title, the script displays like this : 2024-03-23 17:16:16 \ OEBPS/text00057.html Otherwise : 2024-03-23 19:46:59 \ L’avenir se décrète-t-il ? I tweaked it to sort by DateCreated so i can find the last ones. I keep on learning and trying to understand what your script does. Its fascinating. Thanks again ! |
03-23-2024, 06:42 PM | #35 |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Yeah, unfortunately the book you sent me does not seem to have chapters for the sections you have highlights. Therefore the Kobo database does only seem to have an internal title for the chapter, which is something like the string you mentioned.
|
03-23-2024, 07:27 PM | #36 |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
@Cyril, would you mind testing the attached script? I've tried to remove the cryptic string and if it works for you, I'll create a new release.
|
03-24-2024, 05:10 AM | #37 | |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Quote:
Is there a way to choose (in the first part of the script) how many bookmarks, highlight the script has to be extracted and written on the markdown ? Right now, I can see 60 bookmarks extracted, coming from 4 books that i am reading. |
|
03-24-2024, 06:36 AM | #38 |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
Currently it outputs all highlights. If you want to limit then, you'd have to add a LIMIT 10 or whatever you need to the query.
|
03-24-2024, 07:19 AM | #39 | |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Quote:
Could you tell me, please, where to put the "LIMIT 10," ? |
|
03-24-2024, 07:34 AM | #40 | |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
Quote:
Thanks a lot for you kindness ! |
|
03-26-2024, 08:51 AM | #41 |
Connoisseur
Posts: 62
Karma: 143000
Join Date: Apr 2022
Device: Kobo Libra 2
|
I've simplified the query based on @Cyril's feedback and pushed a new release.
|
03-26-2024, 09:19 AM | #42 |
Enthusiast
Posts: 46
Karma: 10
Join Date: Oct 2019
Location: France
Device: Clara HD
|
|
05-10-2024, 09:09 AM | #43 |
Absentminded Reader
Posts: 1,286
Karma: 6916983
Join Date: Apr 2017
Device: Kobo Mini, Libra Colour & Elipsa; Kindle Paperwhite 3 & 4; iOS apps
|
How do you import the output files back to your Kobo? For example, if you've lost all your annotations due to a crash or hard reset, how do you reimport them into your new setup?
|
05-15-2024, 10:54 AM | #44 |
Resident Curmudgeon
Posts: 76,404
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
The solution would be to use Kobo Utilities to backup your database when you connect to to your calibre library. Then if you do have a problem with the database on your Kobo, you can restore the last database you backed up.
|
05-22-2024, 12:06 AM | #45 |
Connoisseur
Posts: 95
Karma: 3160
Join Date: Apr 2024
Device: none
|
Can this script be used to "save" annotations done on sideloaded PDF (not ePub) on a Libra Color?
If so, when it comes to restore these annotations, what is the procedure? I don't quite understand the steps hinted by JSWolf. The OP's post did not include any info on this part. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
import of annotations and reading progress | Percivale | Kobo Developer's Corner | 3 | 12-20-2017 09:21 PM |
Reading app with freehand annotations and cloud sync (Dropbox, Google Drive, ...) | sjvs | Reading and Management | 1 | 08-30-2013 04:18 PM |
Any way of exporting bookmarks in Shubooks? | robinson | Apple Devices | 4 | 03-31-2013 12:23 PM |
Importing/exporting bookmarks | riki | Library Management | 0 | 01-18-2012 11:25 AM |
Exporting Annotations | musemj6 | Kindle Developer's Corner | 0 | 12-03-2008 02:01 PM |