10-19-2020, 02:19 PM | #121 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
The only real problem I've noticed is if one tries to go back to v0.4.x of the plugin after running a 0.5.x version. The old plugin won't start unless you delete the no-longer-valid window-geometry data from the json file by hand (or just start fresh by removing the json and letting it be recreated).
|
11-01-2020, 04:18 PM | #122 |
Chalut o/
Posts: 410
Karma: 145324
Join Date: Dec 2017
Device: Kobo
|
Bug:
When you click on "Copy exisiting attribute string" and then change the target attribute, the text box becomes writable again. Same thing if your change the target Tag. Feature suggest: When your choosing the <p> as target Tag, it would be nice if in the output/conversion option you could choose <h1>,<h2> or <h3>. Too often, during conversion (or because the ePub is badly built) <p> tags are used for headings. Also, I don't quite understand "New attribute string to insert (entire)": Does it replace the old value? or does it insert a value MORE than the old value? In any case, personally it didn't work. All the <span> I've processed have become 'naked' (bug?). EDIT: I hadn't seen the Config button (for the <h1>,<h2>...). A image of it and the associated window in the main computer would be useful, especially for non-English speakers (visual presentation). (thanks BeckyEbook) Last edited by un_pogaz; 11-01-2020 at 04:24 PM. |
Advert | |
|
11-01-2020, 05:30 PM | #123 | |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Quote:
Sample: Code:
<h1>Chapter One <span>Friends</span></h1> Code:
<h1>Chapter One <span class="un_pogaz">Friends</span></h1> |
|
11-01-2020, 10:54 PM | #124 | |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
Quote:
Note that in most recent version 0.5.x the file to modify is utilities.py rather than plugin.py: https://www.mobileread.com/forums/sh...66#post4048666 |
|
11-02-2020, 02:12 AM | #125 | |
Chalut o/
Posts: 410
Karma: 145324
Join Date: Dec 2017
Device: Kobo
|
Quote:
It's not the intuitive behavior, but I see the use and the possibilities it offers. Thank you. On the other hand, I did make a test: Source Code:
<p class="calibre1" id="chapter1"> Code:
class="calibre1" => class="beckyebook" type="text" Code:
<p class="beckyebook" type="text" id="chapter1"> Code:
<p class="beckyebook" type="text"> |
|
Advert | |
|
11-02-2020, 02:52 AM | #126 | |
Guru
Posts: 692
Karma: 2180740
Join Date: Jan 2017
Location: Poland
Device: Misc
|
Quote:
Use: class="calibre1" => class="beckyebook" type="text" id="chapter1" |
|
11-02-2020, 06:34 AM | #127 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I can't say whether or not it's the desired behavior for all users. I can only state definitively that it is the intended behavior. The full new list of the element's desired attributes must be specified in the box (hence the option to copy the old ones verbatim). You're not merely replacing he attribute used in the search criteria. That level of granularity is not currently offered by this plugin.
Last edited by DiapDealer; 11-02-2020 at 08:13 AM. |
08-22-2021, 02:36 AM | #128 |
Connoisseur
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
|
On my macOs Big Sur 11.5.2 output is done without line breaks so it is a bit tricky to get clear about the amount of changes in each file. Is this only the case for me?
|
08-22-2021, 08:26 AM | #129 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
I'll take a look at it.
|
08-22-2021, 10:19 AM | #130 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Thanks. NOTE: attachment removed as v0.5.2 is now available from the first post of this thread. Last edited by DiapDealer; 08-23-2021 at 03:22 PM. |
|
08-22-2021, 11:05 AM | #131 | |
Connoisseur
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
|
Quote:
[X] works fine [X] |
|
08-22-2021, 11:07 AM | #132 |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Great! Thanks for the bug report and the testing.
|
10-27-2021, 05:28 AM | #133 |
Connoisseur
Posts: 57
Karma: 10
Join Date: Jul 2021
Device: Abakus
|
TagMechanic is my most used plugin. But mostly I use it to do the same things over and over again. Would it be possible to save the settings for each task? So something like Saved Searches?
And as the icing on the cake could then save in the new Automated Lists, that not only the Pluigin TagMechanic is to be called, but also immediately which saved setting I want to execute? And yes, unfortunately, this also brings with it the vexed question of which files to run TagMechanic on. You can still dream, can't you? |
10-27-2021, 08:40 AM | #134 | |
Grand Sorcerer
Posts: 27,552
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
Sigil's plugin framework only accepts a very specific (and finite) set of parameters that plugins can then utilize. Unless that changes, I don't really foresee any (easy) way to run the TagMechanic plugin without utilizing the gui to select the run parameters (regardless of whether that's individually or in the aggregate). The files TagMechanic runs on will continue to be determined solely by which xhtml files are selected in the Book Browser. @KevinH: if you see this, what do you think about passing an optional parameter to the plugin launcher system that is populated from the parameter field of the automation lists? If feasible, it might be an "easy" way for plugin devs to alter the behavior of their plugins when they're bein run as part of an automation list. Last edited by DiapDealer; 10-27-2021 at 08:43 AM. |
|
10-28-2021, 01:01 AM | #135 |
just an egg
Posts: 1,587
Karma: 4300000
Join Date: Mar 2015
Device: Kindle, iOS
|
A "Saved Searches" feature would be great!
I would also be content if simply the last set of settings were remembered. Right now the last Action type, Tag name, and attribute are remembered, but the value, Change tag to and New attribute are not. I often test my settings on one file before applying them to more files, and it would be great if the last set of settings were remembered so I can just re-apply without having to re-input (and possibly introduce typos in the re-inputting) if the first-run was successful. (Unless this is already possible and I'm missing something, which is always a possibility with me.) Thank you! |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[FileType Plugin] YVES Bible Plugin | ClashTheBunny | Plugins | 27 | 01-16-2023 01:25 AM |
[GUI Plugin] KindleUnpack - The Plugin | DiapDealer | Plugins | 492 | 10-25-2022 08:13 AM |
Plugin not customizable: Plugin: HTML Output does not need customization | flyingfoxlee | Conversion | 2 | 02-24-2012 02:24 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |
New Plugin Type Idea: Library Plugin | cgranade | Plugins | 3 | 09-15-2010 12:11 PM |