Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 12-19-2021, 08:57 AM   #1
jeju2
Junior Member
jeju2 began at the beginning.
 
jeju2's Avatar
 
Posts: 3
Karma: 10
Join Date: Dec 2021
Device: none
How can I send the viewer's annotation/highlight to an epub file?

I have a de-DRM epub file.
I underline impressive sentences while reading, and I am sad that many programs do not save this underline in an epub file.

What I'm saying is that the viewer program itself stores underlines, but this pub file does not store underlines.
Even if you underline it in PC calibre, there is no underline if you send the file to the mobile phone reader. Because the epub file remains the same.
It's possible to change the html code one by one in sigil(or calibre editter), but It takes too much time.
Is there any way to send the underlined line created while reading with calibre (or another e-book viewer) to the html code of the epub file?
jeju2 is offline   Reply With Quote
Old 12-19-2021, 10:13 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,253
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The viewer does store highlights in th epub files, unless you told it not to in the viewer preferences. The problem is you need a reader on the mobile device that nderstands those stored highlights. Your best bet is the calibre content server that allows you to read in the browser itself on any device and syncs between all instances automatically.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-19-2021, 02:55 PM   #3
jeju2
Junior Member
jeju2 began at the beginning.
 
jeju2's Avatar
 
Posts: 3
Karma: 10
Join Date: Dec 2021
Device: none
Quote:
Originally Posted by kovidgoyal View Post
The viewer does store highlights in th epub files, unless you told it not to in the viewer preferences. The problem is you need a reader on the mobile device that nderstands those stored highlights. Your best bet is the calibre content server that allows you to read in the browser itself on any device and syncs between all instances automatically.
Thank you for your answer. you are genius.
But the gist of my question is not "to see the same highlights on any device".
It is what I want to "change the file itself" so that I can also read annotations offline.

As you said, all viewers store user-generated annotations in separate storage.
But I don't know where it is. And I don't know how to combine it with my own epub file.


Imagine that the following sentence is my epub file. And [ ] is the highlight.
All children, [except one], grow up


Right click on the ebook in the caliber home, view -> Annotation browse->export all selected menu exists.
The function allows me to save the highlights I marked in the viewer in plaintext, markdown format. But this is not what I wanted. Because the function stores only [ exept one ].

Ultimately, I want to be able to change the html (CSS) code of my own epub file.


For example,
<p>All children, except one, grow up</p>
→ <p>All children, <span style="background-color:#FF00DD; color:#fff;">except one</span>, grow up</p>

Did you understand? As mentioned earlier, it is too cumbersome to designate one by one background color at sigil. Find a function (or plug-in) that can automatically apply the highlights displayed in the viewer to the epub. If possible in a pc or android environment, it is okay not necessarily calibre.
jeju2 is offline   Reply With Quote
Old 12-19-2021, 09:10 PM   #4
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
There isn't anything to do that. Annotations in most formats are separate to the actual book. And there is no real interchange of annotations between different ereader apps/devices.

I haven't seen anything like what you are suggesting. It would be possible, to say make a footnote out of the annotation, but, I have never heard of a way to automate it. Maybe someone is willing to write a plugin to do it.
davidfor is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
extract or export annotation or highlight from personal PDF kindle jonie Library Management 7 06-29-2018 01:40 AM
Updating books with highlight and annotation Julius Caesar Amazon Kindle 6 08-18-2015 10:18 AM
Does Calibre preservation of annotation, bookmark, highlight work w/ Paperwhite? Julius Caesar Amazon Kindle 3 08-26-2013 11:49 AM
Glo Highlight/Annotation compatibility Kobo/Calibre/Adobe Acrobat Pro kobokobe Kobo Reader 8 05-19-2013 08:02 PM
Send epub to Kindle but don't keep the converted file? Toxeus Library Management 5 10-03-2012 08:25 PM


All times are GMT -4. The time now is 02:37 AM.


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