Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-19-2023, 08:34 AM   #1
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Change HTML in comment

Hi
I want to change automaticaly in my comment tags </p> by <br> and suppress <p>
Have you un idea ?
How to create un specific button or an personal function to apply this rules to my comment unitaryor for all comment for selected epub

Thanks (sorry for my poor english)
Doum is offline   Reply With Quote
Old 07-19-2023, 05:37 PM   #2
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,715
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by Doum View Post
Hi
I want to change automaticaly in my comment tags </p> by <br> and suppress <p>
Have you un idea ?
How to create un specific button or an personal function to apply this rules to my comment unitaryor for all comment for selected epub

Thanks (sorry for my poor english)
There are a couple of plugins that might help - search for 'comments' in the Index of plugins.

BR
BetterRed is offline   Reply With Quote
Advert
Old 07-21-2023, 10:07 AM   #3
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
The plugin Mass Search/Replace can do what you're looking for. Once installed, on the Preference dialog, right-click and select "Import...", then import the attached file.
You could later assign a keyboard shortcut to quickly launch the operation.
Attached Files
File Type: zip no paragraphe.owip.zip (420 Bytes, 91 views)

Last edited by un_pogaz; 07-21-2023 at 10:24 AM.
un_pogaz is offline   Reply With Quote
Old 07-26-2023, 03:49 PM   #4
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Thank you, it's working . I just use french syntaxe . Mass search is very cool for using mutiple standard search&replace

Now i want to add before mass search on comment :
- ctrlA (for select all)
- delete format
And on image
- resize image

Do you think is possible to add alll thios actions with one button ? on one books or multiple ebooks ?
Doum is offline   Reply With Quote
Old 07-26-2023, 04:21 PM   #5
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,077
Karma: 168961900
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Here you might want to start checking out the Action Chains plugin.
DNSB is offline   Reply With Quote
Advert
Old 07-27-2023, 08:38 AM   #6
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Indeed , this tool is more complete and works very well too . thanks
On the other hand, I don't see how to integrate specifics commands to the comment editing functions ( select , selecte , change format, ...)

Edit : I find it with "Edit single field" !!!!

But i can't use it
Attached Thumbnails
Click image for larger version

Name:	Capture d'écran 2023-07-27 145400.png
Views:	130
Size:	163.0 KB
ID:	202840  

Last edited by Doum; 07-27-2023 at 08:55 AM.
Doum is offline   Reply With Quote
Old 07-27-2023, 04:43 PM   #7
un_pogaz
Chalut o/
un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.un_pogaz understands the importance of being earnest.
 
un_pogaz's Avatar
 
Posts: 439
Karma: 145424
Join Date: Dec 2017
Device: Kobo
For delete format in comments, I recomend Comments Cleaner which has a wide choice of cleaning option in comment field.

"Mass Search/Replace" and "Comments Cleaner" can be executed by "Action Chains", this 3 are a powerful combo.
I would notice that I created "Mass Search/Replace" to make multiple search/replace operation with a more ergonomic and readable configuration system than "Action Chains". The implementation of "Action Chains" is good for one or two search/replace operation, but if you wanted to do more than 3-4, it quickly becomes unreadable and complicated. With only one operation, your good (for now).

And about 'resize image': You said resize the cover image? I don't think it's possible in any plugin. I recommend you ask for help in the thread Action Chains.

Last edited by un_pogaz; 07-27-2023 at 04:46 PM.
un_pogaz is offline   Reply With Quote
Old 07-28-2023, 10:10 AM   #8
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
Quote:
Originally Posted by Doum View Post
Indeed , this tool is more complete and works very well too . thanks
On the other hand, I don't see how to integrate specifics commands to the comment editing functions ( select , selecte , change format, ...)

Edit : I find it with "Edit single field" !!!!

But i can't use it
There is a new beta here that fixes this problem.
capink is offline   Reply With Quote
Old 07-29-2023, 10:06 AM   #9
Doum
Connoisseur
Doum began at the beginning.
 
Posts: 65
Karma: 10
Join Date: Jun 2020
Device: Kobo Aura HD
Thank , but after install, i have no more error but , i cant realy use it.
I tried some icone from editing (select all, center ....) but it's seems that i forget something.
have you an documentation on this functionnality please ?
The comment is empty during creating filed, how i can charge whith my selection from epub and just apply icon functionnality ?

Ps : it's an fantastic and power tool !!, i can put also automaticaly French language .
Attached Thumbnails
Click image for larger version

Name:	chain2.png
Views:	86
Size:	53.6 KB
ID:	202856  

Last edited by Doum; 07-29-2023 at 10:18 AM.
Doum is offline   Reply With Quote
Old 07-29-2023, 10:15 AM   #10
capink
Wizard
capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.capink ought to be getting tired of karma fortunes by now.
 
Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
This functionality is not there for modifying pre-existing comments. It is for creating new comments, on which you can use the toolbar icons. If you want to modify existing comments, use the Search And Replace action.
capink is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot change order of HTML Pages Hschwickart Sigil 3 02-09-2023 09:21 AM
set_metadata -f comment does mesup my HTML tycho Library Management 2 09-11-2020 03:07 AM
Metadata comment changes in HTML not saved calvin-c Calibre 1 08-10-2020 02:50 AM
Empty comment not identified by comment:false search madeleinelevy Library Management 11 03-22-2019 06:36 PM


All times are GMT -4. The time now is 09:18 AM.


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