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

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2017, 01:35 AM   #1
AlanHK
Addict
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 229
Karma: 1000
Join Date: Apr 2014
Device: PW-3, Android phone
epub3 to epub2

Is there a reliable way to convert epub3 to epub2?

I know that information may theoretically be lost; I'm fine with that.

Sigil acts weirdly in some files that have epub3 features. And if I do epubcheck it spews out hundreds of errors, though the file may display fine in practice, making it useless to diagnose real problems.
AlanHK is offline   Reply With Quote
Advert
Old 07-19-2017, 02:33 AM   #2
Doitsu
Wizard
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 3,805
Karma: 9827814
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by AlanHK View Post
Is there a reliable way to convert epub3 to epub2?
I know that information may theoretically be lost; I'm fine with that.
You could do an epub-to-epub conversion with Calibre, which will automatically convert epub3 books to epub2 books.
However, this process will add Calibre styles and metadata.

Quote:
Originally Posted by AlanHK View Post
Sigil acts weirdly in some files that have epub3 features.
I never had any problems with epub3 books. What specific problems did you encounter?
(It'd help KevinH and DiapDealer to fix these problems, if you sent them one of these books via PM.)

Quote:
Originally Posted by AlanHK View Post
And if I do epubcheck it spews out hundreds of errors, though the file may display fine in practice, making it useless to diagnose real problems.
If you want to edit an epub3 book that someone has accidentally saved as an epub2 book, exporting it as an epub3 book with Sigil will usually fix most of these errors.
Doitsu is offline   Reply With Quote
Old 07-19-2017, 06:49 AM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 16,392
Karma: 85729102
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If an EPUB3 open in Sigil generates EpubCheck errors, I can assure you that those errors are "real problems". EPUB3s do not inherently generate any more EpubCheck errors than EPUB2s do.

And yes, we very much would like to know of any "weird" Sigil behavior when working with EPUB3s. I work nearly exclusively with EPUB3, and it works as it's designed for me. If there are problems, we'd like a chance to fix them.

Last edited by DiapDealer; 07-19-2017 at 06:54 AM.
DiapDealer is online now   Reply With Quote
Old 07-19-2017, 10:55 AM   #4
KevinH
Wizard
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 2,489
Karma: 772404
Join Date: Nov 2009
Device: many
Quote:
Originally Posted by DiapDealer View Post
And yes, we very much would like to know of any "weird" Sigil behavior when working with EPUB3s. I work nearly exclusively with EPUB3, and it works as it's designed for me. If there are problems, we'd like a chance to fix them.
Absolutely! Please let us know how you think Sigil is acting weird with epub3.
KevinH is offline   Reply With Quote
Old 08-03-2017, 07:34 AM   #5
AlanHK
Addict
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 229
Karma: 1000
Join Date: Apr 2014
Device: PW-3, Android phone
Sorry for not checking back earlier.

I may be wrong about it being epub3 features that were the problem.

I'll make some notes on the "weirdness" next time it happens -- those I had issues with are now fixed after I stripped out the codes manually.

I'll try Calibre conversion too. I have found it useful before to regularise ePubs that were valid but painful to edit.
AlanHK is offline   Reply With Quote
Old 08-03-2017, 09:12 PM   #6
Turtle91
Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,455
Karma: 11279752
Join Date: Dec 2012
Location: Altus, Oklahoma today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
At it's very basic level you can change an ePub3 to ePub2 by manually editing the .opf file (not using Sigil...) to change "<package version="3.0" ..." to "<package version="2.0"... "

Then you can use Sigil to remove any unwanted tags or nav files.
Turtle91 is online now   Reply With Quote
Old 08-08-2017, 05:11 AM   #7
AlanHK
Addict
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 229
Karma: 1000
Join Date: Apr 2014
Device: PW-3, Android phone
Quote:
Originally Posted by Turtle91 View Post
Then you can use Sigil to remove any unwanted tags or nav files.
Yes. Which can take a LONG time. Which is why I want a more automated method.
AlanHK is offline   Reply With Quote
Old 08-08-2017, 05:49 AM   #8
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: 48,549
Karma: 39003673
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by AlanHK View Post
Yes. Which can take a LONG time. Which is why I want a more automated method.
I frequently convert ePub 3 to ePub 2. It doesn't take all that long.

You could use the TagMechanic plugin to help automate removing of tags you don't want in ePub 2.
JSWolf is offline   Reply With Quote
Old 08-08-2017, 10:57 PM   #9
Turtle91
Wizard
Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.Turtle91 ought to be getting tired of karma fortunes by now.
 
Turtle91's Avatar
 
Posts: 1,455
Karma: 11279752
Join Date: Dec 2012
Location: Altus, Oklahoma today
Device: iPhone 6/5/iPad 1,2 & Air/Surface Pro/Kindle PW
Quote:
Originally Posted by AlanHK View Post
Yes. Which can take a LONG time. Which is why I want a more automated method.
A few basic regex replaces....takes only a few minutes.
Turtle91 is online now   Reply With Quote
Old 08-08-2017, 11:04 PM   #10
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: 20,666
Karma: 20350406
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab 2(RIP)
Quote:
Originally Posted by Turtle91 View Post
A few basic regex replaces....takes only a few minutes.


grouped Saved searches are your friend
theducks is online now   Reply With Quote
Old 08-09-2017, 04:08 AM   #11
AlanHK
Addict
AlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheeseAlanHK can extract oil from cheese
 
AlanHK's Avatar
 
Posts: 229
Karma: 1000
Join Date: Apr 2014
Device: PW-3, Android phone
Quote:
Originally Posted by Turtle91 View Post
A few basic regex replaces....takes only a few minutes.

Once you work out what needs be done. Interpreting obscure error messages, looking up specs, etc, etc. Anyway, I do know how to do it manually. Same as I know how to do long division of 20 digit numbers. Just would prefer to take a shortcut.
AlanHK is offline   Reply With Quote
Old 08-09-2017, 05:06 AM   #12
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: 48,549
Karma: 39003673
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by AlanHK View Post
Once you work out what needs be done. Interpreting obscure error messages, looking up specs, etc, etc. Anyway, I do know how to do it manually. Same as I know how to do long division of 20 digit numbers. Just would prefer to take a shortcut.
Read post #8 in this thread and get the plugin mentioned. That will help automate some things that may need to be done in the conversion from ePub 3 to ePub 2.
JSWolf 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
Convert from epub3 to epub2 (yes, backwards) BKh Sigil 23 05-15-2017 04:53 PM
epub3 app with epub3 dictionary support Doitsu ePub 0 01-21-2017 09:38 AM
How to solve EPUB3/EPUB2 rendering issue on Ipad E-Books ePub 2 05-16-2013 07:07 AM
Confused! XHTML, HTML, HTML5, EPUB2, EPUB3??? carlosbcg ePub 29 02-23-2013 07:32 PM
JAVASCRIPT support in ePub2/ePub3 Raja1205 ePub 7 09-03-2012 06:48 AM


All times are GMT -4. The time now is 06:36 PM.


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