03-06-2014, 09:13 PM | #1 |
Addict
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
|
SUGGESTION: Edit w/o overwriting Comments in Mult. Books
UPDATE: Mostly solved - see posts from 9/1 and 9/2.
ORIGINAL SUGGESTION: I know this issue was fixed in the recent Calibre update when it comes to downloading metadata to add and not overwrite. This would be AWESOME for regular editing of metadata where you can choose a bunch of books and add info to the comments of all of them without overwriting what is there. I currently have to go through each books and copy/paste to do this. It's a major library and takes way too much time! He is the Calibre update info from the closed ticket for downloaded metadata for reference from release 1.26 on 2-28-2014: "Metadata download: Add an option to merge the downloaded comments into existing comments, instead of overwriting (Preferences->Metadata download). Closes tickets: 1285319" The cherry on top would be to also be able to specify if edited comments (I'm focusing on the manual edits and not downloads) should be added to the beginning or end. Example of use: editing a library where you have 20 or more books for the same author for whom you'd like to add a link to a specific website to the comments section, especially if you include the comments in book conversions and such. Last edited by jecilop; 09-02-2014 at 03:06 AM. Reason: Update |
03-06-2014, 09:36 PM | #2 | |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
You can choose to Prepend or append by setting the MODE: |
|
Advert | |
|
03-06-2014, 09:47 PM | #3 | |
null operator (he/him)
Posts: 20,950
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Simplest way I know to get there is right click the author name in Book Details and select Manage Authors. BR |
|
09-01-2014, 07:46 PM | #4 | |
Addict
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
|
Still wondering...
Quote:
@theducks, Somehow I missed replies to this post and just found this. I just started a new thread that better forms the request which could apply in many ways: https://www.mobileread.com/forums/sho...d.php?t=245565 Still, I tried what you mentioned. It doesn't seem to work if I can't give it something to search for. Since I'm not actually replacing anything but rather adding, there is nothing to put. Am I missing something? A picture is attached so you can see the settings. Also, if this could work it would be a major step forward. The link I provided improves it further because it allows links to be added as active html and not just text. |
|
09-01-2014, 09:08 PM | #5 |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
You do want to keep what is there?
Search: (.*) Replace: \1 stuff |
Advert | |
|
09-01-2014, 10:22 PM | #6 | |
Addict
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
|
Partially solved...
This is partially solved now...
Quote:
This is an excellent step in the right direction. I hope Kovid considers my request in that thread. It's a shorter step and can be an active link vs. just text. Thanks again. This was BIG! |
|
09-01-2014, 11:25 PM | #7 |
null operator (he/him)
Posts: 20,950
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
if you replace with something like
Code:
\1<a href="http://google.com">Google</a> BR |
09-02-2014, 02:36 AM | #8 | |
Addict
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
|
Solved almost completely - great!
Quote:
I do wonder about the \1. Where does that come from. I DON'T USE IT in that field because it just an error then. Without \1 , it is perfect. |
|
09-02-2014, 06:22 AM | #9 |
Well trained by Cats
Posts: 30,402
Karma: 58055234
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
\1 is the REGEX for replace with the first capture group
(You only had 1 in this case: the stuff insid the ( ) ) |
09-02-2014, 06:34 AM | #10 |
null operator (he/him)
Posts: 20,950
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
@jecilop - I copied '\1 stuff' as posted by theducks, and then replaced the ' stuff' with a bit of html for your google url.
I think the '\1' 'says' put the results of the first parenthesized search term into the destination at this place - but don't take my word for it read up on 'regular expressions' - Google for it from your jacket, I already gave you the link (x-post with theducks) If you don't want it then no need for S&R, use the Comments Editor that pops when you click Bulk Metadata Edit->Basic->Set the comments for all selected books. In Normal mode you'll see this at the end of the second icon group, click it and you can paste a url and calibre will wrap it in gold plated HTML - easy peasy BR Last edited by BetterRed; 09-02-2014 at 06:53 AM. |
Tags |
append, comments, edit metadata, prepend, solution |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Edit Metadata Dialog for Comments Icons Missing Calibre 1.9 | Divingduck | Calibre | 7 | 11-01-2013 08:56 PM |
Edit Custom Comments Font | BetterRed | Calibre | 9 | 10-16-2013 07:39 PM |
Bulk Edit of comments using regex | PeterT | Library Management | 2 | 07-25-2012 08:10 AM |
Bulk Edit Comments column | Jade Aislin | Library Management | 0 | 10-27-2011 03:18 AM |