03-23-2011, 09:26 PM | #1 |
Member
Posts: 24
Karma: 590
Join Date: Oct 2010
Location: Adelaide, South Australia
Device: Prs 350
|
Creating hyperlinks in Epubs
I am just starting to play around with creating epubs (from the ground up) for viewing on my new Sony 350. I would like to ask a very general question about creating hyperlinks/bookmarks in epubs. So far, I have been creating html files using Microsoft Frontpage, and then converting to epub using Calibre. I have put in bookmarks and hyperlinks (within the html document) exactly as I would when creating a web page. When I view the html document in a web browser, all the links work as they should. However, when I convert to epub using calibre, the links do not work correctly (either in the Calibre epub viewer or on the Sony 350). Some do not work at all, and others do not jump to the correct place (the page does not open with the bookmarked position at the top of the screen).
It seems that epubs need hyperlinks to be created in some particular way - could anyone please point me to some instructions about what I need to do to make them work correctly. I hope I'm not missing something obvious, but I have searched within this forum, and I haven't found anything so far. |
03-24-2011, 04:12 AM | #2 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Links must be relative, since all files are in one big zip (epub) file. Please keep in mind, that it should be xhtml and not html.
Links could be like: <a href="../Text/chap4.xhtml#ref3" id="refer3">text</a> Biggest change, the use of id instead of name. |
Advert | |
|
03-24-2011, 07:09 PM | #3 |
Member
Posts: 24
Karma: 590
Join Date: Oct 2010
Location: Adelaide, South Australia
Device: Prs 350
|
Thanks very much for your helpful reply. I hadn't realised about the xhtml vs html aspect - I clearly have a lot of learning to do.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Old Thread] Problems with creating epubs w/ interlinear text | Doitsu | Calibre | 6 | 11-20-2011 07:51 PM |
Interested in French and Creating epubs | Seoulbob | Introduce Yourself | 2 | 01-09-2011 04:21 AM |
creating a mobi file with hyperlinks. | jimbbq | Amazon Kindle | 11 | 09-29-2010 03:53 PM |
PRS-505 Is it possible to disable hyperlinks in ePubs? | micomicon | Sony Reader | 0 | 08-18-2010 01:35 PM |
Hyperlinks Help ^^ | Anarel | Workshop | 2 | 08-16-2010 09:12 AM |