mobipocket

Does a PHP library exist to work with PRC/.mobi files?

怎甘沉沦 提交于 2019-12-06 10:26:16
问题 I'm writing a WordPress plugin to create an eBook from a selected category in most major eBook formats. I would like to support MobiPocket since that's the format used by the Kindle but I'm not sure how to go about it. From what I've read .mobi files are actually Palm Resource Databases (PRC) but I haven't been able to find a PHP class to work with these. I thought about using exec along with KindleGen but that would be undesirable as it would complicate initial setup. I've also thought about

CHM format alternatives?

六眼飞鱼酱① 提交于 2019-12-04 09:45:01
问题 Microsoft CHM format is great as provide such facilities: Table of contends with tree view. Index. Indexed search. Based on HTML source. But this format is outdated and have many drawbacks: Have security issues (allow execute JavaScript code). Don't know about new HTML formats. Not documented. Can not properly handle different character codings (like UTF-8). Are there any alternatives for CHM which have reader and compiler for all desctop OSes? PS . I hear that QT come this something like,

How to get ISBN number from .mobi file with python

半腔热情 提交于 2019-12-03 21:24:52
Is there any way of fetching the ISBN number from a .mobi book using python? Maybe there is a way of reading the .mobi files directely with python and search for 10 ints which is the ISBN number? if I open the mobi file with notepad i can find the number, but when i try to read the file I get a encoding error. Yes. Basically, you just need to parse the PalmDB file format. The ISBN is stored in the EXTH header field of type 104 . The Python PalmDB module I have linked above was somewhat immature when I wrote my Kindle collections manager, so I ended up implementing the relevant parts myself,

CHM format alternatives?

随声附和 提交于 2019-12-03 03:16:11
Microsoft CHM format is great as provide such facilities: Table of contends with tree view. Index. Indexed search. Based on HTML source. But this format is outdated and have many drawbacks: Have security issues (allow execute JavaScript code). Don't know about new HTML formats. Not documented. Can not properly handle different character codings (like UTF-8). Are there any alternatives for CHM which have reader and compiler for all desctop OSes? PS . I hear that QT come this something like, KDE, NetBeans also use own help format. How about non-vendor specific? PPS . Some related: http://live