07-27-2011, 11:43 PM | #1 |
Connoisseur
Posts: 52
Karma: 12
Join Date: Jul 2011
Device: none
|
more metadata
You'll have to forgive me, my eyes just informed me that they were closing in just a few minutes if I liked it or not.....
I have a few different scenarios I haven't found good solutions to as of yet. The first being a large quantity of files with the isbn10 or amazon code as the first 10 characters in the file-name. I don't see a way to strip off the first 10 characters and enter them into the identifiers field. Is it there and I'm just missing it? Also, on a different but related note - I would like to see a bulk metadata download option. Have the ability to select say 50 books and click a button and have all metadata for that book retrieved. If it's the only entry, it could get accepted automatically - same with covers...perhaps a "use cover from 'x' as first choice, cover from 'y' as second, etc. I could see me loading multiple libraries this way and ever later on refreshing the Amazon book notes/reviews in the future. TIA for any assistance - system shutting down |
07-27-2011, 11:53 PM | #2 |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
bulk metadata and cover
Select books: Press Ctrl-D Select Books: Right click for Menu of what can be done |
Advert | |
|
07-28-2011, 12:00 AM | #3 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
In the Configure download metadata you can prioritize cover sources, I have it set so, if available, it will use the Barnes & Noble cover 1st and covers from Goodreads 2nd. |
|
07-28-2011, 12:46 PM | #4 |
Connoisseur
Posts: 52
Karma: 12
Join Date: Jul 2011
Device: none
|
Awesome you two - tyvm for the help on bulk metadata
Anything on the first problem? |
07-28-2011, 03:19 PM | #5 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Code:
(?P<isbn>.{0,10}).* |
|
Advert | |
|
07-28-2011, 03:55 PM | #6 |
Connoisseur
Posts: 52
Karma: 12
Join Date: Jul 2011
Device: none
|
Well, not very helpful for the books already in the library but thank you, I'll remember it for future follies.
|
07-28-2011, 04:20 PM | #7 | |
Wizard
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
That didn't sound like formats already in the library. It sounded like "files" and "file-names." You can use search and replace if it's already in the library. |
|
07-29-2011, 11:42 AM | #8 |
Connoisseur
Posts: 52
Karma: 12
Join Date: Jul 2011
Device: none
|
Search and replace - NOW we're getting somewhere! I have been in the Edit Metadata in Bulk screen more times than I can count looking for exactly how to do it. I assume I need to be on the Search and Replace tab - but it appears this is just a "search within a field and replace what you find". I actually need to "search in a field and copy what I find into another field." There is no reference (that I can find) to direct info to a second field.
If I'm missing something here, please let me know. |
07-29-2011, 12:08 PM | #9 | |
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
The search/replace section of the manual (http://manual.calibre-ebook.com/meta...ch-and-replace) says:
Quote:
|
|
07-29-2011, 12:35 PM | #10 | |
Well trained by Cats
Posts: 29,689
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
RTFM and explore all the pull down options. AFAIK the only thing S&R can't do is pull data out of thin air The crew went all out on the functionality of this one section. |
|
07-29-2011, 03:37 PM | #11 |
Connoisseur
Posts: 52
Karma: 12
Join Date: Jul 2011
Device: none
|
Ok - for anyone else looking at a problem like this, to pull the identifier from the front of the title and move it to identifier:
Choose search and replace under Edit Bulk Metadata Change the search mode to Regular Expression Search field = title Search for = ^(\d+)(.*) Replace with = \1 Destination field = identifiers Identifier type = isbn I agree S&R is quite powerful but extremely under-documented. Thanks for the help, it looks like it's working for me. |
07-29-2011, 05:27 PM | #12 |
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
07-29-2011, 05:37 PM | #13 |
Wizard
Posts: 1,065
Karma: 858115
Join Date: Jan 2011
Device: Kobo Clara, Kindle Paperwhite 10
|
After my initial FN LN to LN, FN post the other day, its subsequent discussion, and then trying different kinds of element moving, regex started making a whole lot more sense to me. I've been using the regex search/replace origin/destination a whole lot since and now I don't understand how I ever got along without it before.
Last edited by unboggling; 07-29-2011 at 05:41 PM. |
08-01-2011, 05:23 PM | #14 |
Connoisseur
Posts: 52
Karma: 12
Join Date: Jul 2011
Device: none
|
Chaley,
What is the documentation submission process? Is there a wiki or wiki-type system that I just haven't found yet or is there another method? |
08-02-2011, 04:21 AM | #15 | ||
Grand Sorcerer
Posts: 11,703
Karma: 6658935
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
That aside, how you proceed depends on what you want to do. If you are making small changes to existing manual sections, then follow the instructions in the linked page above for submitting changes. The manual pages are in src/calibre/manual. They are in a form that is 'compiled' to generate the web pages (see below). If you are thinking of writing something new/larger, then the process used by Manichean for the Regular Expression tutorial is a good one. He wrote a draft of the tutorial and posted it in a thread here. People commented, he reacted and edited the draft, etc. When he reached a point where he was satisfied, he submitted the draft to Kovid (don't know if he did it by email or through the forum). Kovid added it to the 'Tutorials' section. When I did the 'Managing subgroups of books, for example “genre”' tutorial, I added it to the manual myself. This was easier for me because I manipulate the source all the time. Kovid added the link to the tutorials section. Documentation is formatted using RST (reStructuredText) command. Quoting the RST web page (http://docutils.sourceforge.net/rst.html): Quote:
|
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Metadata Download Plugin] Goodreads Metadata **Deprecated** | kiwidude | Plugins | 30 | 04-23-2011 02:10 PM |
What is the difference between the main metadata.db and sub-directory metadata.db? | iridius | Library Management | 5 | 02-23-2011 11:44 AM |
Does "Download Metadata & Covers" also download social metadata? | iridius | Library Management | 3 | 02-22-2011 12:50 PM |
Metadata? | nessin | Calibre | 5 | 10-19-2010 01:48 PM |
metadata.db same? | TallMomof2 | Calibre | 2 | 06-24-2009 06:25 PM |