![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2010
Device: Several
|
Challenging! Link to hidden html file in ePub
Hello forum,
I'm trying to do something that may not be possible in ePub. I want to link from the text in a chapter to an html file that does not appear in the reading order. I.e., if you were to page through the ePub, the content of that html file would not appear. It can only be linked to. A link on that page would return the reader to the main content. I've tried modifying the <spine> section in the OPF so that linear is set to "no" for the item as follows: <itemref idref="tgt01" linear="no"> But this doesn't work in ADE or Sony (or Kindle for that matter when the file is converted to .prc). I've also tried removing the file from the <manifest> section of the OPF, but you cannot link to un-manifested files in ePub. Does anyone have any ideas on how to accomplish this? Thanks! RJW |
![]() |
![]() |
![]() |
#2 |
Wizzard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 11,517
Karma: 33048258
Join Date: Mar 2010
Location: Roundworld
Device: Kindle 2 International, Sony PRS-T1, BlackBerry PlayBook, Acer Iconia
|
Currently, it doesn't look like it can be done if linear="no" isn't doing it with your test-readers.
Probably the most you could really do right now is as Barnes & Noble does for the footnotes in their Classics editions, and have those files located after the end of the rest of the book, when most people will have stopped reading anyway. But this may not be enough for the effect that you want. Also, welcome to MobileRead! Last edited by ATDrake; 09-17-2010 at 06:48 PM. Reason: Oops, forgot the welcome. |
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
frumious Bandersnatch
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,543
Karma: 19001583
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
Quote:
"Reading Systems are not required to differentiate between primary [linear="yes"] and auxiliary [linear="no"] content, and for the requirements and recommendations given in this section may consider all OPS Content Documents in spine to be primary, regardless of the value of the linear attribute." Removing the file from the <spine> or the <manifest> would produce invalid ePUB files, so don't do it. Instead, write a polite letter to Adobe (and Sony, and others) asking them to implement the distinction between primary and auxiliary content. |
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Sep 2010
Device: Several
|
Thanks Jellby and ATDrake for the information. I'm new to this forum, as you know, but I anticipate many return visits.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Quick and dirty conversion of html to epub WITH intra-file links | Birdonawire | ePub | 2 | 06-18-2010 02:18 AM |
Converting Merged HTML file to Epub/PDF Not Working | MV64 | Calibre | 1 | 06-07-2010 07:48 PM |
How can i convert HTML or txt file to EPUB file ? | guguqiaqia | ePub | 7 | 05-28-2010 09:15 PM |
Several xhtml/html to a single epub file help. | clowe1028 | ePub | 3 | 03-21-2010 03:47 AM |
Problem with html->epub: reader can't page through file | horseflesh | Calibre | 5 | 10-20-2009 12:22 AM |