Putterer, been looking for weeks for someone to post about this but no luck.
I take zipped .html mostly from Fadepage (Distributed Proofreaders Canada) and also from PG and convert to .epubs for my own usage. The .epubs from the 0.5 series would have the first sheet as, say, 20120626.html and from then on after every split at cursor or page break the output would be .xhtml - example Title.xhtml, Chapter01.xhtml etc. after renaming.
One of the first things I did was to cut and paste out the <style> </style> section and put into a style sheet /Styles/Style0001.css and then put in a link.
Since 0.62 in linux (and also 0.70 on Windows 7) my splits between title page, Contents, chapters, etc. all end in .html - not .xhtml (BTW I love the new right click to link style sheets)
example first section is 20130224.html
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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" xml:lang="en">
<head>
<!-- terminate if block for class html -->
<title>The Song of Roland translated by Dorothy L. Sayers</title>
<link href="../Styles/Style0001.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p class="sgc-1">* A Distributed Proofreaders Canada eBook *</p>
<p>This eBook is made available at no cost and with very few restrictions. These restrictions apply only if (1) you make a change in the eBook (other than alteration for different display devices), or (2) you are making commercial use of the eBook. If either of these conditions applies, please check with an FP administrator before proceeding.</p>
<p>This work is in the Canadian public domain, but may be under copyright in some countries. If you live outside Canada, check your country's copyright laws. <b>If the book is under copyright in your country, do not download or redistribute this file.</b></p>
<p><i>Title:</i> The Song of Roland</p>
<p><i>Date of first publication:</i> 1957</p>
<p><i>Translator and Author:</i> Dorothy L. Sayers (1893-1957)</p>
<p><i>Date first posted:</i> February 22 2013</p>
<p><i>Date last updated:</i> February 22 2013</p>
<p>Faded Page eBook #20130221</p>
<p>This ebook was produced by: Stephen Hutcheson, Brenda Lewis & the Online Distributed Proofreading Canada Team at http://www.pgdpcanada.net</p>
</body>
</html>
and for the next section labeled as Section0001.html (not .xhtml as in past)
Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<!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" xml:lang="en">
<head>
<!-- terminate if block for class html -->
<title>The Song of Roland translated by Dorothy L. Sayers</title>
<link href="../Styles/Style0001.css" rel="stylesheet" type="text/css" />
</head>
<body>
<p><br />
<br />
<br />
<br /></p>
<div class="img"><img alt="THE SONG OF ROLAND" height="711" src="../Images/cover.png" width="451" /></div>
<div class="box">
<h1>THE SONG OF<br />
ROLAND</h1>
<p class="center">★</p>
<p class="center"><span class="small">A NEW TRANSLATION BY</span><br />
<i>Dorothy L. Sayers</i></p>
<p class="center"><span class="small">PENGUIN BOOKS</span></p>
<p class="center"><span class="small">Penguin Books Ltd, Harmondsworth, Middlesex</span></p>
<p class="center"><span class="small">U.S.A.: Penguin Books Inc., 3300 Clipper Mill Road, Baltimore 11, Md</span></p>
<p class="center"><span class="small">AUSTRALIA: Penguin Books Pty Ltd, 762 Whitehorse Road,<br />
Mitcham, Victoria</span></p>
<p class="center"><span class="small">First published 1957</span></p>
<p class="center"><span class="small">Copyright © Dorothy L. Sayers 1957</span></p>
<p class="center"><span class="small">Made and printed in Great Britain<br />
by The Whitefriars Press Ltd<br />
London and Tonbridge</span></p>
</div>
</body>
</html>
Is the .html extension for all the new normal, or am I doing something wrong?
TIA mark