View Single Post
Old 04-19-2008, 03:08 PM   #481
tompe
Grand Sorcerer
tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.tompe ought to be getting tired of karma fortunes by now.
 
Posts: 7,452
Karma: 7185064
Join Date: Oct 2007
Location: Linköpng, Sweden
Device: Kindle Voyage, Nexus 5, Kindle PW
Quote:
Originally Posted by Jellby View Post
Well, now I've tried with Mobireader and with the Cybook, and indeed the links don't work. I think my HTML doesn't have anything strange, I have things like:

<A HREF="#780619">19</A>
...
<A NAME="780619">19/06/1978</A><BR>



Hmm... but how do I create the opf file? Or better, what are opf files? (what is their format? are they text files? can they be easily created from HTML?) I'm using Linux, by the way, so Windows-only tools are of no use to me.
I assume the links works in the html file? You could try to use "a", "href" and "name" and see if it works.

opf files are documented on the MobiPocket web site. The contain meta information and pointers to the html files that te book consists of. Thinking about it a bit more I think it will work if you just put the guide thing in the correct place in the html file (the header). html2mobi should expand the links to a filepos and it should work.
tompe is offline   Reply With Quote