03-30-2010, 01:02 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Mar 2010
Device: Kindle
|
Easiest way to start creating .mobi from HTML using C#?
My language of choice is C#. I've gotten a feel for the Huffman algorithms that mobi seems to be based on. However, being new to algorithms and compression coding I'm seeking some guidance. What would be the best way to begin creating a C# library for .mobi conversion? (HTML to .mobi)... Is there anything out there like this already short of calling a command line (which I don't want to do)?
|
03-31-2010, 05:05 AM | #2 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
I honestly have to ask what the point in reinventing the wheel is. The official Mobi tools, Mobipocket Creator, and its command-line equivalent, "mobigen", are the "standard" way of doing it. I'm not denigrating your desire to write a useful program in C#, but this doesn't really sound like a very productive way to use your time.
|
Advert | |
|
03-31-2010, 12:35 PM | #3 | |
Wizard
Posts: 3,671
Karma: 12205348
Join Date: Mar 2008
Device: Galaxy S, Nook w/CM7
|
Quote:
The tools are, Calibre, eBookTools, and mobiperl. Calibre is written in Python, and the other two are written in perl. Calibre has a GUI, but in the end they are nothing more than comand line tools. Look in the MobiRead Wiki page for more information on the MOBI format. What you are proposing to do is not a light and easy task. All of the tools listed today do an okay job creating MOBI. Only calibre does a good job, (mobigen/Mobi Creator are also great) but that is only because calibre has spent years perfecting this =X= |
|
08-02-2011, 12:23 AM | #4 |
Junior Member
Posts: 1
Karma: 10
Join Date: Jul 2011
Device: Kindle
|
I think there are a couple of good reasons to port existing app to C# or Java:
1. Java and C# are more popular languages, so we will have a better support for new engine than we have now. 2. 99% of existing apps have something missing or very generic. Mostly you have yo use 2 or more app to do simple stuff. 3. Performance and extensibilty are another reasons. 4. name it yourself, but it will be a huge list. Thanks for advise. O/ |
08-02-2011, 12:45 AM | #5 | ||
Bah, humbug!
Posts: 39,072
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
|
Quote:
Quote:
|
||
Advert | |
|
08-02-2011, 05:02 AM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Yes, Mobi Creator works fine with both 32- and 64-bit versions of Windows 7.
|
08-02-2011, 11:50 AM | #7 |
Bah, humbug!
Posts: 39,072
Karma: 157049943
Join Date: Jun 2009
Location: Chesapeake, VA, USA
Device: Kindle Oasis, iPad Pro, & a Samsung Galaxy S9.
|
Thanks, Harry. (Off to download.)
|
08-21-2011, 03:23 PM | #8 |
Junior Member
Posts: 1
Karma: 10
Join Date: Aug 2011
Device: Kindle
|
Having done precisely what JonJ proposed to do (Its a developer thing, we have to write our own at least once :-P) I now have a C# program that reads .MOBI, .AZW and .PRC files (lets face it, they're all the same thing) but I can only create uncompressed files. My compressed files (using the LZ77 algorithm) look fine, and my reader can read them fine, but they crash the Kindle for PC app. Which forum should I use to discuss this, because I'd really like to put this little app to bed.
|
08-22-2011, 12:24 PM | #9 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
This forum is the correct place.
|
12-10-2011, 12:30 PM | #10 |
Junior Member
Posts: 9
Karma: 2831
Join Date: Dec 2011
Device: Kindle
|
*EDITED* - nevermind, I think Caliber will suit my needs!
Last edited by Limey; 12-10-2011 at 12:44 PM. |
Tags |
.net c#, conversion, creation, html, mobi |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
creating a mobi file with hyperlinks. | jimbbq | Amazon Kindle | 11 | 09-29-2010 04:53 PM |
Creating MOBI rather than PRC | MosesSiregarIII | Kindle Formats | 16 | 09-22-2010 04:28 AM |
PRS-300 What's the easiest way to start from scratch? | *Angie* | Sony Reader | 2 | 09-16-2010 10:01 PM |
What's the easiest way to get a book on the kindle from TXT or HTML? | QU2C371FcY | Amazon Kindle | 7 | 05-27-2009 09:55 AM |
Zipped HTML only creating file with one page | Katelyn | Calibre | 3 | 08-27-2008 04:35 PM |