06-05-2009, 07:57 AM | #1 |
Junior Member
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? |
06-05-2009, 08:38 AM | #2 |
Guru
Posts: 714
Karma: 2003751
Join Date: Oct 2008
Location: Ottawa, ON
Device: Kobo Glo HD
|
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. |
Advert | |
|
06-05-2009, 09:30 AM | #3 | |
The Grand Mouse 高貴的老鼠
Posts: 72,341
Karma: 309002494
Join Date: Jul 2007
Location: Norfolk, England
Device: Kindle Voyage
|
Extract the HTML source*. Split the HTML source. Recompile into two ebooks.
Umm... Why? Quote:
*MobiPerl can do this |
|
06-06-2009, 04:25 AM | #4 | |
Grand Sorcerer
Posts: 9,707
Karma: 32763414
Join Date: Dec 2008
Location: Krewerd
Device: Pocketbook Inkpad 4 Color; Samsung Galaxy Tab S6
|
Quote:
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. |
|
06-07-2009, 07:56 AM | #5 |
Junior Member
Posts: 5
Karma: 10
Join Date: Jun 2009
Device: jetbook
|
|
Advert | |
|
06-07-2009, 08:01 AM | #6 |
eBook Enthusiast
Posts: 85,544
Karma: 93383043
Join Date: Nov 2006
Location: UK
Device: Kindle Oasis 2, iPad Pro 10.5", iPhone 6
|
Each to their own. Personally, I like combining books into "omnibus" editions .
|
Thread Tools | Search this Thread |
|
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 |