![]() |
#61 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 519
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
Quote:
2) Please find the two attached images. I use cwebp. However, I have to arrange folders as shown in the image, otherwise the {outputfile} path doesn't match. Maybe you should look into this. For example, the original path is Code:
OEBPS/Images/cover.jpg Code:
OEBPS/Images\cover.webp Last edited by nqk; 01-16-2024 at 09:15 AM. |
|
![]() |
![]() |
![]() |
#62 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
I keep getting burned by Windows OS. I used os.path.join() to join directory name and base name (as I automatically am used to do), and it uses the underlying OS path sep, which on Windows is backslash (cannot for the life of me figure out why they did this). Try the attached test version, hopefully it fixes your issue.
Last edited by capink; 01-17-2024 at 12:33 AM. Reason: remove attatchment |
![]() |
![]() |
Advert | |
|
![]() |
#63 | |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 519
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
Quote:
Thank you 🙏 Sent from my Pixel 7 using Tapatalk |
|
![]() |
![]() |
![]() |
#64 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 519
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
@capink, I have to correct myself. It works in case the images are in a subfolder. If they are in the root folder (cover.jpg) the new path is added with a forward slash (/cover.webp).
Hopefully your coming version 1.1.4 will clear that bug. You must be hating Windows... Last edited by nqk; 01-16-2024 at 08:59 PM. |
![]() |
![]() |
![]() |
#65 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
OK. Try this one.
Edit: Can you also try when multiple folders e.g. folder1/folder2/cover.jpg Last edited by capink; 01-20-2024 at 05:47 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#66 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 519
Karma: 32158
Join Date: Feb 2012
Device: Onyx Boox Leaf
|
|
![]() |
![]() |
![]() |
#67 |
Enthusiast
![]() Posts: 29
Karma: 10
Join Date: Jul 2023
Device: KindleOasis10thGen
|
![]()
Hello Capink,
may I make a new feature request ? Would it be possible to add a Rename File(s) action for Editor Chains ? (I use actions to add/import files such as standard Titles etc. in my book, but have problems when same-name files already exist. I cannot always overwrite them -- e.g., if I import "Title.html" and a "title.html" already exists, it won't overwrite it, even if the "overwrite" option is selected. In that case I must first use "delete files" to remove Title.html and title.html. Overwrite does work correctly if the existing file is also called Title.html). I'd like to be able to e.g. rename "title.html" to "title_old.html" before importing. I also frequently rename files e.g. ".*?c\d+.(x*)html" to "Book-\1.xhtml). Would be nice if there was a Rename files action (with the usual Regex etc. to select files). And, additionally, to have something like the "Bulk Rename" feature which offers automatic numbering of multiple files being renamed... If ever you have the time & feel like doing this... :-) thanks ![]() |
![]() |
![]() |
![]() |
#68 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Quote:
Quote:
|
||
![]() |
![]() |
![]() |
#69 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
Version 1.1.4
I've got hold of a Windows machine and was able to test and make modifications to make the following happen:
|
![]() |
![]() |
![]() |
#70 |
Interested in the matter
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 421
Karma: 426094
Join Date: Dec 2011
Location: Spain, south coast
Device: Pocketbook InkPad 3
|
It works perfectly.
Thank you so much! capink ![]() |
![]() |
![]() |
![]() |
#71 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
Hello,
How do you get the chains offered for download in this thread into the plugin? |
![]() |
![]() |
![]() |
#72 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
right click chains dialog > import chain > browse to the zip file
|
![]() |
![]() |
![]() |
#73 | |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
Quote:
One other question: Is it possible to delete tags with no text inside? Like empty paragraphs or empty spans? I tried to use Tag Actions with the configurations in the attached images, but it doesn't remove any tags, even ones with nothing inside. If I should be able to do this, what am I doing wrong? |
|
![]() |
![]() |
![]() |
#74 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,133
Karma: 1954142
Join Date: Aug 2015
Device: Kindle
|
I pushed a fix for this. Try and see how it goes.
|
![]() |
![]() |
![]() |
#75 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Editor Plugin] EpubCheck | Doitsu | Plugins | 163 | 07-23-2024 08:07 AM |
[Editor Plugin] LanguageTool | Doitsu | Plugins | 17 | 04-20-2024 02:21 PM |
[Editor Plugin] - Enabling 'Customize plugin' dialog directly from the Editor | thiago.eec | Development | 7 | 01-09-2019 08:05 PM |
Sample Plugin for the Editor | DiapDealer | Editor | 77 | 12-10-2014 07:16 AM |
Editor plugin question | DiapDealer | Development | 2 | 07-28-2014 10:23 PM |