Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Formats > ePub

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2011, 06:17 AM   #1
bramwell1922
Member
bramwell1922 began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Nov 2011
Device: none
Text files duplicate metadata etc?

Hi,

I'm told that it is good to have a separate text file for each chapter (I agree). But the examples only show a single file.

What I need to know is whether all the metadata <!DOCTYPE... etc should be repeated at the top of each text file, or whether I can create a single file for all that stuff and separate files just with the body section? If the latter, exactly which tags are required in the chapter files (eg do they all need a <body> ... </body> or does the first chapter need to start the <body> with the </body> tag at the end of the last chapter?)

Thanks for your help.
bramwell1922 is offline   Reply With Quote
Old 11-18-2011, 11:33 AM   #2
st_albert
Guru
st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'st_albert gives new meaning to the word 'superlative.'
 
Posts: 696
Karma: 150000
Join Date: Feb 2010
Device: none
Each "text" file should be a valid xhtml file, with all the doctype, head and body sections.
st_albert is offline   Reply With Quote
Advert
Old 11-19-2011, 07:51 AM   #3
Jellby
frumious Bandersnatch
Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.Jellby ought to be getting tired of karma fortunes by now.
 
Jellby's Avatar
 
Posts: 7,516
Karma: 18512745
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
The <!DOCTYPE... is not needed. In fact, in some cases you should not use it (if you use XHTML+SVG, for instance). Otherwise, the files must be proper XHTML files, with <?xml..., <html>, <head> and <body> tags.
Jellby is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Merging duplicate entries with different formats and slightly different metadata? maxsys Library Management 2 02-20-2011 04:19 AM
Duplicate files on SD card drdman Astak EZReader 6 08-08-2010 07:03 PM
Some basics - duplicate files, filenames clintbradford Kobo Reader 3 07-11-2010 04:18 AM
Duplicate text when turning pages ssummers Sony Reader 5 01-24-2009 05:00 PM
Duplicate database files Zach Reading and Management 2 05-31-2005 05:47 AM


All times are GMT -4. The time now is 02:23 AM.


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