Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Reading and Management

Notices

Reply
 
Thread Tools Search this Thread
Old 09-26-2008, 12:37 PM   #1
sirdouglas
Member
sirdouglas began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2008
Device: BeBook
Mobipocket convert in mass?

Okay, I just posted a question about My Ebook Library, and now about Mobipocket. First, I love the program and would love to have all my books organized within it. The problem is that I have hundreds of books (mostly in PDF, a few in LIT) and it will take days to go through each one and converting into Mobipocket. Isn't there a way to convert an entire folder of books all at once? This would remove hours of hassle. Or is there something similar to Mobipocket, cuz I love it!

Thanks,

Doug
sirdouglas is offline   Reply With Quote
Old 09-26-2008, 12:39 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,577
Karma: 11337367
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by sirdouglas View Post
Okay, I just posted a question about My Ebook Library, and now about Mobipocket. First, I love the program and would love to have all my books organized within it. The problem is that I have hundreds of books (mostly in PDF, a few in LIT) and it will take days to go through each one and converting into Mobipocket. Isn't there a way to convert an entire folder of books all at once? This would remove hours of hassle. Or is there something similar to Mobipocket, cuz I love it!

Thanks,

Doug
Is this the same question I just answered? Hmm... anyway... if there is a command line way to add books to Mobipocket then you could do it with a batch file.

BOb
pilotbob is offline   Reply With Quote
Old 09-26-2008, 12:50 PM   #3
Amalthia
Guru
Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.Amalthia once ate a cherry pie in a record 7 seconds.
 
Amalthia's Avatar
 
Posts: 949
Karma: 1960
Join Date: Jan 2007
Location: Anchorage, AK
Device: Sony Reader PRS-505, PRS-650
Quote:
Originally Posted by pilotbob View Post
Is this the same question I just answered? Hmm... anyway... if there is a command line way to add books to Mobipocket then you could do it with a batch file.

BOb

Do you have a link to the post where you previously answered this question?
Amalthia is offline   Reply With Quote
Old 09-26-2008, 12:51 PM   #4
sirdouglas
Member
sirdouglas began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2008
Device: BeBook
Eek, batch file? Unfortunately I'm not that knowledgeable with this computer stuff.
sirdouglas is offline   Reply With Quote
Old 09-26-2008, 12:59 PM   #5
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,577
Karma: 11337367
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by Amalthia View Post
Do you have a link to the post where you previously answered this question?
I basically said the same thing... someone asked how to get all their .PRC files into a database... I recommend a batch file that would add them all to calibre since you can add files to the calibre db using a command line command.

I also stated that is Mobipocket allowed for this then the batch file could add the files to the MP software too. But, I don't know if there is a command line API (or any API) for the Mobipocket reader software.

BOb
pilotbob is offline   Reply With Quote
Old 09-26-2008, 01:02 PM   #6
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,577
Karma: 11337367
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by sirdouglas View Post
Eek, batch file? Unfortunately I'm not that knowledgeable with this computer stuff.
Don't be scared. A batch file is nothing more than a series of commands that you would type into the command prompt all place together. You can do some basic things to each file with a simple for command.

A simple example. Lets say to add a .PRC file to Mobipocket you could do this at the command line:

mobireader /add MYfilename.prc

So, you could use the following command to add all the .prc files in a folder:

for %%i in (*.prc) do mobireader /add %%i

If you put than in a batch file named add2mobi.bat then you can just run that bat file anytime by double clicking it.

BOb
pilotbob is offline   Reply With Quote
Old 09-26-2008, 04:22 PM   #7
sirdouglas
Member
sirdouglas began at the beginning.
 
Posts: 23
Karma: 10
Join Date: Sep 2008
Device: BeBook
Okay, so your saying this will be able to convert all the pdfs within a certain folder and subfolders into mobipocket format (.prc)? I think I'm going to need a little bit more specific step by step instructions though. Starting with "start" click on "run", type "cmd" and hit enter.... and go from there Is that a good start?

Thanks!

Doug
sirdouglas is offline   Reply With Quote
Old 09-26-2008, 04:48 PM   #8
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,577
Karma: 11337367
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by sirdouglas View Post
Okay, so your saying this will be able to convert all the pdfs within a certain folder and subfolders into mobipocket format (.prc)?
No, that was just an example. I would have to research to see if mobipocket reader can be controlled from the command line. Then you would have to write to "actual" commands to do it. It all hinges on mobi pockets command line API. Or, pehaps they have a stand alone command line tool if the reader software doesn't have an API.

BOb
pilotbob is offline   Reply With Quote
Old 09-26-2008, 05:24 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 37,278
Karma: 18149666
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Sony Reader PRS-650, iPad, nook STR
Quote:
Originally Posted by sirdouglas View Post
Okay, I just posted a question about My Ebook Library, and now about Mobipocket. First, I love the program and would love to have all my books organized within it. The problem is that I have hundreds of books (mostly in PDF, a few in LIT) and it will take days to go through each one and converting into Mobipocket. Isn't there a way to convert an entire folder of books all at once? This would remove hours of hassle. Or is there something similar to Mobipocket, cuz I love it!

Thanks,

Doug
PDF doesn't really convert all that well. So that's going to mean that once you go PDF to Mobipocket, you'll need to go Mobipocket to HTML in order to edit the HTML for the errors introduced via the conversion process. Also, f the PDF has DRM, forget converting then.

As for LIT, you can explode the LIT into it's component parts after you've remove the DRM using ConvertLIT and lit2oeb to explode it. Then use Mobipocket Publisher to load the OEB file and generate a PRC. But I don't know of any way easy way to automate the process.
JSWolf is offline   Reply With Quote
Old 09-26-2008, 07:28 PM   #10
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by pilotbob View Post
No, that was just an example. I would have to research to see if mobipocket reader can be controlled from the command line. Then you would have to write to "actual" commands to do it. It all hinges on mobi pockets command line API. Or, pehaps they have a stand alone command line tool if the reader software doesn't have an API.
They have a command line tool, mobigen. It is best to give it OEB (a .opf file) or ePub as input (ePub import is new and a little flaky). So a command line chain can get you from LIT to MOBI (clit.exe to remove DRM, lit2oeb, and finally mobigen). ConvertLIT can also explode to OEB, but lit2oeb is now supposed to be better (I have always used ConvertLIT and it usually works well). The other option is MobiPerl's lit2mobi, which again needs a DRM-free LIT as input.
wallcraft is offline   Reply With Quote
Old 09-26-2008, 07:59 PM   #11
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,577
Karma: 11337367
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by wallcraft View Post
They have a command line tool, mobigen. It is best to give it OEB (a .opf file) or ePub as input (ePub import is new and a little flaky).
Does mobigen convert a PDF to mobi like the reader software does? I think that is what the OP said he has most of.

BOb
pilotbob is offline   Reply With Quote
Old 09-26-2008, 08:30 PM   #12
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by pilotbob View Post
Does mobigen convert a PDF to mobi like the Reader software does?
No. I think the Reader must have a PDF to HTML initial step before (effectively) calling mobigen. One possibility is Calibre's any2epub, although I have not tried it on PDFs and mobigen's ePub import is not yet all that good (e.g. does not read the toc.ncx file).
wallcraft is offline   Reply With Quote
Old 09-26-2008, 10:30 PM   #13
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 25,990
Karma: 5036765
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
mobopicket has a pdf2xml tool that they use. its based on xpdf, so its source is available somewhere on the mobipocket dev site, i forget where.
kovidgoyal is online now   Reply With Quote
Old 09-27-2008, 12:08 AM   #14
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,979
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3 and Fire
Quote:
Originally Posted by kovidgoyal View Post
mobopicket has a pdf2xml tool that they use. its based on xpdf, so its source is available somewhere on the mobipocket dev site, i forget where.
It is at http://www.mobipocket.com/dev/pdf2xml/. The binary, pdf2xml.exe, is included with Windows MobiPocket Reader and Creator.

Searching for pdf2xml on MobiPocket forums I found the following:

Quote:
the easiest way is to put all your pdfs in the same folder and to drag and drop the folder on the Desktop Reader window. This way, the Desktop Reader will convert all your pdfs and put the prc files in the My Documents\My eBooks folder.
So perhaps we are making this harder than it needs to be.
wallcraft is offline   Reply With Quote
Old 09-27-2008, 12:10 AM   #15
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,577
Karma: 11337367
Join Date: Jan 2007
Location: Tampa, FL USA
Device: Kindle Touch
Quote:
Originally Posted by wallcraft View Post
So perhaps we are making this harder than it needs to be.

Well, brilliant. That's the answer then. Just drop a folder full of your ebooks to the reader and viola... no batch file required.

BOb
pilotbob is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ESVSB convert from Mobipocket bookwurm70 Calibre 6 06-28-2010 09:40 PM
How To mass-convert ereader files into HTML and then into MOBI GatorDeb Kindle Formats 2 12-18-2009 03:51 PM
convert from 'new' mobipocket to 'old' mobipocket? Indigo Ink Kindle Formats 11 06-22-2008 01:43 AM
Mass converting LIT -> Mobipocket? spirits Amazon Kindle 13 03-04-2008 08:52 AM
Convert Mobipocket Book to Word ? acidtest Workshop 0 03-02-2006 08:00 AM


All times are GMT -4. The time now is 04:31 AM.


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