View Single Post
Old 03-02-2010, 05:09 PM   #27
Valloric
Created Sigil, FlightCrew
Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.Valloric ought to be getting tired of karma fortunes by now.
 
Valloric's Avatar
 
Posts: 1,982
Karma: 350515
Join Date: Feb 2008
Device: Kobo Clara HD
Quote:
Originally Posted by zelda_pinwheel View Post
i put that code to the same good use.
I just thought of a way: create an SGF. SGF is just an epub with one large XHTML file with the chapter break code instead of many different chapters.

So...
  1. Extract any SGF file.
  2. Replace the content of the sole XHTML file inside the OEBPS folder with any HTML content you wish.
  3. [optional] Edit the OPF file with any metadata or whatever.
  4. Zip the OEBPS and META-INF folders into a ZIP archive, changing the extension to SGF. Don't bother with the "mimetype" file, Sigil doesn't care.
  5. Open in 0.2.0.
  6. ...
  7. Profit!
If you have any images, you can add those to the SGF directly (don't forget to list them in the OPF), or you could just add them in the Book Browser.

That's the best I have for you now.
Valloric is offline   Reply With Quote