12-07-2011, 11:58 AM | #1 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2011
Device: none
|
a href links working/not working
I have a book which I need to link certain sections from one document to another - not a problem at all.
I verified the ePub to be sure all links were good and there were no other issues. Checked the ePub by opening it in ADE and Safari - looks great and the links work. However when I add the book to my iBooks on the iPad, the links do not direct to the correct location, but rather to the very first 'page' (Title page) of the book. So the a href's are working in ADE and Safari, but not in iBooks - anybody have an idea as to why? I'm not even attempting to link to a certain section of the separate (but still in book) document - just going straight to the document. I am thoroughly confused as to how it could work fine on my mac but not on the iPad. I'm using Text Wrangler to do all of my html/css work and all of my documents are xhtml. |
12-07-2011, 05:54 PM | #2 |
Evangelist
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
Not that I use any terrible crapple specific stuff but:
Sounds like you've got some invalid characters (commas, colons etc) in the hrefs or using direct addressing; ie href="something.html#stuff" often causes trouble while href="../Text/something.html#stuff" will be fine. Anyway, if you you need help, it's a good idea to provide us with an example(s), this regex : Code:
<a\b(?:\s*\w+="[^"]*")*\s*(href="[^"]+")(?:\s*\w+="[^"]*")*\s*> |
Advert | |
|
12-08-2011, 12:20 PM | #3 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2011
Device: none
|
In all honesty, I have no clue how to use a regex... But here's the a href in the doc... And it just repeats a couple of times throughout the book.
<a href="../OEBPS/Note.xhtml">Note</a> The document it's linking to is part of the ePub, and it is titled "Note.xhtml" Like I said though - the links work perfectly fine except in iBooks. |
12-08-2011, 06:18 PM | #4 |
Evangelist
Posts: 416
Karma: 1045911
Join Date: Sep 2011
Location: Cape Town, South Africa
Device: Kindle 3
|
Hmm that's pretty odd, tho I'd throw it through Sigil / flightcheck and make sure that it doesn't complain about referenced files not being correctly included in the manifest etc.
|
12-08-2011, 10:09 PM | #5 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
It must be an exact match on all but Windows based systems. (Some systems may try to make this case insensitive, but don't ever count on it ) |
|
Advert | |
|
12-09-2011, 12:42 PM | #6 |
Member
Posts: 10
Karma: 10
Join Date: Sep 2011
Device: none
|
Checks out perfectly fine --- and I made sure to use proper casing for all the links. I have had issues caused from that already. This is such a mystery!
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
iPad Links in epub not working on second click (iPad) | alice88 | Apple Devices | 1 | 10-20-2011 01:31 AM |
Update: Working - not working? | exscentric | enTourage eDGe | 36 | 07-22-2011 05:38 PM |
Links are not working in epub for ipad | roco | Apple Devices | 1 | 07-09-2010 02:38 AM |
Creator Email links not working in Mobi | parvezali | Kindle Formats | 1 | 01-29-2010 10:29 AM |
Download links not working | toolio | Calibre | 1 | 12-09-2009 11:51 AM |