Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 08-02-2023, 01:33 AM   #1
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Is there a way to edit the Comments (ie. book summary) automatically during download?

I usually opt for Amazon metadata over that from other sites. Often I end up with a huge amount in the Comments (ie. book summary) field. Usually, stuff from reviews and about author that I really don't want.

I notice that those sections often start with ###. Example, there may be an "### Review" heading and a "### From the Author" heading.

Is there anyway, while downloading the metadata, to ignore/delete everything beginning with ### Review? In all the ones I've seen, I don't mind losing everything after "### Review".

Is there an expression of some sort that can be used in the plugboards to truncate the field and delete everything from "### Review" to the end?
texasnightowl is offline   Reply With Quote
Old 08-02-2023, 01:38 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
no you cant modify comments during download but you can use the search and replace function to modify comments in bulk (for all selected books).

Last edited by kovidgoyal; 08-02-2023 at 02:42 AM.
kovidgoyal is offline   Reply With Quote
Advert
Old 08-02-2023, 02:09 AM   #3
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Quote:
Originally Posted by kovidgoyal View Post
no you can modify comments during download but you can use the search and replace function to modify comments in bulk (for all selected books).
thanks. so with the search and replace, is it possible to search for: ### Review and from that point select everything in the comments after it and delete (replace with nothing)?
texasnightowl is offline   Reply With Quote
Old 08-02-2023, 02:42 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,356
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
yes it is using regular expression mode
kovidgoyal is offline   Reply With Quote
Old 08-02-2023, 03:51 AM   #5
texasnightowl
Guru
texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.texasnightowl ought to be getting tired of karma fortunes by now.
 
Posts: 797
Karma: 2873645
Join Date: Jul 2008
Location: Texas
Device: PW5, Oasis 3, K4B(NT), K3/KK
Quote:
Originally Posted by kovidgoyal View Post
yes it is using regular expression mode
I did go to help, etc. and all the explanation still might as well be Greek to me. But, after searching here too, I was able to piece together an expression that seems to be working.

I search for: (?s)(<br>### Review<br>(.*?)<\/div>)

and replace with: </div>

That, on my limited test set of 5 books, seems to remove everything from ### Review to the end, but leaves the actual book description, which is what I want. So I'll continue trying and watching.
texasnightowl is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre 5.18 - Summary to Comments? Nalco Library Management 2 05-22-2021 05:09 AM
External HTML Editor to edit Book Details panel Comments? cgrapski Related Tools 4 04-22-2021 02:54 AM
Is there a way to automatically/batch add the summary of the epub as a page? beejsbj Calibre 6 09-22-2018 09:53 AM
Comments missing (summary) chewiesw Library Management 2 11-17-2016 02:58 PM
Metadata comments as book summary pappcam Library Management 3 03-05-2011 12:29 AM


All times are GMT -4. The time now is 11:50 PM.


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