08-18-2024, 12:49 PM | #1 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
Broken index
Greetings,
After creating an index in Sigil, which works in the program, koreader is injecting some weird string in ALL nav links: Code:
#_doc_fragment_24_ All I am doing is using this in pages Code:
<a href="#place_01"></a> Code:
<li><a href="page_01.xhtml#place_01"><b>CHAPTER TITLE</b></a></li> I would appreciate some help with this. Thanks |
08-18-2024, 01:58 PM | #2 |
Wizard
Posts: 1,675
Karma: 730583
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
|
That means it's linking to the 24th "doc fragment", or in other words the 24th .xhtml file within the EPUB. It's supposed to be there, otherwise it wouldn't be able to find it.
What you're doing wouldn't work anywhere because you're supposed to link to id="place_01". It's generally recommended to use that like: Code:
<h2 id="place_01">CHAPTER TITLE</h2> |
Advert | |
|
08-18-2024, 03:51 PM | #3 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
What a careless oversight!!
Let me get this straight, in nav this: Code:
<li><a href="page_01.xhtml#place_01"><b>CHAPTER TITLE</b></a></li> page_01.xhtml Code:
<a id="place_01"></a> Code:
<a id="place_01"></a> Code:
<a id="#place_01"></a> Code:
<div> <a id=something></a> <img src=../Images/image.png> </div> Thanks. |
08-18-2024, 03:57 PM | #4 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
|
08-18-2024, 04:29 PM | #5 |
Enthusiast
Posts: 36
Karma: 10
Join Date: Sep 2023
Device: none
|
It's working now.
The only remaining issue whether <img> tag should be linked with 'id' or not. Thanks |
Advert | |
|
08-18-2024, 04:44 PM | #6 |
frumious Bandersnatch
Posts: 7,536
Karma: 19000001
Join Date: Jan 2008
Location: Spaniard in Sweden
Device: Cybook Orizon, Kobo Aura
|
You can put an id in any tag, and link to it.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kindle PW3 5.9.6.1 ssh broken pipe leaves broken ssh | xception | Kindle Developer's Corner | 8 | 01-27-2019 11:23 AM |
Recipe broken due to missing index.html on site | kentmatt | Recipes | 1 | 04-20-2016 10:49 PM |
Index: Making a linked index in epub | virtual_ink | ePub | 21 | 10-20-2011 12:23 AM |
Broken PRS-505; any place to buy chrome bottom piece? Or anyone with broken 505? | erikk | Sony Reader | 1 | 12-09-2009 07:51 PM |
Broken Ipod works Fine! except that its broken | Andybaby | Lounge | 1 | 06-04-2009 03:03 AM |