How to properly format links so they validate and work, too?
I created a book in Adobe InDesign and exported it as an ePub.
I opened the ePub with Springy. (BTW, I'm on a Mac.) Each chapter was exported as a separate .xhtml file in the ePub. I had created a separate chapter for the Table of Content. I opened that file, which is the name-of-the-book-5.xhtml and I manually added links to the chapter names. The links looked like this:
<a href="name-of-the-book-1.xhtml">Chapter number</a>
This ePub validates with epubcheck-1.0.5. Trouble is, when put on the iPod, the links do not work.
So I added ../ to the links to make the iPod look in another file. The links now looks like this:
<a href="../name-of-the-book-1.xhtml">Chapter number</a>
Loaded this onto the iPod. Bingo! Links work. Trouble is, now the file does not pass the validation test.
Ideas?
|