Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Kindle Formats

Notices

Reply
 
Thread Tools Search this Thread
Old 01-03-2009, 08:31 PM   #1
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Currupt Files from Mobi2Mobi/Mobi2obi_GUI

Real happy to find this forum and the Perl and GUI tools.

I have a number of PDB files that I renamed to PRC (hope that wasn't a dumb thing to do) to so I could edit metadata (like everyone else wants to do it seems) to get my Christmas present Kindle to show the books correctly.

mobiperl-win-0.0.41.zip and Mobi2Mobi_GUI_v016.zip

Net3.5 and everything else on Vista is current

GUI convert 'seems' to go OK, but MobiReader won't open the .mobi file, and Kindle says it's currupt, BUT the Kindle it does show the Author and Title I put in the GUI

Attached are the PRC and the MOBI files

... please

Thanks

Paul
Attached Files
File Type: zip Clancy, Tom.zip (976.4 KB, 389 views)
phossler is offline   Reply With Quote
Old 01-03-2009, 08:40 PM   #2
pilotbob
Grand Sorcerer
pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.pilotbob ought to be getting tired of karma fortunes by now.
 
pilotbob's Avatar
 
Posts: 19,832
Karma: 11844413
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by phossler View Post
I have a number of PDB files that I renamed to PRC (hope that wasn't a dumb thing to do) to so I could edit metadata (like everyone else wants to do it seems) to get my Christmas present Kindle to show the books correctly.
My first thought if that they are PDB files they are NOT mobipocket format but eReader or Palm DOC. Renaming them to .prc doesn't magically make the mobipocket books.

What reader software are you using to read the PDB books.

BOb
pilotbob is offline   Reply With Quote
Advert
Old 01-03-2009, 08:45 PM   #3
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
I assume that the .mobi file does not work on the Kindel or in MobiPocket reader?

The .mobi file does not work on my Cybook.

I could reproduce the problem on Linux. I will debug this but maybe not tonight... And it can take some time since I have to transfer the file to the Cybook for each test iteration.
tompe is offline   Reply With Quote
Old 01-03-2009, 08:52 PM   #4
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by pilotbob View Post
My first thought if that they are PDB files they are NOT mobipocket format but eReader or Palm DOC. Renaming them to .prc doesn't magically make the mobipocket books.

What reader software are you using to read the PDB books.

BOb

I'm using MobiReader -- it reads the renamed PDB's fine, but doesn't seem to recognize the MOBI output file.

The PDB/PRC is a TEXtREAd, and the MOBI file is a MOBIBOOK

HTH

Paul
phossler is offline   Reply With Quote
Old 01-03-2009, 08:56 PM   #5
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Quote:
Originally Posted by tompe View Post
I assume that the .mobi file does not work on the Kindel or in MobiPocket reader?

The .mobi file does not work on my Cybook.

I could reproduce the problem on Linux. I will debug this but maybe not tonight... And it can take some time since I have to transfer the file to the Cybook for each test iteration.
Correct -- does not read in either

MobiReader does not seem to find it (double click does nothing) and Kindle Home shows it in the list, but says it's currupt when I try to open it

THANKS

This ebook stuff is a whole new territory for me, and I haven't begun to even learn the language yet.

Paul
phossler is offline   Reply With Quote
Advert
Old 01-03-2009, 08:58 PM   #6
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
A workaround for this file is just to do mobi2html and then html2mobi on the unpacked html file.
tompe is offline   Reply With Quote
Old 01-03-2009, 09:53 PM   #7
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
As pointed out in the MobiPerl thread the problem is that the prc file is just a packed text file. And since mobi2mobi does not touch the content of the file you will get a MobiPocket (MOBI) file with corrupt html code so it will not open on some devices.

The flag --rawhtml to mobi2html can be used to get the raw content from a prc file.
tompe is offline   Reply With Quote
Old 01-03-2009, 10:50 PM   #8
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
Tommy - thanks for your help and explainations

I did the mobi2html (with --rawhtml) and html2mobi with --title ... and -- author ...) and MobiReader and Kindle like the file, except that the line breaks are gone (in the .html and in the .mobi)

Is there an option I'm missing?

Dumb question: Is there a exth option in the GUI that I could use to get it to work?

Side observation: I did try the ABC Amber Palm converter to make the html and then used html2mobi, and the line breaks were there.

Dumb question #2: Is there a way to convert a PDB to a PRC that would be GUI-compatible, so I could just edit the metadata and make a good MOBI file?

Thanks again for your help

Paul
phossler is offline   Reply With Quote
Old 01-03-2009, 11:56 PM   #9
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by phossler View Post
Tommy - thanks for your help and explainations

I did the mobi2html (with --rawhtml) and html2mobi with --title ... and -- author ...) and MobiReader and Kindle like the file, except that the line breaks are gone (in the .html and in the .mobi)

Is there an option I'm missing?
No. I suppose it would be possible to do something more clever but i feel that these kind of files are not common and you can probably do other things in the conversion chain to preserve some markup.

Quote:
Dumb question: Is there a exth option in the GUI that I could use to get it to work?
No, I do not think so but since the format is secret there could be such a field or some flag to set in the header to indicate a text file.

Quote:
Side observation: I did try the ABC Amber Palm converter to make the html and then used html2mobi, and the line breaks were there.
Yes, this is as expected. What format did you start with?

Quote:
Dumb question #2: Is there a way to convert a PDB to a PRC that would be GUI-compatible, so I could just edit the metadata and make a good MOBI file?
pdb or prc just indicated that it is a container format. If you have a TEXt file type with html in it it will work. Is it a text file that is packed in it it will not work.
tompe is offline   Reply With Quote
Old 01-04-2009, 09:20 AM   #10
phossler
Wizard
phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.phossler ought to be getting tired of karma fortunes by now.
 
Posts: 1,071
Karma: 412718
Join Date: Jan 2009
Location: Valley Forge, PA, USA
Device: Kindle Paperwhite
I found a lot of PDB files in Usenet, and if I rename them to PRC, I can just copy them to the Kindle where they work "sort of" OK, except for the expected display formatting and the mal-formed or missing Title/Author.


Quote:
but i feel that these kind of files are not common and you can probably do other things in the conversion chain to preserve some markup.
I just assumed that PDB (renamed to PRC) was a common format.

Two things I've been doing (not knowing any better)

1. a) I used the ABC Amber Palm converter to make MS Word or RTF files from the PDB's, b) MS Word to edit the RTF, add pictures, and apply Heading 1 styles for the Kindle TOC enteries, and c) MobiCreator to convert the DOC file to make a HTML and a PRC. d) I just copy the PRC file to the Kindle, .

Some books are worth the effort to do that so I can re-format, fix typos, and add a TOC


2. But for the majority, I just rename the PDB as PRC and then copy to the Kindle, where they display "OK", except for the metadata in the Home page Index on the Kindle. I was looking a easy way to edit the metadata in the PRC (or PDB).

3. The GUI seemed the way to go. Rename the PDB to PRC, open it in the GUI, add Title/Athor, and Convert. Onlly problem is that it doesn't work

Quote:
Yes, this is as expected. What format did you start with?
Started with the original PDB file, but I would have expected the line breaks to convert over. Instead it's just a huge block of text.

Once again, thanks for your time explaining things.

Paul
phossler is offline   Reply With Quote
Old 01-04-2009, 09:52 AM   #11
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by phossler View Post
2. But for the majority, I just rename the PDB as PRC and then copy to the Kindle, where they display "OK", except for the metadata in the Home page Index on the Kindle. I was looking a easy way to edit the metadata in the PRC (or PDB).
The easiest way is probably to run "mobi2html --rawhtml file.pdb > book.txt". Then run some text to html program on the book.txt file and then run create the mobifile from this html file. And you can create a batch that do all these steps.
tompe is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Mobi2Mobi Mobi2Mobi v0.13 - GUI for Mobiperl tools Jad Kindle Formats 476 03-15-2015 05:51 PM
used mobi2mobi - no longer indexable? bxrLvr Amazon Kindle 5 04-11-2009 04:13 PM
Bizarre problems with mobi2mobi AlexBell Kindle Formats 4 01-05-2009 02:50 AM
How do you use mobi2mobi? GatorDeb Kindle Formats 3 10-11-2008 02:55 PM
I seem to have killed Mobi2Mobi gui AlexBell Kindle Formats 8 09-02-2008 01:54 AM


All times are GMT -4. The time now is 02:30 AM.


MobileRead.com is a privately owned, operated and funded community.