View Single Post
Old 06-23-2011, 07:52 PM   #1
rstevenson
Junior Member
rstevenson began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Jun 2011
Location: Dartmouth, NS
Device: iPad, etc.
Error when trying to save new ePub project

Hi,

Confused and frustrated noob here.

I have a large chunk of a web site that is to be turned into an ePub. I couldn't find a way to add separate html files to my project in Sigil, so I put them all together into one huge html page and Opened that in Sigil. Then I went through and made chapter breaks in the file as needed. Worked like a charm!

But not quite. Having tired myself out I wanted to save it at that point and take a break. Easy, I thought, just select Save or hit the Save button. Nope. Sigil pops up an error dialog which says...
Quote:
Sigil currently cannot save files of type "html".
Please choose a different format.
Well, the file was originally html, it's true. But looking at the code view I see this at the top of every chapter...
Quote:
<?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">
And all the chapters were created with the default file names, all of which end in .xhtml. The original imported file did not, so I changed its filename ending to .xhtml too. (It also has that code chunk at top identifying it as, I think, XHTML.)

What do I do now? Am I going to lose all that work?

Rob
rstevenson is offline   Reply With Quote