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 05-11-2009, 12:07 PM   #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, 09: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: 38,814
Karma: 19656443
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 1, iPhone 5
Give Calibre a try.. use any2epub to do the conversion and see how it goes.
JSWolf is online now   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 04:21 PM
ever think of splitting calibre into 3 different apps KevinH Calibre 12 02-26-2010 12:19 AM
Splitting files... or something? *Angie* Calibre 4 09-14-2009 08:42 PM
Splitting an ebook in 2 Spectralist Workshop 5 06-07-2009 09:01 AM


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


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