![]() |
#1 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
[GUI Plugin] Comments Cleaner
Comments Cleaner is a small plugin that clean comments from superfluous and unwanted CSS rules (background-color, text color, font-family, among other things), but keeps the basic elements (italic, bold).
The plugin will also try to convert plain-text comments. The plugin has the following options:
Spoiler:
Installation Open Preferences -> Plugins -> Get new plugins and install the "Comments Cleaner" plugin. You may also download the attached zip file and install the plugin manually, then restart calibre as described in the Introduction to plugins thread The plugin works for Calibre 5 and later. Page: GitHub | MobileRead Note for those who wish to provide a translation: I am French! Although for obvious reasons, the default language of the plugin is English, keep in mind that already a translation. Version History: Spoiler:
Last edited by un_pogaz; 09-14-2024 at 09:47 AM. |
![]() |
![]() |
![]() |
#2 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
reserverd for futur usage
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Update to the 0.3.1
version 0.3 Add option for the Weight version 0.3.1 [Fix] Transforms non-html (full text) comments to HTML Last edited by BetterRed; 10-09-2020 at 05:54 PM. |
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,490
Karma: 29308976
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
↑ ↑ ↑
Moderator Notice
I removed the link, most users will get new versions via calibre itself, or if they want to download they can go to first post. BR |
![]() |
![]() |
![]() |
#5 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
New version: 1.0.0
Strategy change: All CSS rules are removed. Only a handful basic rules as keep. - Added a option to specify additional CSS rules to keep. - Saving parameters in a JSON (common to all libraries). Your settings will be reset! - Added an option to remove Multiple Line Return <br> and create a new paragraph instead. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
version 1.1.0
- Add a option for Multiple Line Return. - Add a option for the Headings. - Add a option for the ID and CLASS attributs. version 1.2.0 Support translation Spanish translation by dunhill |
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2020
Device: none
|
![]()
Favor su ayuda!
|
![]() |
![]() |
![]() |
#8 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 822
Karma: 409968
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Try downloading this version to see if it works and comment. I have sent new translation files to un_pogaz because it was translating different versions of the plugin.
Last edited by dunhill; 10-13-2020 at 07:52 PM. |
![]() |
![]() |
![]() |
#9 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
version 1.2.1
Fix a error when loading the Spanish translation Sorry for the inconvenience. Sin of trust, I would check the compatibility of the translations next time. ![]() Last edited by un_pogaz; 10-14-2020 at 11:32 AM. |
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Sep 2020
Device: none
|
![]()
El complemento se instalo en Calibre 5.2.
Gracias. |
![]() |
![]() |
![]() |
#11 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
New version 1.3
Improvements of mass edit: - Add a progres bar window and possibility to cancel the current operation - (internal) Don't update the unchanged comments in the Database Add new options for the cleaning: - Round the Weights value instead of truncated - Remove Strikethrough, Underline and Italic - Try a conversion from Mardown format (the key word is TRY) - Management of empty paragraphs - Convert 'Line Return' into paragraph - Specific alignment for lists - Remove all formatting (NO MERCY!!) and a lot of improvements for the cleaning (internal, too many) |
![]() |
![]() |
![]() |
#12 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 822
Karma: 409968
Join Date: Sep 2017
Location: Argentina
Device: moon+ reader, kindle paperwhite
|
Every update better !!!
What I see a little big on the screen, can be resized in width but not in height |
![]() |
![]() |
![]() |
#13 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Thanks
![]() ![]() Personally, I have a 1080p and is nice. But smaller... is true that it becomes limit. I'm watching to see what I can do. Last edited by un_pogaz; 10-25-2022 at 03:40 PM. |
![]() |
![]() |
![]() |
#14 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,291
Karma: 72663495
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
Question: How exactly do I get Markdown > Convert only from plain text comment to activate? Even if I paste a plain text into the HTML source, saving the metadata autoinserts div and paragraph tags.
Also, a suggestion: An option to convert double-dashes (--) into a proper em-dash (—). Would be nice to not have to use the alt code every time if I'm converting to markdown anyways. ![]() Last edited by ownedbycats; 11-24-2020 at 04:20 PM. |
![]() |
![]() |
![]() |
#15 |
Chalut o/
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 436
Karma: 145424
Join Date: Dec 2017
Device: Kobo
|
Calibre's comment editor will always convert your text to HTML format. It is not possible to save a Markdown format through the GUI.
The "Markdown only from plain text" function is there only for some very rare cases when the text is incorrectly saved inside the metadata.db database file (hence the existence "always convert" for the others case). For your suggestion to convert the double-dashes (--) into a proper em-dash (—), I am obliged to refuse : The philosophy of Comments Cleaner is to never modify the text, only the CSS formatting. For all text editing, I advise you to use the "Search and Replace" option in the mass meta-data editor. It is possible to save an operation. Nevertheless, you are the second person to make me a similar suggestion (edit the text), and that gives me an idea: Make a similar plugin that will run a list of "Search and Replace" operations (based on the saved config in the mass meta-data editor) ![]() |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin]Clean Comments | Terisa de morgan | Plugins | 10 | 07-21-2023 07:50 AM |
[Conversion Plugin] Language Cleaner (profanity filter) | jdanders | Plugins | 12 | 07-08-2023 09:21 PM |
[GUI Plugin] Manga plugin | mastertea | Plugins | 6 | 01-06-2022 02:43 AM |
[GUI Plugin] Save Virtual Libraries To Column (GUI) | chaley | Plugins | 14 | 04-04-2021 05:25 AM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |