|
|
Thread Tools | Search this Thread |
02-20-2010, 05:25 AM | #16 | |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
Of course, that means that in Windows Latin-1 Mobipocket books it's interpreted as Windows Latin-1 encoded. So it's not possible to give a unicode name to just any Mobipocket book, but it should be possible on Unicode Mobipocket books. I have much too much on at the moment, but it's an interesting idea. |
|
02-20-2010, 07:08 AM | #17 | |
Enthusiast
Posts: 32
Karma: 2204
Join Date: Jul 2009
Device: none
|
Quote:
In fact whenever I want to change an ebook's title, I have to 1) Edit the title in NotePad and save it as text file in UTF-8. 2) View the text file in hexadecimal (with Total Commander) and copy the title in hexa string. 3) Open the eBook in WinHex, locate the original title and replace it with the title in step 2. Then find and update the title length in the eBook. The above steps can help me to change UNICODE title if the eBook encoded in UTF-8 format, but not work with 1252 code page. So I hope someone can write a Python script to do those steps. And why Python? Because then I can run the script on my Nokia phone with Python for S60. I always enjoy eBooks on my Nokia E-series (E71). The easiest way to have the eBook's title as we want is use MobiReader desktop version. With this, we can easily change the title and have the title saved in .MBP file. But then the eBook has to come along with .MBP file. I use this approach for eBooks encoded in 1252 format. Last edited by quocsan; 02-20-2010 at 07:21 AM. |
|
Advert | |
|
02-23-2010, 12:10 PM | #18 |
Groupie
Posts: 163
Karma: 64
Join Date: Jun 2009
Device: kindle dx
|
HOw widely used is Python these days?
|
02-23-2010, 12:29 PM | #19 |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Judging from Google Trends, more popular now than Perl, but still well below c++ and php:
http://www.google.co.uk/trends?q=Pyt...php%2C+c%2B%2B Comparing just to Perl, we see that Perl dropped below Python in popularity at the end of 2007. http://www.google.co.uk/trends?q=Python%2C+Perl%2C |
02-23-2010, 01:15 PM | #20 |
creator of calibre
Posts: 44,514
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I doubt that's very accurate. python is hardly exclusive to the computer language (while c++ and perl are).
|
Advert | |
|
02-23-2010, 03:56 PM | #21 | |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
http://www.google.co.uk/trends?q=per...ile+-skin+-pet which I think removes most other meanings of python. Last edited by pdurrant; 02-23-2010 at 04:05 PM. |
|
02-23-2010, 04:11 PM | #22 |
creator of calibre
Posts: 44,514
Karma: 24495778
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Much better I'm happy to see Python usage rising. Another useful comparison is with Ruby.
|
03-19-2010, 12:31 PM | #23 |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
03-20-2010, 06:23 AM | #24 |
Enthusiast
Posts: 32
Karma: 2204
Join Date: Jul 2009
Device: none
|
|
03-20-2010, 10:55 AM | #25 |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
04-12-2010, 05:21 AM | #26 |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
|
07-25-2010, 12:36 PM | #27 |
Enthusiast
Posts: 42
Karma: 11050
Join Date: Nov 2009
Device: Kindle Paperwhite, Kindle Touch, Kindle 2
|
I have to admit I kind of dropped this on the floor after my initial flurry. Thanks for the additional work, pdurrant.
One of the things that has always been a little irritating about Mobipocket (compared with ePub) is that it hard-codes file offsets in links, making it problematic to fix errors in an eBook if you don't have good tools. It's clearly seen as a display format (like PostScript) rather than a source format. Thankfully, ePub is a lot more sane. |
07-26-2010, 10:12 AM | #28 | |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
I think that mobiunpack now allows unpacking, editing and re-packing (with KindleGen) without any problems. If anyone does come across any problems doing this, I'd love to hear about them so that they can be fixed. What's nice with ePub is that (with careful choice of attributes in the opf file), it's possible to create a valid ePub and use the ePub source folder to create a well-formed Mobipocket ebook using KindleGen. |
|
08-29-2010, 06:48 PM | #29 | |
The Grand Mouse 高貴的老鼠
Posts: 72,470
Karma: 309060442
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Quote:
Version 23 of MobiUnpack now writes this info out in the .opf file, so that it's preserved if the Mobipocket file is re-built from mobiunpack's output using Kindlegen. |
|
09-02-2010, 03:12 AM | #30 |
Enthusiast
Posts: 32
Karma: 2204
Join Date: Jul 2009
Device: none
|
Good job, thank you pdurrant!
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Can i rotate text and insert images in Mobi and EPUB? | JanGLi | Kindle Formats | 5 | 02-02-2013 05:16 PM |
PDF to Mobi with text and images | pocketsprocket | Kindle Formats | 7 | 05-21-2012 08:06 AM |
Mobi files - images | DWC | Introduce Yourself | 5 | 07-06-2011 02:43 AM |
pdf to mobi... creating images rather than text | Dumhed | Calibre | 5 | 11-06-2010 01:08 PM |
Transfer of images on text files | anirudh215 | 2 | 06-22-2009 10:28 AM |