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

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 06-05-2009, 07:57 AM   #1
Spectralist
Junior Member
Spectralist began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2009
Device: jetbook
Splitting an ebook in 2

How do you split an ebook in two? The book came as a .prc but i don't mind converting it to whatever first.

Is there any good .prc or .epub editor software out there that would make this easy?
Spectralist is offline   Reply With Quote
Old 06-05-2009, 08:38 AM   #2
Ankh
Guru
Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.Ankh ought to be getting tired of karma fortunes by now.
 
Ankh's Avatar
 
Posts: 707
Karma: 2003741
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Touch
Epub format is, essentially, a zip archive containing a bunch of human-readable, text files. Unzip the file twice to create two copies, it should be a 15 minutes job with any text editor to fix the copies, if you know what you are doing. If you haven't tried it yet, an excellent starting point is Epub Format Construction Guide.

You need to identify xml/html files that need to be removed/edited, and then do a couple of simple modifications to *.opf (remove entries related to xml/html files that you are removing) and toc.ncx (remove entries for files that you don't need, reorder the rest) file. Once you're done, zip the files to create new ePub containers and test them. That's it.
Ankh is offline   Reply With Quote
Old 06-05-2009, 09:30 AM   #3
pdurrant
The Grand Mouse
pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.pdurrant ought to be getting tired of karma fortunes by now.
 
pdurrant's Avatar
 
Posts: 30,671
Karma: 85135660
Join Date: Jul 2007
Location: Norfolk, England
Device: NOOK ST GlowLight
Extract the HTML source*. Split the HTML source. Recompile into two ebooks.


Umm... Why?


Quote:
Originally Posted by Spectralist View Post
How do you split an ebook in two? The book came as a .prc but i don't mind converting it to whatever first.

Is there any good .prc or .epub editor software out there that would make this easy?

*MobiPerl can do this
pdurrant is offline   Reply With Quote
Old 06-06-2009, 04:25 AM   #4
Sweetpea
Grand Sorcerer
Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.Sweetpea ought to be getting tired of karma fortunes by now.
 
Sweetpea's Avatar
 
Posts: 7,939
Karma: 22621990
Join Date: Dec 2008
Location: Krewerd
Device: HTC Flyer; BBMini; Sony PRS650; Onyx Boox T68
Quote:
Originally Posted by pdurrant View Post
Extract the HTML source*. Split the HTML source. Recompile into two ebooks.


Umm... Why?
I have bought books that contain 2 books in one .prc file. I prefer one book per file, so I'm splitting them. Might be the same reason for the OP.

To the OP: I extract the HTML source and split the HTML code (that does require a bit of work, depending on the source, you need to find out where the split is and what to put in both (new) sources). Then I copy the e-book files that are to be in both books (like the manifest) and edit them if needed (book title for example and the ID).

And finally, I recompile both books.
Sweetpea is offline   Reply With Quote
Old 06-07-2009, 07:56 AM   #5
Spectralist
Junior Member
Spectralist began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2009
Device: jetbook
Quote:
Originally Posted by Sweetpea View Post
I have bought books that contain 2 books in one .prc file. I prefer one book per file, so I'm splitting them. Might be the same reason for the OP.
Precisely

I've got it working, thanks all.
Spectralist is offline   Reply With Quote
Old 06-07-2009, 08:01 AM   #6
HarryT
eBook Enthusiast
HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.HarryT ought to be getting tired of karma fortunes by now.
 
HarryT's Avatar
 
Posts: 62,168
Karma: 39474943
Join Date: Nov 2006
Location: UK
Device: PW2, iPad Retina Mini, iPhone 4, MS Surface Pro, Onyx T68, N7,
Each to their own. Personally, I like combining books into "omnibus" editions .
HarryT 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
Splitting Landscape Scans Devlar Workshop 8 09-04-2013 03:21 PM
K3 splitting words in Mobi RockSlice Calibre 11 12-31-2010 01:38 AM
Splitting files... or something? *Angie* Calibre 4 09-14-2009 07:42 PM
Splitting help needed tibiafry Workshop 1 05-18-2009 08:16 AM
Splitting a Book into 2 Volumes? TedPark Workshop 14 06-13-2008 12:11 PM


All times are GMT -4. The time now is 11:59 PM.


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