View Full Version : PRS-500 htmlbbeb


esperanc
04-07-2007, 04:20 PM
Hi,

Ive just released version 0.1 of my efforts to buid a html->bbeb converter that respects most formatting. Those interested in trying it and/or helping me improve it should access the HtmlBBeB site (http://code.google.com/p/htmlbbeb).

The program handles images, links and much of the formatting done with css.

At this point, it is still pretty much an alpha, but I was able to convert many html ebooks to a reasonable-looking lrf document.

In fact, the program just creates a .lrs file, i.e., a Xylog xml file. This file may be later translated into a .lrf file using a suitable application such as MSH_LRSParser.

I have not included MSH_LRSParser in the distribution since I am not certain about its standing copyright-wise.

On the other hand, the provided GUI front-end may be used to convert from lrs to lrf automatically, provided you put MSH_LRSParser.exe into the same directory where htmlbbebgui was put.

The main application was written in Python (Python 2.4 or newer should work fine) and the source distribution contains all files necessary to run it.

Included in the source distribution are two main files: htmlbbeb.py, which is a command line application, and htmlbbebgui.py, a GUI front-end written with PyQt / Qt.

I also put together a "windows-only" installer with everything you need to run the application for those non-programmers who want to try it hassle-free.

igorsk
04-07-2007, 05:22 PM
Cool! Now we just need a batch converter for Baen books... :)

jwhayn
04-07-2007, 05:54 PM
I get an error message saying that QtSvg4.dll was not found. Any ideas?

kovidgoyal
04-07-2007, 06:54 PM
hooray that saves me a couple of days of coding. Any chance you'd be willing to register it with pypi? That way I can depend on it easily.

EDIT: Actually never mind. I guess I'll just include it since it's GPL'ed.

esperanc
04-07-2007, 07:06 PM
I get an error message saying that QtSvg4.dll was not found. Any ideas?

Oops. I made a mistake building the distribution setup app which failed to include some files. I am uploading a new version which hopefully corrects the problem...

obelix
04-08-2007, 05:55 PM
I have not included MSH_LRSParser in the distribution since I am not certain about its standing copyright-wise.


MSH_LRSparser is freeware and can be distributed without any permission.
The latest version is availbale at
http://www.msh-tools.com/ebook/MSH_LRSParser.zip

obelix, the author of MSH_LRSparser

pitolee
04-13-2007, 02:08 AM
Cool! Now we just need a batch converter for Baen books... :)

I just use the Tools/Join Books command in BD... :happy2: