04-18-2024, 01:05 PM | #1 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
Metadata in link
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> |
04-18-2024, 01:11 PM | #2 |
Well trained by Cats
Posts: 30,439
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Sure, but think about it :
1)The reader only supports 1 book open at a time. The where has no link back. 2)If you go there, how do you get back? 3)E: is on your PC, not your (general) device |
04-18-2024, 01:25 PM | #3 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
If the link point to a folder, ie : <a href="file:///E://Books/{author}/">a folder</a>, will explorer open a new window at that folder ?
|
04-18-2024, 02:21 PM | #4 | |
the rook, bossing Never.
Posts: 12,324
Karma: 90943357
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
Or on Windows you add a storage device. Sometimes it seems only C: is assured of not changing. So years ago I used to always setup optical drives as L: (if only to load stuff) or R: (If recordable). Then the games or MS Office Installer (that always wanted CD for any change) didn't break if the user added another HDD. Though really the first HDD should have been F: as it was possible to have A:, B:, C: and D: floppies. It's why sometime the default was Z: for a network drive. Really this idea is flawed. |
|
04-18-2024, 04:14 PM | #5 | |
Well trained by Cats
Posts: 30,439
Karma: 58055868
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
|
|
04-18-2024, 05:14 PM | #6 | |
the rook, bossing Never.
Posts: 12,324
Karma: 90943357
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
|
Quote:
I don't remember seeing it, but I thought of it more than once. |
|
04-18-2024, 07:18 PM | #7 | ||
null operator (he/him)
Posts: 20,983
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Then you can click on the column in Book details: 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:
Last edited by BetterRed; 04-18-2024 at 07:21 PM. |
||
04-20-2024, 02:35 AM | #8 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
I've managed to add a link that can be clickable in the book details but I had to add the link manually via add file or add folder.
I'd like to be able to add links to every book but in the link there should be metadata, like serie name or book title, so I won't have to to that for each book. I don't know if I'm clear but english isn't my native language Last edited by Dzib; 04-20-2024 at 03:35 AM. |
04-20-2024, 04:06 AM | #9 | |
null operator (he/him)
Posts: 20,983
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But why would you want to put a link to the metadata for Alice in Wonderland into the Alice in Wonderland metadata - that way lies madness of the hatter kind? I think you need to tell us what your goal is - links to files or calibre 'books' are tools you can use to reach a goal. BR |
|
04-20-2024, 04:21 AM | #10 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
Ok, here's the objective : when I add a book to my collection, I usually save it on another hard drive in a path like D:\EBooks{series}{title}, which is different from the default path where the data is stored.
So, I would like to be able to click on a link in the book details to open this directory where the saved book is located. |
04-20-2024, 05:58 AM | #11 |
null operator (he/him)
Posts: 20,983
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Do you use calibre's Save to Disk?
If you do, then:
|
04-23-2024, 01:06 AM | #12 |
Enthusiast
Posts: 29
Karma: 10
Join Date: Mar 2017
Device: Kindle Paperwhite
|
Yes, I'll try to modify the script
Edit: problem solved thanks to capink Last edited by Dzib; 04-26-2024 at 12:41 AM. |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
A toolbar button/shortcut to Edit Metadata's Custom Metadata tab? | Joseph The Grave | Calibre | 2 | 01-14-2024 10:13 PM |
link to a page and then link back again? | Rid | ePub | 5 | 10-27-2021 12:34 PM |
Metadata link element urls not being updated | thiago.eec | Sigil | 29 | 11-27-2018 06:23 PM |
Calibre fills automatically title and author metadata in books without any metadata? | thosedays | Library Management | 5 | 10-28-2016 03:33 PM |
Regarding using metadata objects in identify method of metadata download plugin api | aprekates | Development | 1 | 07-06-2014 03:35 AM |