Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 09-25-2020, 01:23 PM   #1
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,211
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
[GUI Plugin]Clean Comments

This plugin allow you to remove all the html tags in the comment field, converting it in plain text. It works only with the standard comment metadata, not custom fields.

Special Notes:
  • Requires calibre 2.0 or later.

Installation Steps:
  1. Download the attached zip file and install the plugin/restart Calibre/add to context menu or toolbar as described in the Introduction to plugins thread.

Version History:

Spoiler:

Version 0.2.1 - 12 Jul 2022
Fix problem with function template (Thanks, davidfor)

Version 0.2.0 - 11 Jul 2022
Migrated to Qt6 (Thanks, davidfor)

Version 0.1.0 - 25 Sep 2019
Migrated to python 3

Version 0.0.4 - 16 Oct 2018
Included configuration for:
* Keeping/removing hyperlink
* Keeping/removing markup

Version 0.0.3 - 18 Jul 2016
Updated the file name
Version 0.0.2 - 18 Jul 2016
Clean shortcuts and normalize the name
Version 0.0.1 - 17 Jul 2016
Initial release
Attached Thumbnails
Click image for larger version

Name:	Clean Comments.png
Views:	372
Size:	4.9 KB
ID:	182185  
Attached Files
File Type: zip Clean Comments.zip (40.1 KB, 30255 views)

Last edited by Terisa de morgan; 07-12-2022 at 03:16 AM.
Terisa de morgan is offline   Reply With Quote
Old 09-25-2020, 05:15 PM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 8,427
Karma: 59666665
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
I appreciate the new options.
ownedbycats is online now   Reply With Quote
Advert
Old 09-26-2020, 02:30 AM   #3
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,211
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I sincerely hope they work with the ported version Tested but...
Terisa de morgan is offline   Reply With Quote
Old 10-02-2020, 03:30 AM   #4
diane55
Member
diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.diane55 is fluent in JavaScript as well as Klingon.
 
Posts: 14
Karma: 4897
Join Date: Dec 2012
Device: Kobo Glo
Thank you for this update to Python 3 and the offered options.

I note the following change.
- The previous versions used the tag <br> which was very useful.
- This new one does not use it anymore and replaces it by the tags <p></p>, which invariably generate line breaks. To avoid these unwanted line breaks, the only way I have is to edit html code and replace the tags <p></p> by <br>.

Could you please reintroduce the <br> tags ?
Thank you in advance.
diane55 is offline   Reply With Quote
Old 10-02-2020, 04:07 AM   #5
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,211
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I'll check but I suspect that the change is not in the plugin but in the comments editor itself.
Terisa de morgan is offline   Reply With Quote
Advert
Old 07-05-2022, 05:44 AM   #6
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Beta for calibre 6 and Qt6

Here's another quick update for calibre v6/Qt6 to remove another set of errors from the debug log. Again, it is just replacing the common_utils.py with one that has been updated.
davidfor is offline   Reply With Quote
Old 07-05-2022, 09:38 AM   #7
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,211
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by davidfor View Post
Here's another quick update for calibre v6/Qt6 to remove another set of errors from the debug log. Again, it is just replacing the common_utils.py with one that has been updated.
Thank you!
Terisa de morgan is offline   Reply With Quote
Old 07-11-2022, 04:37 AM   #8
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,211
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Plugin updated (Thank you, davidfor)
Terisa de morgan is offline   Reply With Quote
Old 07-11-2022, 10:41 PM   #9
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
I found an issue with this plugin that was breaking the loading of user template functions. This is discussed in https://www.mobileread.com/forums/sh...d.php?t=347818.

The issue is that the plugin was reloading the database when it was initialised or the library was changed. When I looked at the code, this was not needed in the two places it was done. And in the place where the database was needed, it was using the current database instance correctly.

I have attached an update beta of the plugin that fixes this. I haven't done much testing of the plugins function, but, it seems to work.
Attached Files
File Type: zip Clean Comments-beta.zip (39.6 KB, 128 views)
davidfor is offline   Reply With Quote
Old 07-12-2022, 03:16 AM   #10
Terisa de morgan
Grand Sorcerer
Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.Terisa de morgan ought to be getting tired of karma fortunes by now.
 
Terisa de morgan's Avatar
 
Posts: 6,211
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Fixed, thank you
Terisa de morgan is offline   Reply With Quote
Old 07-21-2023, 07:50 AM   #11
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 58
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
hi, why i did'nt find this plugin directely in Calibre with plugin option ?
Your last version (1.1) is still compatible with calibre 6.23 ?
Doum is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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] Clean Metadata WS64 Plugins 28 01-06-2022 08:09 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


All times are GMT -4. The time now is 06:10 AM.


MobileRead.com is a privately owned, operated and funded community.