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 07-17-2016, 04:37 AM   #1
Terisa de morgan
Wizard
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: 4,303
Karma: 4554083
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Aura One, XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
[GUI Plugin]Cleaning Comment

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.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:	ScreenShot_1.png
Views:	182
Size:	4.4 KB
ID:	150253  
Attached Files
File Type: zip NormComment.zip (350.2 KB, 20793 views)

Last edited by Terisa de morgan; 07-18-2016 at 12:40 AM.
Terisa de morgan is offline   Reply With Quote
Old 07-17-2016, 05:50 AM   #2
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 2,964
Karma: 39104476
Join Date: Mar 2015
Location: Israel
Device: kobo glo
It also show the site address, i don't see why i need the address if you remove the tag.
can you add an option to remove the site address.

result after i remove a html tag name mobileread:
[mobileread](https://www.mobileread.com/forums/sho...d.php?t=276358)

Thanks

Last edited by oren64; 07-17-2016 at 06:06 AM.
oren64 is offline   Reply With Quote
Old 07-17-2016, 01:52 PM   #3
Terisa de morgan
Wizard
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: 4,303
Karma: 4554083
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Aura One, XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
Quote:
Originally Posted by oren64 View Post
It also show the site address, i don't see why i need the address if you remove the tag.
can you add an option to remove the site address.

result after i remove a html tag name mobileread:
[mobileread](https://www.mobileread.com/forums/sho...d.php?t=276358)

Thanks
Sorry, I don't understand your request. What site address?
Terisa de morgan is offline   Reply With Quote
Old 07-17-2016, 02:38 PM   #4
oren64
I need a chapter break
oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.oren64 ought to be getting tired of karma fortunes by now.
 
oren64's Avatar
 
Posts: 2,964
Karma: 39104476
Join Date: Mar 2015
Location: Israel
Device: kobo glo
Sorry for not making myself clear, i mean comment with hyperlink.
I only have few books with hyperlink, but the one try show [name of the hyperlink](site address) after the cleaning.
oren64 is offline   Reply With Quote
Old 07-17-2016, 02:48 PM   #5
Terisa de morgan
Wizard
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: 4,303
Karma: 4554083
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Aura One, XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
I was guessing it. Sorry, I wouldn't know how to do it. Option, yes, I can do. Parsing the comments for removing the hiperlinks, I'm not sure.
Terisa de morgan is offline   Reply With Quote
Advert
Old 07-18-2016, 12:40 AM   #6
Terisa de morgan
Wizard
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: 4,303
Karma: 4554083
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Aura One, XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
New version only with some aesthetic changes.
Terisa de morgan is offline   Reply With Quote
Old 07-18-2016, 06:11 PM   #7
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,224
Karma: 13717912
Join Date: Feb 2010
Location: Pennsylvania
Device: Tab S8.4, Boyue T62, Galaxy S6, Nexus 7 LTE, Sony 950, K3 3G, Fire HDX
I was so happy to find this plug-in! Thank you.

One thing though that may not be your plug-in - do you know how to get rid of the damn double spacing? I wanted to add the list of short stories and authors contained in the book to the comments, but it's all double spaced which to me looks really bad.
Purple Lady is offline   Reply With Quote
Old 07-19-2016, 01:48 AM   #8
Terisa de morgan
Wizard
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: 4,303
Karma: 4554083
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Aura, Kobo Aura One, XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
@purple lady, what double space? If you talk about space between lines, I think nothing can be done, as it's the standard way to show it. Could you, please, show an example?
Terisa de morgan is offline   Reply With Quote
Old 07-19-2016, 10:06 AM   #9
Purple Lady
Grand Sorcerer
Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.Purple Lady ought to be getting tired of karma fortunes by now.
 
Purple Lady's Avatar
 
Posts: 5,224
Karma: 13717912
Join Date: Feb 2010
Location: Pennsylvania
Device: Tab S8.4, Boyue T62, Galaxy S6, Nexus 7 LTE, Sony 950, K3 3G, Fire HDX
Quote:
Originally Posted by Terisa de morgan View Post
@purple lady, what double space? If you talk about space between lines, I think nothing can be done, as it's the standard way to show it. Could you, please, show an example?
Yeah it's the space between the lines. Since each author and story in my case is on a separate line, it looks like double spacing. I can post a screenshot later.
Purple Lady is offline   Reply With Quote
Old 08-21-2016, 04:23 AM   #10
marp68
Groupie
marp68 can extract oil from cheesemarp68 can extract oil from cheesemarp68 can extract oil from cheesemarp68 can extract oil from cheesemarp68 can extract oil from cheesemarp68 can extract oil from cheesemarp68 can extract oil from cheesemarp68 can extract oil from cheese
 
Posts: 156
Karma: 1002
Join Date: Apr 2016
Location: Sweden
Device: Kobo Glo HD
Thanks, will try it out.
marp68 is offline   Reply With Quote
Old 06-02-2017, 12:06 PM   #11
Nicolas F
Connoisseur
Nicolas F began at the beginning.
 
Posts: 69
Karma: 10
Join Date: Jan 2016
Device: Kobo Glo HD
Great plugin!
I made a modified version with options to keep/delete links URL and * that mark italic or bold.
Differences:
-Deleted part of the code (it seems you used the count pages plugin and a lot of the code wasn't needed, I also deleted references to Qt4 since the plugin need calibre2.0) and the unused images
-Changed to a one click button plugin
-French translation added

If you're ok you can test it and use it to update the plugin (one thing, don't use the .mo file generated by poedit if you translate, I couldn't get it to compile the strings with [ or ] inside)
Attached Files
File Type: zip NormComment.zip (28.3 KB, 26 views)

Last edited by Nicolas F; 06-02-2017 at 01:38 PM.
Nicolas F 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 403 07-29-2017 01:19 PM
Any calibre plugin for cleaning metadata comments? rraod Plugins 4 05-22-2016 09:57 AM
Comment injection plugin dannyb2 Plugins 1 07-24-2013 08:43 AM
Gui Plugin for Cleaning Ebooks, Fast burbleburble Plugins 91 10-11-2011 04:45 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM


All times are GMT -4. The time now is 08:41 AM.


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