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

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-21-2013, 09:53 PM   #1
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
Calibre conversion creates invalid ID

I'm using ebook-convert on the command line to convert EPUB3 to EPUB2 (don't ask). The generated content.opf contains the following line:

<item href="OEBPS/text/cover.jpg" id="45a4ece0-c511-41cf-a1fd-4c2214c2e0bd" media-type="image/jpeg"/>

Turns out this ID is actually invalid, since ID's are not supposed to start with numbers, it would appear. And epubcheck complains, of course, and some overly picky bookstores would actually reject the books for this reason.

Any suggested workarounds other than manually editing the resulting files?
--
BOb
rtmyers is offline   Reply With Quote
Old 01-21-2013, 11:56 PM   #2
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: 43,773
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You're going to have to provide an example that shows this problem on conversion.
kovidgoyal is offline   Reply With Quote
Old 01-22-2013, 01:09 AM   #3
rtmyers
Member
rtmyers began at the beginning.
 
Posts: 24
Karma: 10
Join Date: Aug 2012
Device: iPad
It appears that this problem was caused by an invalid ID in the original file, which was evidently replaced by an auto-generated ID with the initial digit which caused the problem. Fixing the ID in the original file make the problem go away.
rtmyers 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
Calibre Creates Artifacts on X Windows windom Calibre 4 06-21-2012 09:33 AM
Conversion creates unreadable RTF Wyndham Conversion 11 03-25-2012 08:20 AM
Calibre creates duplicate folders BeccaPrice Library Management 5 07-04-2011 10:55 AM
Invalid cahracters while conversion Arabic pdf wwss83 Conversion 0 06-01-2011 12:42 AM
Do i need to save the covers Calibre creates? bookworm65 Calibre 4 08-10-2010 05:29 PM


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


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