Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how should relative links work? #167

Closed
tommowlam opened this issue Oct 29, 2014 · 1 comment
Closed

how should relative links work? #167

tommowlam opened this issue Oct 29, 2014 · 1 comment

Comments

@tommowlam
Copy link

We want to link to footnotes and other elements within the same chapter, using relative links.
This is working in the EPUB when using Adobe Digital Editions etc, but not when viewing via EPUB.js online - I cannot find any specific examples of this working, or issue reports of it not working - so would really appreciate some suggestions:

eg:
http://www.ubiquitypress.com/site/books/read/9/81/past-in-the-present/#epubcfi(/6/18[x011_poulios_book_Chapter01]!4[x011_poulios_book_Chapter01]/2/4/1:0)

...see link from superscript number 1, just before "(UNESCO 1977)".

The link is marked-up as:
1
...the target is marked-up as:
1

(we have also tried using 'id' rather than 'name' with the same result)

Opening the link in a new tab (in Chrome) does target the correct footnote - but that is not how people will expect to use it.

The EPUB is downloadable from:
http://www.ubiquitypress.com/site/books/detail/9/past-in-the-present/

Thanks in advance!

@fchasen
Copy link
Contributor

fchasen commented Dec 5, 2014

These should work with out changing the links at all. They were broken due to issues with archived epubs and relative urls fixed in #152

Thanks for the sample, I've downloaded it was able to confirm it works with the latest on master.

@fchasen fchasen closed this as completed Dec 5, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants