View Single Post
Old 08-28-2015, 11:43 PM   #1
ni_c
Enthusiast
ni_c began at the beginning.
 
Posts: 40
Karma: 10
Join Date: Jul 2015
Device: none
Creating local file links

Hi,

this' just a general html question, more about OS file structures (using Windows7) but not sure the best place to ask other than here, and the only relevant info i found doesnt work

I wanto add local file links to ebooks and use relative (root folder) paths, eg if the main books saved in

C:\\Users\Me\Documents\EXAMPLE\goodbook.epub

and the book being linked to is saved in

C:\\Users\Me\Documents\EXAMPLE\REFERENCE\anotherbo ok.pdf

Calibre's E-book viewer will open the pdf (with its default program) using the following

<a href="file:///C://Users/Me/Documents/EXAMPLE/REFERENCE/anotherbook.pdf">another book</a>

but the advice (here) to shorten it to the following doesnt work

<a href="../REFERENCE/anotherbook.pdf">another book</a>

fwiw also tried it with OpenOffice with no luck either, so not a Calibre specific problem, maybe someone could point me to another forum as an alternative. Cheers

Last edited by ni_c; 08-28-2015 at 11:59 PM.
ni_c is offline   Reply With Quote