Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : another one from Germany


Robert Marquard
05-12-2006, 01:47 AM
I am reading eBooks on my Palm T3. I limit myself to ebooks without DRM and i prefer SF so i am a Baen barfly now. My preferred reader is Mobipocket.
The iLiad looks promising so i think about buying it later this year.

I am also a Delphi programmer and i curently work on a free program to generate eBooks in different formats. This stemmed from my interest in extracting the content of Mobipocket books and from someone asking me to control litgen.dll from Delphi.

The current state of affairs is that i can generate LIT files through control of litgen.dll from Microsoft, .mobi books through control of the new mobigen.exe from Mobipocket, .prc (old style) Mobipocket ebooks through my own code.
I currently work on integrating Rocketbook through rbmake from http://rbmake.sf.net

Several other formats are in the make also. Simple .doc and .rtf by letting Word convert it for example. .chm (Windows help file) is another interesting format.

For now the program can only interpret an OPF file and generate the eBook from it. All the useful tools required like editing, cleaning HTML, pushing simple text to HTML, creating an OPF file in the first place are still missing.

Alexander Turcic
05-12-2006, 02:27 AM
Welcome on board, Robert! With our increasing German readership it makes me think of adding a German-only section for those who are interested in e-books but not comfortable with the English language.

Your project sounds very ambitious! If you can keep us updated, we'd be more than happy!

Just be careful in regard to Mobipocket: I remember when ubook added support for .mobi books, at least one person from Mobipocket, who frequently visits this forum, wasn't very amused.

Robert Marquard
05-12-2006, 04:14 AM
Your project sounds very ambitious! If you can keep us updated, we'd be more than happy!

It is not that hard to implement. It is only a big project. It will therefore take some time. Especially bcause i implement it in my free time i do not have.

Just be careful in regard to Mobipocket: I remember when ubook added support for .mobi books, at least one person from Mobipocket, who frequently visits this forum, wasn't very amused.
Mobipocket has opened up considerably. mobigen.exe is available for download from the Mobipocket website free of charge and without any license attached.
In their forum i have already got some interesting tidbits of information.
I have also an email statement that they have no legal problem with my code to generate Mobipocket books on my own.

Alexander Turcic
05-12-2006, 04:31 AM
Sounds great!

TadW
05-12-2006, 05:07 AM
Hi Robert, I am sure you'll like it here ;)

Any plans of making your tools public eventually? I am more than happy to beta-test!

Robert Marquard
05-12-2006, 06:05 AM
Of course, but it needs some functionality first.

CommanderROR
05-17-2006, 01:40 AM
Welcome to the forums fellow citizen!

Jaapjan
05-17-2006, 02:24 AM
That is amusing to hear. Welcome to MobileRead.

I have/am making software that converts all kinds of ebooks to HTML, orders it by author, series, name and cover, creates an OPF and saves it into my library in a sorted manner.

Can convert Multi-HTML OPF to a single HTML opf, LIT->Single HTML OPF and so forth. Code to extract the cover/other images from LIT files too.

All in C# .. of course.

Robert Marquard
05-17-2006, 02:31 AM
All in C# .. of course.
Ban him! He is using (a) bad language ;-)

Jaapjan
05-17-2006, 03:08 AM
Without getting carried away here... why do you consider it a bad language? It works fine under multiple platforms with multiple GUI kits and is ECMA standard?

Robert Marquard
05-17-2006, 03:42 AM
The main thing is that it has not been created to fulfil a need. It has been created to counter Java. So its main purpose is not to promote efficient programming. It is a tool in a marketing fight.

Jaapjan
05-17-2006, 03:48 AM
Perhaps. I think Java and the .NET libraries certainly have plenty of similarity. However, I hate Java (no offense to those who like it) but am very pleased with the integration of .NET and its surrounding tools.

I used to do Delphi before defecting to C#. But then again, Delphi has moved to .NET too so... I still have a number of programs and [the/a] delphi bible.

Robert Marquard
05-17-2006, 04:01 AM
I think we should go private with our discussion.
I prefer Delphi for numerous reasons like only having Delphi 6. For my project .net is not the best way to go forward. Integrating DLLs and programs is much easier in Delphi Win32 especially with the wealth of components available like the JVCL.

Alexander Turcic
05-17-2006, 04:01 AM
I wish I could do either one... C# or .NET... but I guess I am stuck to lame PHP programming ;)

Jaapjan
05-17-2006, 04:09 AM
I wish I could do either one... C# or .NET... but I guess I am stuck to lame PHP programming ;)

Do not worry Alexander. PHP is a nice scripting language and good to know.

As for C# and .NET... you are implying .NET is actually a language you can program in. It is not. It is simply a name encompassing a number of services/ideas Microsoft had.

However, I can do Delphi just fine. And C#. And C. C++. Pascal. PHP. And who knows what.

Jaapjan
05-17-2006, 04:13 AM
I think we should go private with our discussion.
I prefer Delphi for numerous reasons like only having Delphi 6. For my project .net is not the best way to go forward. Integrating DLLs and programs is much easier in Delphi Win32 especially with the wealth of components available like the JVCL.

If you prefer to go private...that is fine. Feel free to send a private message in reply to this post. But, I do not see any trouble continuing. Surely the boards are not overloaded if we talk about it here.

Integrating DLL's in .NET is not terribly hard really. In fact, not all that different from the way Delphi does it. There's a bit of a penalty in execution of course...but that is hardly problematic in the situation you use it in since you would not have to jump from and to managed code all the time, instead starting a process in non-managed manner and waiting till it is done. Only two jumps.