Bug 450192 - drag and drop: epub format support
Summary: drag and drop: epub format support
Status: RESOLVED FIXED
Alias: None
Product: tellico
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Microsoft Windows Microsoft Windows
: NOR wishlist
Target Milestone: ---
Assignee: Robby Stephenson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-14 02:51 UTC by Jessica
Modified: 2023-03-10 02:41 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 3.5
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jessica 2022-02-14 02:51:09 UTC
Hi

I read in the handbook of tellico

"Dragging data files to the main Tellico window and dropping them will import the files, just as if the import command was made from the menus. Drag and drop works for the following file formats: Tellico, Bibtex, RIS, and PDF. Importing multiple files at once is also supported."

Since the EPUB format is widely used and can be used for a book collection, I would like to request support for this format for drag and drop.

Maybe somewhere an open source cross platform library exists that can be used for supporting many ebook formats all at once in an easy way?

Thanks for this great program!

Jessica
Comment 1 Jessica 2022-02-14 03:00:07 UTC
Maybe it's better to implement epub support yourself then using a library?
I found a great open source reader which could be used to look at the code.
The reader supports many ebook formats and respects all the standards of those formats

https://www.edrlab.org/software/thorium-reader/

I hope you want go add epub support. It would be a great new feature book collectors!
Comment 2 Jessica 2022-02-14 17:25:25 UTC
Also the "import PDF file" feature could then be renamed to "import book file" and the window should indicate what formats are supported (*.pdf, *.epub, ...)
Comment 3 Jessica 2022-02-14 21:41:57 UTC
Does drag and drop support:

- multiple selected files?
- folders (which contain one or more files)?
- folders which contain one or more subfolders (which contain one or more files)?
Comment 4 Jessica 2022-02-18 18:22:53 UTC
*** Removed by KDE Sysadmin for violation of the KDE Community Code of Conduct ***
Comment 5 Robby Stephenson 2023-03-10 02:41:40 UTC
Git commit c7e7eb08c431163733cfac23be594d9ee53c7524 by Robby Stephenson.
Committed on 10/03/2023 at 02:41.
Pushed by rstephenson into branch 'master'.

Import metadata from EPub, FB2, and Mobi ebook formats

Importing is supported for drag-and-drop, subject to support from
KFileMetadata. Combining with PDF import isn't supported yet.
FIXED-IN: 3.5

M  +4    -0    ChangeLog
M  +1    -1    doc/importing-exporting.docbook
M  +10   -3    src/gui/drophandler.cpp
M  +10   -0    src/importdialog.cpp
M  +1    -0    src/translators/CMakeLists.txt
A  +136  -0    src/translators/ebookimporter.cpp     [License: GPL (v2/3)]
C  +34   -68   src/translators/ebookimporter.h [from: src/translators/translators.h - 063% similarity]
M  +2    -1    src/translators/translators.h

https://invent.kde.org/office/tellico/commit/c7e7eb08c431163733cfac23be594d9ee53c7524