View Single Post
Old 04-12-2010, 12:42 PM   #1
GRiker
Comparer of the Ephemeris
GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.GRiker ought to be getting tired of karma fortunes by now.
 
Posts: 1,496
Karma: 424697
Join Date: Mar 2009
Device: iPad
Adding a <reference> item to <guide> in OPF file

(Apologies if this is covered somewhere, I did a quick search in the postings without any hits.)

I'd like to be able to add a line within the <guide> section of the .OPF file:
Code:
<guide>
     <reference type="toc" title="Table of Contents" href=... />
</guide>
This allows calibre to connect a Table of Contents on the Kindle.

I'm happy to do it by hand, but I can't figure out any way to get to the .OPF file within Sigil. I can explode the .epub file and edit the .OPF file and re-zip, but that seems inelegant and awkward.

Is this possible with the current beta?

G
GRiker is offline   Reply With Quote