|
|
#62 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,501
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Did you check to see if the table of content worked for the exploded Joan of Arc? It did not work in Linux. It seems that the coded data contains Ctrl-M and these are note counted in the file position. I can easily solve it by removing the but i wondered if file ending convention is defined i a MobiPocket file?
I think i have fixed the image bug and I have tried to fix the cover image issues. I will just try to get the TOC to work properly and will do a new version since the corrupted image bug was so serious (forgot to do binmode on a filehandle...).
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
Enthusiast
|
|
|
|
#63 | |||||
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,501
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Quote:
Quote:
Quote:
Quote:
Quote:
__________________
DRM is EVIL! /Tommy Persson |
|||||
|
|
|
|
|
#64 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,501
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Quote:
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
|
|
#65 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,501
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Windows Binaries mobiperl-0.0.18
New windows binaries:
http://www.ida.liu.se/~tompe/mobiper...0.0.18-win.rar Quote:
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
|
|
#66 |
|
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
|
Thanks - version 0.0.18 works well.
I have started another thread on PRC to MOBI, which uses mobi2mobi and includes some Windows command line advice. |
|
|
|
|
|
#67 | |
|
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
|
Quote:
That makes sense. How about in html2mobi instead? For the particular case of BookDesigner .html files, it would be a nice addition to html2mobi if the Table of Contents near the start could be used as the basis for a formal TOC. The HTML file could come directly from BD, or from mobi2html on a BD .prc file. |
|
|
|
|
|
|
#68 | |
|
reader
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
|
Quote:
|
|
|
|
|
|
|
#69 | |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,501
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Quote:
Making a real TOC and put it in the guide automatically from an html file using html2mobi should be relatively easy. I will put it on the list of things to fix.
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
|
|
#70 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,501
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
The problem is that the GD library seems not to be able to read BMP files? How common are BMP files in books? If you convert the files to jpg or gif or any other format tha GD supports html2mobi will work. But I saw that the links were not working properly. I will look at that also.
Thanks for testing and reporting the problems.
__________________
DRM is EVIL! /Tommy Persson |
|
|
|
|
|
#71 |
|
Enthusiast
![]() Posts: 25
Karma: 78
Join Date: Dec 2007
Device: Kindle
|
I just wanted to say thanks to tompe for spending your time and talents on this program. I think there is a real need for this program - I am new to ebooks (Kindle owner) and immediately went to PG to get some books. Also, I found this site and have been enjoying the books that all the great uploaders put here.
The problem became obvious immediately: The metadata wasn't showing up for most .prc's that are freely available from public domain sources. On my Kindle's browser, books would show up as MILL_UTILITARIANISM, or just BLEAK HOUSE, etc. Nothing was showing up for most books under the author line. My plan has been to buy a 4GB memory card and every book that I buy/download to just leave it on my Kindle, so I don't have to worry about moving books on and off the reader. When the metadata is inconsistent or just missing, it's going to make it extremely hard to find a book I need once a few hundred books get on there. I haven't yet figured out how to use Mobiperl, but I'm going to work on it in the next few days. Thanks for the program - I just wanted to let you know that your work is appreciated, this tool is much needed and will help people make their books look correct on our readers. Jiiri |
|
|
|
|
|
#72 |
|
Enthusiast
![]() Posts: 25
Karma: 78
Join Date: Dec 2007
Device: Kindle
|
EDIT: Originally this thread was me whining about not being able to figure out how to explode a prc file. I got it now - I was making it WAY too hard. Thanks for all the tips in this thread; if I can figure this out, perhaps we could train a monkey or two to do our books for us.
Jiiri Last edited by Jiiri; 12-30-2007 at 03:42 PM. |
|
|
|
|
|
#73 |
|
Connoisseur
![]() Posts: 60
Karma: 10
Join Date: Dec 2007
Location: Aachen
Device: Gen3
|
Hi tombe,
I have a mobiperl request. I posted it accidentally into the older thread: http://www.mobileread.com/forums/sho...ml2mobi&page=5
__________________
_______________________________________ Frank |
|
|
|
|
|
#74 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,501
Karma: 2150615
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Nexus 7, Nexus S, iPad 2, Notion Ink Adam Qi, Kindle WiFi
|
Version 0.0.19
Version 0.0.19 is available:
http://www.ida.liu.se/~tompe/mobiper...erl-0.0.19.tar http://www.ida.liu.se/~tompe/mobiper...0.0.19-win.rar Changes in 0.0.19:
It now seems to work to explode the Mark Twain file and then use html2mobi on the exploded html file.
__________________
DRM is EVIL! /Tommy Persson Last edited by tompe; 12-30-2007 at 08:34 PM. |
|
|
|
|
|
#75 |
|
Enthusiast
![]() Posts: 25
Karma: 78
Join Date: Dec 2007
Device: Kindle
|
Just thought I'd pass this along for whatever it's worth - I've been playing with your (wonderful) mobiperl tools all day, getting my books to look right in the Kindle Home page. I had bought Bertrand Russell's "History of Western Philosophy" in Amazon's proprietary .azw format, and I guess whenever the publisher's did the conversion, they typed in 'Bertrand Russell' under author instead of 'Russell, Bertrand'.
The result of this was when I sorted by author, every author showed up correctly by last name except Russell, who showed up under 'B' for Bertrand instead of under 'R' for Russell. I'm anal, and it annoyed me greatly. At any rate, I took the .azw file off of my Kindle, changed the extension to .prc, and ran mobi2mobi to change the metadata. After the file spit out, I changed it back to .azw, and sure enough, it worked like a charm. So, if anyone else has metadata they don't like in a protected .azw file, it works. Enjoy, and thanks tompe! Jiiri |
|
|
|
![]() |
| Tags |
| mobi2mobi |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools | Jad | Mobi | 460 | 03-09-2013 12:00 PM |
| Tools for Editing Kindle .mobi Files? | GJN | Mobi | 32 | 11-22-2012 12:29 AM |
| Handy Perl Script to convert HTML0 files to smartquotes | maggotb0y | Sony Reader | 0 | 04-12-2007 11:49 AM |
| PRS-500 Perl tools to generate Reader content | TadW | Sony Reader Dev Corner | 0 | 01-08-2007 05:55 AM |
| gmail copy (gmcp) - Perl script to copy files to/from Gmail | Colin Dunstan | Lounge | 0 | 09-04-2004 01:24 PM |