Review Request: 4.5 Feature: FictionBook Thumbnails

Harsh J qwertymaniac at
Fri Mar 12 19:19:37 GMT 2010

This is an automatically generated e-mail. To reply, visit:

Review request for kdelibs.


This feature addition to kdebase aims to provide thumbnails of FictionBook covers.

Early-message: This is my first try at XML parsing (I've used the SAX approach), so do give me pointers/tips on doing it better wherever possible :-)

I've written code to:
  * Parse the FB2 XML file.
  * Get the 'image' element under the 'coverpage' element, and get its ID.
  * Find a 'binary' element with the same ID and save its character data.
  * Convert this base64 data to a QImage and load it as the thumb.

References I used:
  * The FictionBook format spec:
  * Some .fb2 files (russian ones are all I could find) at

Feature entry has also been added to the 4.5 Feature Plan (ePub thumbnails are also put up on for reviewing)

P.s. Shall I also commit this to /trunk/kdereview?


  /trunk/KDE/kdebase/runtime/kioslave/thumbnail/CMakeLists.txt 1102437 
  /trunk/KDE/kdebase/runtime/kioslave/thumbnail/fictionbookcreator.h PRE-CREATION 
  /trunk/KDE/kdebase/runtime/kioslave/thumbnail/fictionbookcreator.cpp PRE-CREATION 
  /trunk/KDE/kdebase/runtime/kioslave/thumbnail/fictionbookthumbnail.desktop PRE-CREATION 



Tested with a random sample of files at


FictionBook Previews in Dolphin File Manager



More information about the kde-core-devel mailing list