chenyanming / calibredb.el

Emacs calibre client - An Ebook Management Solution in Emacs.
GNU General Public License v3.0
318 stars 16 forks source link

Can this library support the url `calibre:` protocol? #37

Closed iT-Boyer closed 3 years ago

iT-Boyer commented 3 years ago

Calibre 5.9.0 version supports URI to jump to specific highlights and notes: [[calibre://view-book/hex-43616c69627265e4b9a6e5ba93/55/AZW3?open_at=epubcfi%28/36/2/4/90/1%3A0%29][2021/3/22 2:13 PM]]

[[calibre://view-book/_hex_-43616c69627265e4b9a6e5ba93/55/AZW3?open_at=epubcfi%28/36/2/4/90/1%3A0%29][2021/3/22 2:13 PM]]

Can this library support the url calibre: protocol?

chenyanming commented 3 years ago

Do you mean org link? Org link is supported. Please check README.

iT-Boyer commented 3 years ago

Do you mean org link? Org link is supported. Please check README. Calibre 5.9.0 版本带来了一个大杀器,支持 URI 跳转到具体的高亮以及笔记处,例如通过浏览器访问:calibre://view-book/...能够直接打开书籍的制定的高亮出。 我想是否可以在org-mode中添加[[calibre://url][描述]]link格式,实现同样的效果?

chenyanming commented 3 years ago

I guess this is only URL link, org should support it natively (Not tested, correct me if I am wrong).

https://manual.calibre-ebook.com/url_scheme.html

iT-Boyer commented 3 years ago

thanks. I added the access calibre:URI protocol, refer to the official document: https://orgmode.org/manual/Adding-Hyperlink-Types.html#Adding-Hyperlink-Types

this me: https://github.com/iT-Boyer/ol-calibre.el