bell notificationshomepageloginedit profileclubsdmBox

10.01% popularity   0 Reactions

I would like to create an online web document consisting of HTML files, image files, and PDF files. I want the document to be directly viewable in browsers with no plugin or special server support.

I am wondering whether epub software, such as Sigil, could be a good way to create such a document. Sigil has good editing tools and can manage a collection of files, but I would need a way to export the files in a form suitable for use on a web server. I do not want to use anything complicated like a content management system.

Is this a feasible approach, and how can the epub file be converted to a file tree for the web server?


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (1)

Login to follow story

More posts by @Lorelei

1 Comments

Sorted by latest first Latest Oldest Best

 

@Julie

10% popularity   0 Reactions

SIGIL is probably not your best tool for creating static HTML files although it's not impossible.

The main goal of sigil is to produce an epub file, and to read an epub in the browser, you'd need to install a special extension (Readium).

If you get down to it, epubs solve a navigation problem -- of flipping between chapters and of creating a TOC.

On the other hand, an epub is just a zip of html files and some extra navigation stuff. I build my epub files in another way (Docbook XML --> static HTML --> EPUB) -- but when testing/editing, I view each chapter and the table of contents web page in a browser.

I don't know if Sigil has a button to turn your files into an epub file, but my guess is that at some point, the chapters and TOC exist as HTML files. Even if they don't, you could simply rename the .epub to .zip and then unzip.

The file tree for epubs are fairly standard; here's what's generally inside.

OEBPS

1.html
toc.html
2.html
my.css
images/

META-INF (navigation stuff and metadata inside)

You could just ftp the oepbs directory to your website and you'd have all the static pages there (you might need to rename the toc.html to index.html so that's the default view. An index file in ebook usually doesn't refer to the TOC but the subject index at the end of the book.

So SIGIL could probably get the job done (and is especially recommended if you are using internal links between web pages), but a simple html editor would work just as well. (Heck, even MS Word to HTML could do the job, although you'd have to live with ugly code).


Free books android app tbrJar TBR JAR Read Free books online gutenberg


Load Full (0)

 

Back to top