View Single Post
Old 04-18-2024, 07:18 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 20,625
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Dzib View Post
Hi,

Is it possible to include metadata in a link that could be clickable in book details ?
Something like <a href="file:///E://Books/{author}/{title}.pdf">a book</a>
Yes, you need to put the link into long text column thats interpreted as HTML - my Test library has one called Links/#links - to add the file link do this:

Click image for larger version

Name:	Screenshot 2024-04-19 083516.jpg
Views:	44
Size:	432.6 KB
ID:	207707

Then you can click on the column in Book details:

Click image for larger version

Name:	Screenshot 2024-04-19 084412.jpg
Views:	36
Size:	517.8 KB
ID:	207708

If the file cannot be found it's dead link, nothing will happen of you click on it.

If this is for adding an extra file(s) to a book - e.g. a French language EPUB of Proust's Remembrance…, when you already have an EPUB in English you should consider using calibre's 'data' folder feature

Quote:
8.3 Adding extra data files to a book

calibre can store any number of extra data files associated to a book. These can be alternate covers, supplementary material, etc. They cannot be viewed directly or used as conversion sources. Nor are they indexed by the Full text search engine in calibre. To view/add/delete them select the book and right click the Edit metadata button and choose Manage data files. This will pop-up a window where you can perform operations on these files. Alternately, you can right click the Add books button and choose Add data files to selected book records to more quickly add data fi les.
BR

Last edited by BetterRed; 04-18-2024 at 07:21 PM.
BetterRed is offline   Reply With Quote