Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2012, 10:29 AM   #1
Oxford-eBooks
Zealot
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
Question Editing PRC content with Calibre?

I thought I heard somewhere that you could edit PRC CONTENT with Calibre, not just the metadata.

I need to edit a load of PRC files for a client. The actual content on the Indicia page needs editing, so I need to go in and change the HTML.

I've got ePUB files to do the same to, so if I'm UTTERLY stuck, I could just pull the content from there and throw it through our own creation tools, but I don't want to create extra work - nor do I want to surprise my lovely customer with a larger bill. (Bad business practice, I guess but I'D be annoyed at getting an extra bill).

I'm slightly nervous about using Calibre or any other tool to convert formats back and forth (I thought about just converting the ePUB edits to PRC with Calibre). Knowing how FRAGILE the Kindle is with various types of formatting, I'd rather make the edit myself.

... oh, sorry, I rambled... just go back read the first two paras
Oxford-eBooks is offline   Reply With Quote
Old 03-21-2012, 10:40 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 29,800
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Oxford-eBooks View Post
I thought I heard somewhere that you could edit PRC CONTENT with Calibre, not just the metadata.

I need to edit a load of PRC files for a client. The actual content on the Indicia page needs editing, so I need to go in and change the HTML.

I've got ePUB files to do the same to, so if I'm UTTERLY stuck, I could just pull the content from there and throw it through our own creation tools, but I don't want to create extra work - nor do I want to surprise my lovely customer with a larger bill. (Bad business practice, I guess but I'D be annoyed at getting an extra bill).

I'm slightly nervous about using Calibre or any other tool to convert formats back and forth (I thought about just converting the ePUB edits to PRC with Calibre). Knowing how FRAGILE the Kindle is with various types of formatting, I'd rather make the edit myself.

... oh, sorry, I rambled... just go back read the first two paras
Calibre is NOT an editor.
While converting, it can make certain predefined, replacements (removals)
theducks is offline   Reply With Quote
Advert
Old 03-21-2012, 10:46 AM   #3
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by Oxford-eBooks View Post
I thought I heard somewhere that you could edit PRC CONTENT with Calibre, not just the metadata...
No, PRC files are not editable.

PRC files are compiled binary files. It is a "container" file format and not specifically and ebook. The only ebooks that are commonly compiled into PRC files are Mobipocket (Kindle) format. Calibre can convert these to other editable formats, generally ePub is the preferred format.

Quote:
I'm slightly nervous about using Calibre or any other tool to convert formats back and forth (I thought about just converting the ePUB edits to PRC with Calibre). Knowing how FRAGILE the Kindle is with various types of formatting, I'd rather make the edit myself.
It's not that the Kindle being "fragile" is the source of some people's grief. It is, instead, that the MOBI/Kindle format does not support some of the formatting structures supported by ePub. When the ePub uses formatting that is not supported in MOBI, the conversion program has to omit those instructions or replace them with the most similar MOBI-compatible construct.

I would suggest that you start by editing the existing ePub, something you need to do anyway, and then convert to MOBI using calibre. Test the results in Kindle Previewer and/or on a Kindle device. Don't rely on calibre's ebook viewer to proof a conversion.

If this initial ePub>MOBI conversion is unsatisfactory you may find that converting the existing PRC to ePub, making the changes again, and reconverting that ePub back to MOBI resolves the issues.
dwig is offline   Reply With Quote
Old 03-21-2012, 10:58 AM   #4
Oxford-eBooks
Zealot
Oxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of lightOxford-eBooks is a glorious beacon of light
 
Posts: 127
Karma: 12096
Join Date: May 2010
Device: Loads!
thanks dwig: I was thinking about going the PRC -> EPUB -> PRC route. At least it SHOULD catch any Kindle-specific coding that the origial authors may have put in.

I always test on the actual devices... especially since Kindle for PC seems not to allow me to drag MOBI files into it any more.
I don't trust Kindle Previewer either, it has some interesting ideas about line spacing / blank lines that are different to the Kindle itself.
Oxford-eBooks is offline   Reply With Quote
Old 03-21-2012, 06:53 PM   #5
dwig
Wizard
dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.dwig ought to be getting tired of karma fortunes by now.
 
dwig's Avatar
 
Posts: 1,613
Karma: 6718479
Join Date: Dec 2004
Location: Paradise (Key West, FL)
Device: Current:Surface Go & Kindle 3 - Retired: DellV8p, Clie UX50, ...
Quote:
Originally Posted by Oxford-eBooks View Post
...
I always test on the actual devices... especially since Kindle for PC seems not to allow me to drag MOBI files into it any more....
Kindle Previewer is the best preview software, but is surely isn't perfect. The final test should be on a device. I've seen differences in how tables render in addition to differences in text metrics (character size, character spacing, line spacing, ...).

I use the Open With plugin in calibre. Once properly configured, I can use it to open the selected book in any of several applications. My system default is set to Kindle Previewer and I use Open With to test the file in Kindle for PC. I also have calibre's ebook-viewer setup in Open With because it allows me to copy text in the book for pasting elsewhere (description field in edit metadata, ...)

Last edited by dwig; 03-21-2012 at 06:55 PM.
dwig is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Editing EPUB content with no extensions kiwidude Sigil 6 10-14-2011 10:19 PM
Editing metadata through content server? jrt3a Library Management 2 04-03-2011 10:36 PM
Editing cover in calibre da_jane Calibre 2 01-08-2011 04:33 PM
Metadata editing Problem with PRC barry Calibre 4 12-01-2009 08:21 PM
Editing Kindle (.prc) metadata on a Mac GJN Kindle Developer's Corner 15 03-10-2009 01:22 PM


All times are GMT -4. The time now is 10:15 AM.


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