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

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

Notices

Reply
 
Thread Tools Search this Thread
Old 03-06-2014, 09:13 PM   #1
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
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
jecilop is offline   Reply With Quote
Old 03-06-2014, 09:36 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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:
Originally Posted by jecilop View Post
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.
Look at Bulk Metadata edit:Search and Replace
You can choose to Prepend or append by setting the MODE:
theducks is offline   Reply With Quote
Advert
Old 03-06-2014, 09:47 PM   #3
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: 20,950
Karma: 27620688
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by jecilop View Post
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.
FWIW - you can enter an author specific link in Manage Authors, I don't think there's any way of getting it into each of the authors books. But it could act as 'bookmark' to paste into new books by same author.

Simplest way I know to get there is right click the author name in Book Details and select Manage Authors.

BR
BetterRed is online now   Reply With Quote
Old 09-01-2014, 07:46 PM   #4
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
Still wondering...

Quote:
Originally Posted by theducks View Post
Look at Bulk Metadata edit:Search and Replace
You can choose to Prepend or append by setting the MODE:

@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.
Attached Thumbnails
Click image for larger version

Name:	_Edit Metadata bulk search replace.JPG
Views:	285
Size:	111.1 KB
ID:	127645  
jecilop is offline   Reply With Quote
Old 09-01-2014, 09:08 PM   #5
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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
theducks is offline   Reply With Quote
Advert
Old 09-01-2014, 10:22 PM   #6
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
Partially solved...

This is partially solved now...

Quote:
Originally Posted by theducks View Post
You do want to keep what is there?
Search: (.*)
Replace: \1 stuff
Thank you, @theducks. That helped. I can't figure out what the \1 means as it only caused errors in variations I tried, but I just put the 'stuff" I wanted in the replace blank like the google link shown in the picture previously and it worked!!!

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!
jecilop is offline   Reply With Quote
Old 09-01-2014, 11:25 PM   #7
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: 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>
then it will be a clickable link - I think

BR
BetterRed is online now   Reply With Quote
Old 09-02-2014, 02:36 AM   #8
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
Solved almost completely - great!

Quote:
Originally Posted by BetterRed View Post
if you replace with something like

Code:
\1<a href="http://google.com">Google</a>
then it will be a clickable link - I think

BR
That worked. Thanks. I was testing that out previously but apparently wrong. The text to display was required.

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.
jecilop is offline   Reply With Quote
Old 09-02-2014, 06:22 AM   #9
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
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 ( ) )
theducks is offline   Reply With Quote
Old 09-02-2014, 06:34 AM   #10
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: 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.
BetterRed is online now   Reply With Quote
Reply

Tags
append, comments, edit metadata, prepend, solution

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

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


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


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