02-26-2021, 11:28 AM | #541 |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
05-17-2021, 04:52 PM | #542 |
Wizard
Posts: 1,090
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
New beta version
Here is a new beta if anyone is interested in testing. It have a couple of fixes, with one new feature:
Last edited by capink; 06-10-2021 at 05:41 PM. Reason: remove beta attachment |
Advert | |
|
06-03-2021, 03:30 PM | #543 |
Library Breeder (She/Her)
Posts: 1,156
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
I seem to be having trouble importing lists with isbn and isbn13 ids from Goodreads. Their library export shows those columns as being ="isbn". I use excel and manually remove the =" and set it as a number. When I go in and check the isbn with quality check they all turn up as being invalid.
How can I import these columns so that they aren't invalid? |
06-14-2021, 08:08 PM | #544 |
Library Breeder (She/Her)
Posts: 1,156
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
I think I figured out what causes it sometimes takes a longer time to update columns. The length of time it takes is in direct proportion to the following.
1. The columns it is updating must shouldn't be filled with something already. The more data that is is copying over the longer it takes. If you are updating a tags column, it is better to either delete all the current tags, or have a blank tags column to fill up then copy it over to the desired column. The same is true of date columns, it is better to only update cells with actual dates rather than just a blanket update all if there is data already in the columns. The thing that makes the biggest difference is when you are updating a lot of new information in a column that already has a lot of information. Like a tags column. 2. Lists that require a lot of books to be matched manually should be imported as follows Delete any unmatched books from the list, update the metadata and import the matched books. Depending on how many unmatched books there were you can do a couple of things - 1 - rerun the list again - using different parameters for matching hoping you match what you didn't match before ie. using an id instead of title author. Only update the matched books that haven't already been matched. I keep an extra yes/no column that I add to every imported list as a "Yes" right down the line so that when I import new books I can see if they have already been imported previously. Delete any previously imported book from the list, (you can see if it has been imported because that yes/no column will let you know) delete any unmatched book, and update new matches. 2 - Import the list, delete the unmatched books, update the new matched books then chunk up the .csv into smaller amounts using a csv file chunker based on how many unmatched there were. The goal is to keep each chunk with only a small amount of unmatched. Delete all the matched books in each imported chunk (they already got matched in the first run). Match up each unmatched and update the metadata and run it. Hopefully there are not too many books to update in each chunk so it won't take as long. For a long list with a lot of different ways to match up, I tend to do both one and two. Step one means updating the metadata for books matched up different ways through different imports of the same lsit. Then once I have imported every possible matched book, I then chunk up the list and reimport each chunk - deleting the already matched books from the list and updating the unmatched. If you do it right you will only be updating a couple of books each chunk and then it will be a lot faster than if you just tried to import the whole list. The ultimate goal to make the importing go faster than one book for three or four seconds is to make sure the books match without needing to manually do it, and make sure the columns that are being updated with new metadata are blank or have small bits of data - and don't just mass update a column when you see that you only need to update a couple of books. The less copying over current data and the less importing columns with no data (update metadata for a whole column even if only a couple of books need updating - like a date column). It isn't so bad to copy over a yes/no or single data column than it is to update a tags column with a ton of new data. This seems like a lot of work for the casual list importer, but if you are like me and import calabre catalogs from other libraries, the Goodreads CSV or other lists, these steps will save a lot of time in the long run. Again, this is only if you find yourself sitting around forever while a list imports - and this happens a lot. Last edited by Rellwood; 06-14-2021 at 08:40 PM. Reason: Clarification |
07-27-2021, 02:42 PM | #545 |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2021
Device: Kindle Paperwhite Gen 7
|
Is there an easy way to get Amazon Kindle book purchase dates into Calibre?
Is there an easy way to get Amazon Kindle book purchase dates into Calibre? The purchase dates are on Amazon's "Manage Your Content and Devices" webpage.
I couldn't get Import List's web page option to work - I get "Failed to run load_page_in_browser" (someone mentioned it doesn't work on pages that require authentication). I also couldn't get the clipboard option to work - I think because when I copy from the web page, metadata from a single book is spread over multiple lines of text (see below). I finally managed to copy from the webpage to a text file, use a Python EBNF parser (attached) to convert to CSV, then use the CSV option to import to Calibre. Did I miss a simpler option? Or could Import List be modified to allow importing of this kind of data? I would like to go straight from the Amazon webpage into Calibre, without messing about with intermediate files. The cut-n-paste data I'm trying to read looks like this. The author(s) and purchase date are concatenated together. The "..." in the data are really there, that's not me eliding content. The single digits are the number of collections I've put the book in (which for me is none): Code:
... The Consuming Fire (The Interdependency Book 2) (English Edition) John Scalzi18 December 2019 0 ... The Collapsing Empire (The Interdependency Book 1) (English Edition) READ John Scalzi10 December 2019 0 ... Shadow Captain (Revenger) (English Edition) Alastair Reynolds18 October 2019 0 ... Revenger (English Edition) Alastair Reynolds17 October 2019 0 ... Permafrost (English Edition) Update Available Alastair Reynolds12 October 2019 0 Finally, thanks to whoever for a really usefull plugin |
Advert | |
|
08-02-2021, 02:07 PM | #546 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2021
Device: Kindle Paperwhite Gen 7
|
I've modifed import list for myself, so if it finds a "\n" in the regex, it uses Python's finditer to repeatedly find matches, instead of going line by line. I also updated the handling of custom fields, as it didn't work for me when using the clipboard source. I can now use this regex to parse my text:
Code:
^.*\.\.\.\n(?P<title>.*)\n(READ\n)?(Update Available\n)?(?P<authors>.*\D(?=\d?\d \w+ \d{4}))(?P<#purchased>\d?\d \w+ \d{4})\n\d+$ Quote:
Code:
(?P<title>.+)\n(?P<authors>.*)\n* |
|
08-10-2021, 02:10 PM | #547 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2011
Device: Kindle
|
Missing fields to match
I'm having trouble getting fields to match on an import and I'm hoping someone can help me figure out what I'm doing wrong.
Background: I'm trying to import a large number of "empty" books using data from Goodreads (ultimately to shift whole catalog management from GR to Calibre). I've created an empty library to use as a test with the same columns I have in my real library. I exported my GR data and extracted about 200 lines to test with. Saved as a csv file. When I try to match the fields I'm not getting an option to match the ISBN field. I've tried re-naming the column in my csv file to "ID:ISBN" which is what I understand the field should be, but it's still not showing up. (My library column layout does have an ISBN column, but since this is a column from another column, I understand that this is not the field to match to.) I'm sure I've missed a step somewhere, but I can't figure out where! Screenshot attached. Last edited by ZuleikaD; 08-10-2021 at 02:11 PM. Reason: Added screenshot |
08-10-2021, 02:17 PM | #548 |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2011
Device: Kindle
|
|
08-10-2021, 02:42 PM | #549 |
Wizard
Posts: 1,090
Karma: 1948136
Join Date: Aug 2015
Device: Kindle
|
The plugin gets the list of IDs from the books in the library (since there can unlimited number of identifier types). If your library is empty, or if it has no books with and isbn identifier, the ID:ISBN field will not show up.
The solution to this is to create an empty book, and add dummy isbn identifier to that book. e.g. isbn:123456789. You can delete this book after you complete your import. Edit: to create an empty book: Add Books > add an empty book. |
08-10-2021, 02:57 PM | #550 |
Well trained by Cats
Posts: 29,807
Karma: 54830978
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Right click the Add Icon: Add from ISBN can create Empty books AND it will try and fill the metadata and covers, ( this uses you normal Metadata source configuration, so you might want to temporarily trim that)
Then you can do more with Import List |
08-10-2021, 03:36 PM | #551 | |
Junior Member
Posts: 9
Karma: 10
Join Date: May 2011
Device: Kindle
|
Quote:
|
|
08-21-2021, 06:25 PM | #552 | |
Library Breeder (She/Her)
Posts: 1,156
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Quote:
I suggest creating an empty book with a popular title and downloading the metadata so that it will populate with all the identifiers you are looking for. Then you add the list from GR. |
|
08-21-2021, 06:30 PM | #553 | |
Library Breeder (She/Her)
Posts: 1,156
Karma: 1900479
Join Date: Apr 2015
Location: Fullerton, California
Device: Kobo Aura HD (1) PW3 (4) PW3 2019 new edition (1)
|
Quote:
If it isn't this way for you now, then your parsing should be fine, however if they do change it there are some ways to get your information into Calibre. However it isn't as easy as it was before. Let me know if this is the case. |
|
08-25-2021, 12:15 PM | #554 |
Enthusiast
Posts: 46
Karma: 52636
Join Date: Mar 2021
Device: Kindle Voyage
|
Getting all books and reading order/series number for an author
Has any managed to configure ImportList to parse a webpage from any of the sites that show all books for an author in reading order, for example from https://www.bookseries.org/authors/harlan-coben/ ?
Using the predefined option Fantastic Fiction, seems to give the Title but not the series. |
08-27-2021, 12:47 PM | #555 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Jul 2021
Device: Kindle Paperwhite Gen 7
|
Quote:
|
|
Tags |
column types |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1319 | Yesterday 09:27 AM |
[GUI Plugin] Manage Sony x50 Reader Book List | kpw | Plugins | 170 | 10-02-2014 08:23 PM |
Import List plugin idea thread | kiwidude | Development | 45 | 08-13-2012 06:05 AM |
[GUI Plugin] WebOS Kindle-Import | CranstD | Plugins | 0 | 01-24-2012 03:36 PM |
[GUI Plugin] Plugin Updater **Deprecated** | kiwidude | Plugins | 159 | 06-19-2011 12:27 PM |