![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]()
The "Link to open book's data files folder" isn't URL encoding spaces, every book folder name has at least one space.
BR |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It works exactly the same as the link to open the book folder, which has been the same for donkey's years. Neither of them use URLs at all on windows. They use paths, passed to a function similar to ShellExecute.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Copy all the above links produced this: Code:
Tome - Writer calibre://show-book/_hex_-54657374/826 calibre://book-details/_hex_-54657374/826 file:///D:/Calibre/Libraries/Test/Writer/Tome (826)/data calibre://view-book/_hex_-54657374/826/EPUB calibre://view-book/_hex_-54657374/826/PDF If I copy the URL from from the Data item in the Links custom column (which was created by the new Folder button) file:///D:/Calibre/Libraries/Test/Writer/Tome%20(826)/data I can use it in the same manner as the other 'Links'. BR |
|
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No clue about copy link, I dont use and didnt implement that IIRC. And there is no requirement for spaces in URLs to be encoded, though I suppose I could encode them, although I am sure there will be some applications that wont work with encoded URLs but will with decoded ones. That was the whole reason I invented the hex encoding scheme for the calibre:// URLs.
Last edited by kovidgoyal; 04-27-2023 at 05:29 AM. |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,185
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,619
Karma: 29710338
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
URL encoding is a free-for-all dogs breakfast, there's no consistency.
Hex encoding of calibre:// links means they just work… every time, everywhere. For me it's the best new feature you've added to calibre over the decade or so I've been using it. BR |
![]() |
![]() |
![]() |
#7 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
|
Slight thread hijack on the data files..regarding the link..
Per 4.26.23 update to 6.17 : "Book details: Show a link to open the data files folder when data files are present" I do not see a link for this. I understand this to be some indicator so you know that you have actual files in the new data folder. Otherwise, it's easy to not know or forget such files exist. I can't find any settings through preference or various right click to turn such a visual on either. What am I missing? Right now, I know I can add them. But after that there are no indicators that they exist. I can get to them with the "O" shortcut to open the entry's folder and see all it contains, but again that requires knowledge of the data folder existing. I've had alternate ways of managing such data within the entry so far, but I am considering changes using this data folder feature instead. However, I need a quick indicator that such files are stored there. |
![]() |
![]() |
![]() |
#8 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
|
Well, of course, after doing a lot of looking before posting, I found the answer AFTER posting ...
![]() Answer is here: https://www.mobileread.com/forums/sh...ght=data+files |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How can you open a book in Calibre by a link? | Masi | Calibre | 13 | 10-26-2024 06:15 PM |
Copy book data to separate library without duplicating the actual book files? | dewd | Library Management | 5 | 01-12-2022 03:11 PM |
Open book folder using app other than File Explorer | bob.f | Calibre | 3 | 08-17-2019 08:04 AM |
How do I click on a desktop link and have calibre open book? | walterbyrd | Devices | 1 | 05-11-2018 01:20 PM |
Open book through Catalogue link | gertblij | Library Management | 13 | 10-14-2010 11:04 AM |