Comment 2 for bug 1096410

Revision history for this message
David Forrester (davidfor) wrote :

There are actually two elements here.

One part is to add support for kepubs as a format to calibre. This includes converting to and from kepub. The from is easy as kepub is basically an epub and the extra bits, mainly ids on most tags, can be left in. The to is a bit harder, but the referenced link gives a lot of what to do.

The other part is to modify the driver to put kepubs the books on the device. Unfortunately, it isn't quite that simple. The driver doesn't do much when putting a book onto the device. It simply copies the book to the devices drive. When the device is disconnected, the device process the sideloaded books and adds details about the books into its internal database. This means that some work has to be done the next time the device is connected when the database entries for the book exist. Specifically, putting the cover image on the device and updating the database to point to it. There may be other things that are needed, but I haven't looked at this for a while.

The above wouldn't be hard to do, or at least the driver parts. I haven't looked at the format handling side, so I don't know. But, I'm not convinced it is a good idea. I am not sure how having books like this on the device affects other things. The obvious question is what happens when a sync with the Kobo server is done.

Making the driver changes is only useful if the format support is added. At the moment, it is not something I am interested in doing. If someone adds the kepub format support, then I will update the driver.