Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > Workshop

Notices

Reply
 
Thread Tools Search this Thread
Old 05-11-2009, 11:07 AM   #1
tibiafry
Enthusiast
tibiafry has learned how to buy an e-book online
 
tibiafry's Avatar
 
Posts: 43
Karma: 78
Join Date: Jan 2009
Device: Iliad
Splitting help needed

Hello, I've come with this ePub file from the InDesign where I have a single xhtml with the following structure
Code:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<title>My_Title_Here</title>
		<link href="template.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<div id="x-02-my-title-here">
			<div class="story">
Then the book (wich I want to split up in different xhtml files) and then the ending code
Code:
			</div>
		</div>
	</body>
</html>
So, how do I have to split the chapters (XSLT, XPATH, Oxygen, you name it...) I know that the chapters start with this
Code:
<p class="bot-pagina"></p>
And I guess that later I'll have to edit OPF, and maybe some several things too. One thing that worries me is what will happen if div id="x-02-my-title-here" is the same with all the files (do i need to change it for calling it in the OPF?).

So, how can I easilly split that file into several chapter files?
tibiafry is offline   Reply With Quote
Old 05-18-2009, 08:16 AM   #2
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: 73,897
Karma: 128597114
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Give Calibre a try.. use any2epub to do the conversion and see how it goes.
JSWolf is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Splitting Landscape Scans Devlar Workshop 8 09-04-2013 03:21 PM
ever think of splitting calibre into 3 different apps KevinH Calibre 12 02-25-2010 11:19 PM
Splitting files... or something? *Angie* Calibre 4 09-14-2009 07:42 PM
Splitting an ebook in 2 Spectralist Workshop 5 06-07-2009 08:01 AM


All times are GMT -4. The time now is 10:28 PM.


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