Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 01-26-2021, 07:31 PM   #886
Atcold
Member
Atcold began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite
Red face Yay, it works! Now I can import this to Notion! :D

Quote:
Originally Posted by davidfor View Post
Yes, calibre version 5 uses Python 3. There are differences in the language and the plugins needed to be updated to handle this. A lot is backwardly compatible with Python 2 but some things need to be handled for each version. At the moment, I am maintaining compatibility with older calibre versions of calibre. I broke the compatibility with a change, and then broke everything fixing that.

We're talking about the buggy sorting, right? Can you expand a little (or link the diff)?

Quote:
So, in the attached beta I have change the way to get the list of books. […] It should be accurate as it uses a calibre search to get the books on the device that are in the library and then uses other calibre functions to get the path to the book. This should work better than the existing method. Unfortunately, I have no way to test it. I don't have a Kindle or a good way to simulate it. The code should be good, but, there might be something. Please run it and send me the debug lot to look at.
Awesome! I cannot see anything, but it works!
Click image for larger version

Name:	Screenshot 2021-01-26 at 19.23.46.png
Views:	1121
Size:	370.4 KB
ID:	184991
Log: tmp848au2i5.txt.zip
Atcold is offline   Reply With Quote
Old 01-26-2021, 09:11 PM   #887
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Atcold View Post
We're talking about the buggy sorting, right? Can you expand a little (or link the diff)?
In that particular case, I was talking about how the My Clippings.txt file is read. With the move to Python 3, strings, unicode, UTF etc are handled differently. Add that some My Clippings.txt files seem to have different formatting and at least one has unicode BOM characters in a location I wouldn't have expected them (but sort of make sense), I have been going back and forth on where and how to decode the file. I changed it to as part of the open of the file, but, that parameter is not part of the Python 2 file open. I put out a beta with that, it broke the plugin under calibre 4.x. When I fixed it, I only did half the job. It probably worked for calibre 4.x, but, for calibre 5.x, it would not have found read the My Clippings.txt file properly and would not have found any annotations. Which is part of what was happening for you.

I haven't checked these changes in. I generally only do that when I make the actual release. It's a bit lazy of me, but, it is the way I work. If you want to look at the code, it is in "ParseKindleMyClippingsTxt.py", method "FromFileName" and the start of "FromFileName"
Quote:
Awesome! I cannot see anything, but it works!
Attachment 184991
That looks good. But, it also says that you have only three books on the device that match to books in the library (have the green tick next to them). And the other five books that have annotations don't show as matched. Is that correct?

If so, you can fix this in the device view. Right-click (or whatever the equivalent on a MAC is) on an unmatched book and choose the "Match book to library" option. On the dialog that comes up, search for the book, select it and press OK to update the list. When finished matching them, right-click the device button and choose "Update cached metadata on device". This will update the metadata.calibre file on the device and calibre will match the book to the library in the future.
Quote:
Log: Attachment 184990
That's horrible. If you click the "Hide match status" it will use the default list colours and should be more readable. Someone did report this a few weeks ago and I said I wasn't interested. I thought the posted a version of the plugin that did something different with colour, but, it was removed before I had a chance to look at it. I don't know if it simply set colours that were better for dark-mode or did something else. I have to do something for colours in another plugin, so I might visit it here when I have done that.
davidfor is offline   Reply With Quote
Old 01-27-2021, 11:33 AM   #888
Atcold
Member
Atcold began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Jan 2021
Device: Kindle Paperwhite
Smile

Quote:
Originally Posted by davidfor View Post
[…] I put out a beta with that, it broke the plugin under calibre 4.x. When I fixed it, I only did half the job. It probably worked for calibre 4.x, but, for calibre 5.x, it would not have found read the My Clippings.txt file properly and would not have found any annotations. Which is part of what was happening for you.
So, what about the sorting bit? Haha

Quote:
I haven't checked these changes in.
Oh, I thought you were using git / GitHub.

Quote:
That looks good. […] Is that correct?
Yes. The others are Amazon's Kindle books, and their annotations can already be exported through Amazon's system.
I was trying to dump the annotations for Atomic Habits only, which I've sideloaded, and therefore wasn't showing up on Amazon's system. (I wonder if it would have shown in case I would have sent the book to my Kindle via email rather than USB. I guess we'll never know.)

Quote:
That's horrible.
I agree.

Quote:
Someone did report this a few weeks ago and I said I wasn't interested.
I saw that. But I tried to nudge you again anyways.

Quote:
I thought they posted a version of the plugin that did something different with colour, but, it was removed before I had a chance to look at it.
I can still see it. ↓

Quote:
Originally Posted by davidfor View Post
Quote:
Originally Posted by thiago.eec View Post
And just so you know: colors are not well suited for Dark Mode, as seen in the attachment.
Sorry, it's not really a problem I am interested in fixing. It either means coming up with a colour combination that always works, adding code to use different colours depending on the styles, or code to configure the colour choices.
Quote:
I don't know if it simply set colours that were better for dark-mode or did something else.
This is the default on my machine (which is set to work in a dark mode).

Quote:
I have to do something for colours in another plugin, so I might visit it here when I have done that.
Nice. Let me know if I can help. (Btw, the website does not notify me about updates, so I'm not sure how to be responsive.)
Also, what other plugins are you involved in? I'm curious now
Atcold is offline   Reply With Quote
Old 01-27-2021, 10:19 PM   #889
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by Atcold View Post
So, what about the sorting bit? Haha
The answer to that involves a significant number of four letter words
Quote:
Oh, I thought you were using git / GitHub.
The source is on Github. I'm just lazy and don't check it in until I am ready. Generally, it is just me, so I haven't bothered. The source is in the plugin, so people who want to can see the beta code.
Quote:


Yes. The others are Amazon's Kindle books, and their annotations can already be exported through Amazon's system.
I was trying to dump the annotations for Atomic Habits only, which I've sideloaded, and therefore wasn't showing up on Amazon's system. (I wonder if it would have shown in case I would have sent the book to my Kindle via email rather than USB. I guess we'll never know.)
If you had emailed it, it probably would have worked. The issue was in what calibre calculated the file name to be vs what it actually was. Calibre could use a generate name for Windows, MACs and Linux as the exact path is different and length of the path affects the filename generation.
Quote:
I agree.



I saw that. But I tried to nudge you again anyways.



I can still see it. ↓
For some reason, those screenshots didn't look as bad as yours did. But, I meant they posted a version of the plugin with some changes. I planned to look at what they did, but, they removed it before I got around to it.

Quote:

This is the default on my machine (which is set to work in a dark mode).



Nice. Let me know if I can help. (Btw, the website does not notify me about updates, so I'm not sure how to be responsive.)
Also, what other plugins are you involved in? I'm curious now
Far to many The main one is the Kobo Utilities. And I'm involved with all the other Kobo related plugins, though someone else owns them. After that, most are plugins created by @kiwidude who is no longer here maintaining his plugins. Several people are doing this based on what they what they use. Count Pages and Goodreads Sync are probably the main ones, but, I have updated several others to keep them working. I inherited the Annotations plugin when the original developer retired. Plus I look after the KoboTouch driver in calibre and occasionally other changes when I see a bug or something I want changed and think Kovid will agree.
davidfor is offline   Reply With Quote
Old 01-28-2021, 07:38 PM   #890
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
I have managed to make the plugin work, with the following criteria. If the book is passed through Cable from Calibre the file is housed in documents and if in that book we make a note or highlight something the complement takes it. On the other hand, if we send a book to the kindle by mail, as is my case, it places it in the Documents / Downloads / Items01 folder and from there it does not record anything.
Attached Thumbnails
Click image for larger version

Name:	1.png
Views:	629
Size:	446.4 KB
ID:	185045  
dunhill is offline   Reply With Quote
Old 01-28-2021, 11:08 PM   #891
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by dunhill View Post
I have managed to make the plugin work, with the following criteria. If the book is passed through Cable from Calibre the file is housed in documents and if in that book we make a note or highlight something the complement takes it. On the other hand, if we send a book to the kindle by mail, as is my case, it places it in the Documents / Downloads / Items01 folder and from there it does not record anything.
Is that with the latest beta? With that, if the book on the device is matched to a book in the library, it won't matter where it is on the device. To that, it any books in the "Documents" directory, but, doesn't look at any sub-directories. Calibre should be searching these directories looking for books and trying to match them to the library. Though, I don't have a Kindle, so I don't know for sure if this works.

A complication to this is that the title and authors for the entries in the "My Clippings.txt" file are from the metadata in the books. When the plugin tries to match to the books, it is using these details. That could give some errors.

If the above doesn't explain what you are seeing, I need to see a debug log. Turn the debug option on in the plugin's configuration and run calibre in debug mode. Post/send the log and the "My Clippings.txt" file with some details of what is missing. Or you think is wrong.
davidfor is offline   Reply With Quote
Old 01-29-2021, 04:25 PM   #892
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Quote:
Originally Posted by davidfor View Post
Is that with the latest beta? With that, if the book on the device is matched to a book in the library, it won't matter where it is on the device. To that, it any books in the "Documents" directory, but, doesn't look at any sub-directories. Calibre should be searching these directories looking for books and trying to match them to the library. Though, I don't have a Kindle, so I don't know for sure if this works.

A complication to this is that the title and authors for the entries in the "My Clippings.txt" file are from the metadata in the books. When the plugin tries to match to the books, it is using these details. That could give some errors.

If the above doesn't explain what you are seeing, I need to see a debug log. Turn the debug option on in the plugin's configuration and run calibre in debug mode. Post/send the log and the "My Clippings.txt" file with some details of what is missing. Or you think is wrong.

Plugin version 1.14.9
Calibre 5.10.1
Here I send you the txt files, two of which are My Clippings.txt from where I could get the notes and another My notes.txt where the notes from another book marked on the kindle are.
The kindle is with Spanish language.
And in the image the books that Calibre recognizes in the device.
Attached Thumbnails
Click image for larger version

Name:	9.png
Views:	574
Size:	70.8 KB
ID:	185080  
Attached Files
File Type: txt My Clippings.txt (469 Bytes, 368 views)
File Type: txt Mi notas.txt (298 Bytes, 363 views)
File Type: txt tmplsxo_up6.txt (46.0 KB, 371 views)

Last edited by dunhill; 01-29-2021 at 05:09 PM.
dunhill is offline   Reply With Quote
Old 01-29-2021, 11:14 PM   #893
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by dunhill View Post
Plugin version 1.14.9
Calibre 5.10.1
Here I send you the txt files, two of which are My Clippings.txt from where I could get the notes and another My notes.txt where the notes from another book marked on the kindle are.
The kindle is with Spanish language.
And in the image the books that Calibre recognizes in the device.
Looking at these files:

"My Clippings.txt"

That has annotations or one book titles "56" by "Jorge Lanata". In it, the start of each has "La" instead of either "Mi" or "Tu". You reported a problem a while ago and I added "La subrayado" for annotations, but, I did not know if the other two should be added. The attached beta has "La nota" for notes and "La marcador" for bookmarks. Your file doesn't have an example bookmark, but, it is a fairly safe guess.

A book with just a number for the title is fairly unusual. And it is a very short title. It is possible this is not being handled properly. Could you test another book?

"Mi notas.txt"

This has the same format as the "My Clippings.txt" file. Is this a copy you made or did the Kindle produced it for those annotations? I have had a report of a different name for Kindles set to German and the plugin looks or that. But, it is only processing one file, the first of 'My Clippings.txt' and 'Meine Clippings.txt' that is found. I can add "Mi notas.txt" to this, but, I need to know something about when it is used.

The debug log

Unfortunately, there isn't anything useful in it. It doesn't look like a device was connected or that the annotations were fetched. I need the debug log fro when the annotations are fetched to see what is happening.

The log does show a lot of other errors. It looks like you have a templates using columns "#estado" and "#gr10>2s" that do not exist. And a few plugins that probably haven't been updated for Python 3.
Attached Files
File Type: zip Annotations-beta.zip (674.1 KB, 1110 views)
davidfor is offline   Reply With Quote
Old 01-30-2021, 05:44 AM   #894
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Thank you for the return and your time. I will do the relevant tests and comment.
dunhill is offline   Reply With Quote
Old 01-30-2021, 03:17 PM   #895
chavoosh
Junior Member
chavoosh began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jan 2021
Device: Kindle Oasis
Hi everyone,

I just bought a Kindle Oasis and I am trying to test "Annotation" plugin. I sent a book to my Kindle via Calibre (USB), highlighted a text, and then tried to fetch the annotation but the Annotation plugin said: "No annotated books found on your device."

How can I resolve this issue?
P.S. I tried both AZW3 and MOBI formats
chavoosh is offline   Reply With Quote
Old 01-30-2021, 08:35 PM   #896
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by chavoosh View Post
Hi everyone,

I just bought a Kindle Oasis and I am trying to test "Annotation" plugin. I sent a book to my Kindle via Calibre (USB), highlighted a text, and then tried to fetch the annotation but the Annotation plugin said: "No annotated books found on your device."

How can I resolve this issue?
P.S. I tried both AZW3 and MOBI formats
Is this with the released version? If not, try the beta posted above. The beta's include fixes for Kindles especially related to KFX books.

If you are using the beta, I need some details. A debug log from calibre with the debug option in the plugin turned on. Plus the "My Clippings.txt" from from the device. Either post them here or upload them and send me a PM with the link to the files.
davidfor is offline   Reply With Quote
Old 01-31-2021, 01:16 PM   #897
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 893
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
@davidfor
Apparently this latest beta solved the export problems, of the books added through the cable and through the mail, the marks and notes are added to the file My Clippings.txt.
My plugins are all updated to the latest version so I will check the errors that you tell me. Thank you very much for all your answers and I will see to complete the translation of the plugin into Spanish, which in my opinion is 50%.
I leave the debug file.
Attached Thumbnails
Click image for larger version

Name:	1.jpg
Views:	599
Size:	79.7 KB
ID:	185111   Click image for larger version

Name:	2.jpg
Views:	603
Size:	60.8 KB
ID:	185112   Click image for larger version

Name:	3.png
Views:	607
Size:	50.8 KB
ID:	185113   Click image for larger version

Name:	4.png
Views:	589
Size:	43.5 KB
ID:	185114   Click image for larger version

Name:	6.png
Views:	598
Size:	84.4 KB
ID:	185115   Click image for larger version

Name:	7.png
Views:	578
Size:	92.2 KB
ID:	185116   Click image for larger version

Name:	8.png
Views:	589
Size:	327.5 KB
ID:	185117   Click image for larger version

Name:	9.png
Views:	581
Size:	90.6 KB
ID:	185118  
Attached Files
File Type: txt tmp_1ms_u59.txt (101.5 KB, 354 views)
dunhill is offline   Reply With Quote
Old 02-03-2021, 03:47 PM   #898
tothemoon
Junior Member
tothemoon began at the beginning.
 
tothemoon's Avatar
 
Posts: 5
Karma: 10
Join Date: Feb 2021
Device: Kindle Oasis 10th
Muddling through with a Kindle Oasis but the beta from year's end works a dream!

I'm here to inquire if two things are possible with note formatting (excuse any stupidity):

1. I would like to get rid of all location markers in the annotations (I only want text and notes). This doesn't seem possible in the 'Modify Appearance' dialogue. Is it possible?

2. I'd like to prepend a text string before every 'Note' in the annotations? I played around with the CSS annotation element for Notes but couldn't manage it.
tothemoon is offline   Reply With Quote
Old 02-03-2021, 07:16 PM   #899
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: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by tothemoon View Post
Muddling through with a Kindle Oasis but the beta from year's end works a dream!

I'm here to inquire if two things are possible with note formatting (excuse any stupidity):

1. I would like to get rid of all location markers in the annotations (I only want text and notes). This doesn't seem possible in the 'Modify Appearance' dialogue. Is it possible?
You can try putting "display:none;" in the CSS for this. I don't know if that will work or not.

Not including it is a problem as contains information that is used when updating the annotation.
Quote:
2. I'd like to prepend a text string before every 'Note' in the annotations? I played around with the CSS annotation element for Notes but couldn't manage it.
Do you mean you want something before each annotation if it is a "note" type? Or a text to indicate where the actual note starts to differentiate it from the highlighted text? Neither is possible at the moment and would need development (someway to configure it and then the code to handle it).

If it is the latter, the CSS is used to make the note and highlight part of the annotations different. I think I'd find extra words to be intrusive and not actually make things clearer. Exactly how to format it (bold, italics, size, same line? Hanging indent?) would also need to be thought about. And how much to make configurable. Or maybe a template that can be configured somewhere. I'm not sure of the best way, or if it is a good idea overall.
davidfor is offline   Reply With Quote
Old 02-08-2021, 07:14 AM   #900
tothemoon
Junior Member
tothemoon began at the beginning.
 
tothemoon's Avatar
 
Posts: 5
Karma: 10
Join Date: Feb 2021
Device: Kindle Oasis 10th
Quote:
Originally Posted by davidfor View Post
You can try putting "display:none;" in the CSS for this. I don't know if that will work or not.

Not including it is a problem as contains information that is used when updating the annotation.


Do you mean you want something before each annotation if it is a "note" type? Or a text to indicate where the actual note starts to differentiate it from the highlighted text? Neither is possible at the moment and would need development (someway to configure it and then the code to handle it).

If it is the latter, the CSS is used to make the note and highlight part of the annotations different. I think I'd find extra words to be intrusive and not actually make things clearer. Exactly how to format it (bold, italics, size, same line? Hanging indent?) would also need to be thought about. And how much to make configurable. Or maybe a template that can be configured somewhere. I'm not sure of the best way, or if it is a good idea overall.
Quote:
Originally Posted by davidfor View Post
You can try putting "display:none;" in the CSS for this. I don't know if that will work or not.

Not including it is a problem as contains information that is used when updating the annotation.
Is a 'clean copy' mode a possibility? Where just the text content can be exported (clipboard or .txt or whatever) and not interfere with any of the location data.

I'm formatting the notes in another application, I suspect it's a pretty regular use case. Given that clipping.io is now a paid service, your is the only way to do this for free. So hopefully more users!

[Current workaround is to use a unique string in the 'Timestamp format' field, which allows you to Find All in a text editor and get rid of the location markers]

Quote:
Originally Posted by davidfor View Post
Do you mean you want something before each annotation if it is a "note" type? Or a text to indicate where the actual note starts to differentiate it from the highlighted text? Neither is possible at the moment and would need development (someway to configure it and then the code to handle it).
Any textual marker to mark the start of a note would help! Just like the 'Timestamp format' allows, since it would enable post processing through a text editor/macros.

To bring the formatting options inside the plugin does open up some questions, and would be a luxury if the above was possible.
The CSS gets stripped in a text editor is my problem, but I understand mine might be a fringe case.
tothemoon is offline   Reply With Quote
Reply

Tags
sampleexportingapp


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 523 07-15-2025 06:45 PM
[GUI Plugin] Open With kiwidude Plugins 404 02-21-2025 05:42 AM
[GUI Plugin] Annotations (closed) GRiker Plugins 68 06-17-2014 06:11 AM
[GUI Plugin] KiNotes -axel- Plugins 0 07-14-2013 06:39 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 02:48 PM.


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