KDE ePub Thumbnailer Original

Various Plasma 5 Improvements ebook

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/Caig/kde-thumbnailer-epub

5
Score 82.0%
Description:

With KDE Applications 19.04 this plugin will be no more needed because a new official solution will be available. See https://phabricator.kde.org/D18738

--------------------

A KDE thumbnail generator for the ePub file format.
It works with KDE Frameworks 5, for KDE 4 just keep using 1.0 stable release.

Once installed go to Configure Dolphin -> General -> Previews and select ePub documents.

If you have some epub files containing a cover, but not supported by the thumbnailer, please tell me, I'll be glad to test them.

Since 0.9 it doesn't require libepub (ebook-tools).

* fb2? http://kde-apps.org/content/show.php/KDE+fb2+Thumbnailer?content=160180
* chm? http://kde-apps.org/content/show.php/KDE+CHM+Thumbnailer?content=153410

Comments are welcome.
Last changelog:

1.1.9 beta 2 years ago

Just another rewriting for KF5, same features

C

caig

7 years ago

Do you mean less of 1% of your epubs show a cover? Very bad result :(
In my case I have a 89% of success, 5% more than 0.1 release.
The plugin in first instance searches for a guide element like this:

<guide>
<reference type="cover" title="Cover" href="Text/Section0001.xhtml"/>
</guide>

(type="cover")

If not, as the 0.1 did, searches for the first html/xml file (usually it contains the cover) and parses the file searching for <img> or <image>.

Your suggestion in the other message make me thinking about another way to retrieve covers I can add. I'll study and try it. One of your not working epubs is available for free somewhere? It can be useful to understand. Thank you :)

Report

9

sosonok

7 years ago

I forgot to mention most of my epubs have a peculiarity: cover image is inside a header (the first one). Anyway a couple of extra examples: the second one was ok, now I remove preserveAspectRatio="none" and I can't see cover anymore in Dolphin.

http://uploadmirrors.com/download/0PGVCQKU/FederidoGarciaLorca.LaCasaDeBernardaA1.1_0.epub

http://uploadmirrors.com/download/0I2PA6U4/Novelas_ejemplares_-_Cervantes.epub

http://uploadmirrors.com/download/PANVOXNG/Curzio_Malaparte_-_La_piel.epub

Report

C

caig

7 years ago

Very interesting...I see them:
http://i.imgur.com/SYirZ.png
They are supported with the first strategy (searching for something like):

<guide>
<reference href="Text/titlepage.xhtml" title="Cover" type="cover"/>
</guide>

Report

9

sosonok

7 years ago

I'm sorry, caig.

There was some kind of coflict between my first manual installation and the lately Chakra pkgbuilds. Now it works like a charm! I can see most of the covers :)

Report

C

caig

7 years ago

Perfect! I'm happy it works for you too. Thanks for feedbacks and tips :)

Report

9

sosonok

7 years ago

So, what could it be the problem here?

Report

9

sosonok

7 years ago

I can see the same covers I saw in the previous version. Nothing more. They have in common they are from epubs generated by Calibre, they use svg to scale covers and they use preserveAspectRatio="none" attribute.

This makes less than 1% of my epubs (none of them produced by me).

Report

9

sosonok

7 years ago

Do you know this?

https://svn.reviewboard.kde.org/r/3271/diff/

In case it may be helpful.

Report

C

caig

7 years ago

Yes, the 0.1 release follows the strategy explained in that page, even if, thanks to libepub, in a much more simple way.
The next release will contain one more strategy to retrieve the covers and a little check.
Thanks for your interest! :)

Report

9

sosonok

7 years ago

Nice work, caig!!

I've realized preserveAspectRatio="none" makes most covers "thumbnailable", in case it helps to figure out why so many covers doesn' show up and how to fix it.

Report

C

caig

7 years ago

Hi, thanks for the suggestion, I'll study it :)

Report

9

nihui

7 years ago

Name[zh_CN]=ePub 文档

Report

C

caig

7 years ago

Just added for the next release. Thanks!

Report

9

nihui

7 years ago

wow, another kde thumbnailer
good work

Report

C

caig

7 years ago

Thanks Lord of the Thumbnailers! :)

Report

9

davmont

7 years ago

Works fine on openSUSE 12.1 ;)

just awesome :D

thanks!

Report

C

caig

7 years ago

Thanks!
Same distribution here :)
I made packages for openSUSE with openSUSE Build Service, but for some problems they aren't shown here, I try again to list them.

Report

BrilliantDeveloper

7 years ago

nice work :)

question about the uploaded picture ,
what is the name of windows decoration did to use ?

to have this
http://im30.gulfup.com/2012-05-30/1338368838991.png

thanks

Report

C

caig

7 years ago

Thanks!
It's QtCurve, this is my configuration if needed http://paste.opensuse.org/63349558

Report

BrilliantDeveloper

7 years ago

I appreciate your shearing.

but I dont know what to do with these configuration
I thought it somethings similar to color scheme or desktop theme.

thanks :( .

Report

C

caig

7 years ago

Hi, QtCurve http://kde-look.org/content/show.php/QtCurve+%28KDE4%2C+KDE3%2C+%26+Gtk2+Theme%29?content=40492 is a widget style + window decorator theme.
Save the text from the link in a file like theme.qtcurve. Go to System Settings ->
Application Appearance -> Style. Select QtCurve as widget style. Then Configure and Import the saved file.
Be sure to select QtCurve in Workspace Appearance -> Window Decorations too.
It should work i believe. Many users share their qtcurve configurations on kde-look.org
Bye :)

Report

9

srog

7 years ago

Working fine with the Kubuntu - thank you.


PPA package search: https://launchpad.net/ubuntu/+ppas?name_filter=kde-thumbnailer-epub

Report

C

caig

7 years ago

I'm happy it works! Thanks for the report! :)

Report

vato

7 years ago

I get the following error:

Quote: CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
EPUB_INCLUDE_DIR
used as include directory in directory /home/vato/bin/kde-thumbnailer-epub-0.1
EPUB_LIBRARY
linked by target "epubthumbnail" in directory /home/vato/bin/kde-thumbnailer-epub-0.1

Report

C

caig

7 years ago

Hi, thanks for the feedback :)
It's my first released software, so I'm not an expert...
I had problems with the cmake configuration and probably it isn't well written, sorry.
Have you installed libepub (library and development packages)?

Report

1.1.9 beta 2 years ago

Just another rewriting for KF5, same features

3 years ago

1.1
-----
Stable KF5 release

1.0.9 beta
-----
KDE Frameworks 5 porting

1.0
-----
Stable KDE 4 release

0.9 beta (nolibepub branch)
-----
Complete rewrite:
* It requires no more libepub.
* Increased supported ePub files.

0.3.1
-----
* Added another strategy to find the cover, currently shaped on Sigil (by dliw) [0.3]
* German translation added (by dliw) [0.3]
* Better memory management
* Minor code improvements

0.2
-----
* Increased supported ePub files:
- a new strategy to retrieve the cover from standard compliant ePub files;
- the "old" strategy now is the second option;
- a little improvement to increase the possibility of a successful result.
* Some minor improvements.
* Simplified Chinese (zh_CN) translation added. Thanks to nihui.

0.1
-----
first release

12345678910
16
product-maker domryba Nov 02 2017 9 excellent
product-maker izzzy Nov 05 2016 9 excellent
product-maker janet Mar 04 2016 9 excellent
product-maker FallenX Mar 04 2016 9 excellent
product-maker Met Oct 07 2015 9 excellent
product-maker MoonBlossom Apr 25 2014 9 excellent
product-maker frag Jan 01 2014 9 excellent
product-maker FraMari Jun 02 2012 9 excellent
product-maker sosonok May 31 2012 9 excellent
product-maker nihui May 30 2012 9 excellent
product-maker davmont May 30 2012 9 excellent
product-maker HessiJames May 30 2012 9 excellent
product-maker vitoubien May 29 2012 9 excellent
product-maker dimitarpopov May 29 2012 9 excellent
product-maker e1nste1n May 29 2012 9 excellent
product-maker srog May 29 2012 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
jlkawaii
Oct 26 2018
glutanimate
Apr 11 2018
janet
Mar 04 2016
MoonBlossom
Apr 25 2014
CatchTime
Aug 06 2013
File (click to download) Version Description PackagetypeArchitecture Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
GPLv2 or later
version
1.1.9 beta
updated Jan 12 2018
added May 29 2012
downloads 24h
0
mediaviews 24h 0
pageviews 24h 8