04-20-2023, 08:31 PM | #1051 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
04-20-2023, 09:58 PM | #1052 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
book%20%5B30%5D decodes as: book [30]
Quote:
Your test data that I used: #~ url = 'file:///X:%5CMyPluginsPy3%5C_ris_import_dir%5Cabstract.txt ' #~ url = "file:///D:/Calibre/Libraries/Default/!Attachments/book%20%5B30%5D/" #~ url = "file:///D:/Calibre/Libraries/Default/!Attachments/book%20(30)" #~ url = "file:///D:/Calibre/Libraries/Default/!Attachments/book%2030/" example: book%20%5B30%5D decodes as: book [30] That still works for files. I haven't touched that code since the first test version that had it. I will confirm the same is true for non-files. NV handles these (the paste messed with the column/header alignment): Code:
#~ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #~ newline ........................ space " % - . < > \ ^ _ ` { | } ~ #~ %0A or %0D or %0D%0A %20 %22 %25 %2D %2E %3C %3E %5C %5E %5F %60 %7B %7C %7D %7E #~ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #~ ! # $ & ' ( ) * + , / : ; = ? @ [ ] #~ %21 %23 %24 %26 %27 %28 %29 %2A %2B %2C %2F %3A %3B %3D %3F %40 %5B %5D #~ ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
Advert | |
|
04-20-2023, 10:12 PM | #1053 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Beta Test 4 Added
Quote:
Okay, for https, there was a bug. Everything possible uses the url decoding logic now. Beta #4 posted with the others: https://www.mobileread.com/forums/sh...4&postcount=18 DaltonST Last edited by DaltonST; 04-20-2023 at 10:18 PM. |
|
04-20-2023, 10:19 PM | #1054 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
file:/// links with URL encoding are fine, I just checked a few.
It was an https:// URL with a space in the address, NV fired up Edge with a truncated address, calibre Book Details fired up Edge with the full address. BR |
04-20-2023, 10:20 PM | #1055 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
Yep. see: https://www.mobileread.com/forums/sh...4&postcount=18 |
|
Advert | |
|
04-20-2023, 10:22 PM | #1056 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
We x-posted.
Quote:
Another advantage of having two NV windows open is to copy and paste between them to achieve consistent styling. BR Last edited by BetterRed; 04-21-2023 at 12:31 AM. |
|
04-21-2023, 07:01 AM | #1057 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.235 Minimum Calibre Version 6.15
Version 1.0.235 -2023-04-21 Notes Viewer: decode url encoding; multiple instances of Notes Viewer as a new option; Minimum Calibre Version 6.15.
Refer to the attached image that explains the new NV option for multiple instances. DaltonST Last edited by DaltonST; 04-21-2023 at 07:19 AM. |
04-21-2023, 06:26 PM | #1058 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
file:\\\ links to a folder aren't working:
Quote:
Code:
<p><a href="file:///D:/Calibre/Libraries/Test/Anat%20Admati/The%20Bankers'%20New%20Clothes%20(159)/data/"><span style="color: #9e7852">Attachments</span></a></p></div> BR |
|
04-21-2023, 07:27 PM | #1059 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
I really need you to run that example in calibre-debug -g and post the log. I cannot do it because I don't have any file paths even remotely like that. Using your log, I can determine exactly how to do what needs to be done. I get Python syntax errors even trying to hardcode a test url with that value without doing crazy things, and that isn't 'real-life' testing. Thanks. DaltonST |
|
04-21-2023, 07:44 PM | #1060 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
The HTML comes from NV Edit->Create Link->Browse tool.
The link works on the Book Details panel I'll post the log in a few minutes. BR Last edited by BetterRed; 04-21-2023 at 07:46 PM. |
04-21-2023, 07:57 PM | #1061 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Here you go.
My prior usage would have had simple path names: e.g. Code:
D:\Calibre\Libraries\Test\!Attachments\[159] something simple Last edited by BetterRed; 04-21-2023 at 08:44 PM. |
04-21-2023, 11:03 PM | #1062 |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Change of topic : request for additional per-library tweak:
The Clicking on author names should: setting in Preferences->Look & Feel->Book Details. BR |
04-21-2023, 11:04 PM | #1063 | |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Quote:
Your file url error was caused by Qt creating QUrls differently based on whether there is a grammatical ' or not. If there is, it surrounds the url with double quotes. If there is not, which is what I had previously tested ad nauseam, it surrounds the url with single quotes. NV handled the latter case, but not the former, causing a bad path error in Windows. As I mentioned earlier, it was the Banker's single quote that broke it, because Qt used double quotes instead of single quotes. Maybe you will find some really good new combinations that will be tested. DaltonST Last edited by DaltonST; 04-22-2023 at 08:02 AM. |
|
04-21-2023, 11:46 PM | #1064 | |
null operator (he/him)
Posts: 20,575
Karma: 26954694
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
I won't be looking for any new combinations, good or bad BR |
|
04-22-2023, 08:00 AM | #1065 |
Deviser
Posts: 2,265
Karma: 2090983
Join Date: Aug 2013
Location: Texas
Device: none
|
Version 1.0.236 Notes Viewer: Search Results
Version 1.0.236 -2023-04-22 Notes Viewer: Search Results are converted from HTML and Markdown to Plain text before being "snipped" to less than 100 characters, including spaces. The removal of the markup tags makes sorting by Snippets useful.
Job Spy has certain other GUI Tools that now require minimum Calibre version 6.15. DaltonST |
Tags |
author aka, author pen name, colors, toolbag, toolbox, tools |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
[GUI Plugin] Ex Libris | AlPe | Plugins | 87 | 10-10-2020 03:10 PM |
[GUI Plugin] Marvin XD | Philantrop | Plugins | 126 | 01-29-2017 12:48 PM |
Ubuntu/Linux : Command to schedule a job with Calibre.( No GUI ) | DurgaPrasad | Calibre | 0 | 10-16-2013 06:50 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |