View Single Post
Old 10-31-2023, 05:51 PM   #47
jm289765
Enthusiast
jm289765 began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Jan 2023
Device: calibre
Quote:
Originally Posted by lidans View Post
is it possible some how to use this plugin to send all my library data to obsidian?
(even if no highlights)
H2O doesn't have a way to send all of your library data to Obsidian.

It could be modified to send data from books instead of from highlights by giving highlight_sender.HighlightSender a list of books or the entire library instead of a list of annotations. But you would have to make a lot of other changes to make that work. And you would lose the highlight-specific formatting options.

If you want to try modifying the plugin, these two functions might be good places to start:

The function that manages the highlight sending process: highlight_sender.HighlightSender.send()
https://github.com/jm289765/highligh...r.py#L703-L727

A helper function that all the "Send Highlights" buttons use for setting up a HighlightSender and sending highlights:
https://github.com/jm289765/highligh...actions.py#L27
jm289765 is offline   Reply With Quote