Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Conversion

Notices

Reply
 
Thread Tools Search this Thread
Old 01-24-2012, 04:32 PM   #1
goatmop
Junior Member
goatmop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2012
Location: Colorado, USA
Device: Amazon Kindle
Links disappear during transfer from EPUB to MOBI

Greetings!

I'm struggling to understand why my links are not surviving the conversion process. They look and work great in EPUB format (using Sigil), but when I convert to MOBI, the links appear in the text as merely underlined text.

This is the code I am using:

In text: <a href="/Notes.xhtml#fn014" id="fn014marker">[4]</a>

In end notes: <a href="/Section0001.xhtml#fn014marker" id="fn014">4.</a>

As a side note, I tried converting my EPUB to PRC using Zamzar, but they rejected the file twice. Any guidance is greatly appreciated.
goatmop is offline   Reply With Quote
Old 01-24-2012, 06:20 PM   #2
wallcraft
reader
wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.wallcraft ought to be getting tired of karma fortunes by now.
 
wallcraft's Avatar
 
Posts: 6,977
Karma: 5183568
Join Date: Mar 2006
Location: Mississippi, USA
Device: Kindle 3, Kobo Glo HD
Try starting with "./" or remove the "/" completely, e.g. "Notes.xhtml#fn014".
wallcraft is offline   Reply With Quote
Advert
Old 01-25-2012, 07:57 AM   #3
goatmop
Junior Member
goatmop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2012
Location: Colorado, USA
Device: Amazon Kindle
Worked great, except now my mind has exploded.

To test your ideas, I changed the first four links in my book, the first two using the "./" method, and the second two abandoning the "/" completely. All four links worked, but now, all the rest of the links in the book work, too. Any ideas why that is?

Don't get me wrong, I'm not complaining. Just confused.
goatmop is offline   Reply With Quote
Old 01-25-2012, 10:59 AM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,065
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by goatmop View Post
Worked great, except now my mind has exploded.

To test your ideas, I changed the first four links in my book, the first two using the "./" method, and the second two abandoning the "/" completely. All four links worked, but now, all the rest of the links in the book work, too. Any ideas why that is?

Don't get me wrong, I'm not complaining. Just confused.
standard file system notation:

/ = always start at the ROOT of the file system (C:/ )
./ = starting at current directory
(no slash) = relative to here (very similar to the above, but there may be some odd exceptions)
theducks is offline   Reply With Quote
Old 01-28-2012, 07:27 AM   #5
goatmop
Junior Member
goatmop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2012
Location: Colorado, USA
Device: Amazon Kindle
So I've been thinking about this whole mess again, and I can't help but wonder if the problem lies in me using two different computers, which could very easily have two different versions of Calibre installed on them.

I'm not sure adding the "." is what fixed my problem, because while my original source code for the links in my EPUB was posted above, Calibre changed them, too. So instead of this:
<a href="/Notes.xhtml#fn014" id="fn014marker">[4]</a>

I had this:
<a href="../Text/Notes.xhtml#fn014" id="fn014marker">[4]</a>

I have not been able to check both computers, but the version that didn't work is Calibre 0.8.8, running on Ubuntu.
goatmop is offline   Reply With Quote
Advert
Old 01-28-2012, 03:42 PM   #6
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,065
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by goatmop View Post
So I've been thinking about this whole mess again, and I can't help but wonder if the problem lies in me using two different computers, which could very easily have two different versions of Calibre installed on them.

I'm not sure adding the "." is what fixed my problem, because while my original source code for the links in my EPUB was posted above, Calibre changed them, too. So instead of this:
<a href="/Notes.xhtml#fn014" id="fn014marker">[4]</a>

I had this:
<a href="../Text/Notes.xhtml#fn014" id="fn014marker">[4]</a>

I have not been able to check both computers, but the version that didn't work is Calibre 0.8.8, running on Ubuntu.
The second is normal Sigil breakout.
../ says back ONE level (the EPUB container level) where you will see a folder called 'Text'
./ is a *nux notation for the current folder
EPUBS never want a simple leadind slash. That would refer to something in the file system OUTSIDE of the book
theducks is offline   Reply With Quote
Old 01-29-2012, 01:23 PM   #7
goatmop
Junior Member
goatmop began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jan 2012
Location: Colorado, USA
Device: Amazon Kindle
Makes sense. I'm honestly not sure what ended up happening, but I think when I tried converting my EPUB to MOBI the first time, I failed to include the "./" so while the link worked while in Sigil, it didn't transfer. But, when the links all got converted to the normal Sigil breakout, that file transferred to MOBI just fine.

And for the record, I checked the computers. They all run Calibre 0.8.8, so that could not have been the issue (just answered my own question...).

Thanks to both!
goatmop is offline   Reply With Quote
Old 01-29-2012, 01:51 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,065
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by goatmop View Post
Makes sense. I'm honestly not sure what ended up happening, but I think when I tried converting my EPUB to MOBI the first time, I failed to include the "./" so while the link worked while in Sigil, it didn't transfer. But, when the links all got converted to the normal Sigil breakout, that file transferred to MOBI just fine.

And for the record, I checked the computers. They all run Calibre 0.8.8, so that could not have been the issue (just answered my own question...).

Thanks to both!
8.8 is 29 revisions down. Are you sure nothing has come along to tempt you to upgrade
theducks is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
MOBI conversion- links don't work russ5260 Conversion 1 08-02-2011 04:30 PM
TOC links inside tables in epub don't translate in mobi wannabee Calibre 1 01-20-2011 01:13 AM
Preserver MOBI/EPUB links in PDF mistersquid Calibre 2 05-31-2010 02:41 AM
Creator Email links not working in Mobi parvezali Kindle Formats 1 01-29-2010 10:29 AM
mobi book with links to other books for Kindle2 bxrLvr Kindle Formats 12 11-24-2009 10:40 AM


All times are GMT -4. The time now is 03:57 PM.


MobileRead.com is a privately owned, operated and funded community.