![]() |
#481 | |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,060
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quote:
As a 1 time work around. Import that date into a custom column Then use the Bulk mode Metadata Edit (MDE) S&R: to effect a copy of just those with custom dates (find: #mydatename:true) into the {date} Backups are ALWAYS a good idea when doing bulk MDE operations ![]() Once things have settled. Use the Copy TO Library (on context menu) to move TO the Target library |
|
![]() |
![]() |
![]() |
#482 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
After importing them, select all the books and choose the metadata bulk edit tool > search and replace tab:
Code:
Search field: title Search for: (.+) Replace with: \1 Search mode: Regular Expressions ✔ Case sensitive Apply function after replace: Lower Case (or Title Case) Mode: Replace Field |
![]() |
![]() |
Advert | |
|
![]() |
#483 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jul 2020
Device: none
|
You're the best!
|
![]() |
![]() |
![]() |
#484 | |
Member
![]() Posts: 10
Karma: 10
Join Date: Jan 2020
Device: Kobo Forma
|
Quote:
And in fact, this is actually the perfect solution for me. With my old program I only added a book when I was ready to review it. So the timestamp == review date. But I actually put ebooks into Calibre before I review them. So my date was always going to be a bit off. With this solution I can choose to set a more exact date if I want to (and will set it automatically for older books from import) or leave it empty and let it be calculated from the timestamp if I do not. This appeals to the fastidious nitpicker in me. But I am also grateful for the pointer to the metadata bulk update. Because if I were slightly less... well me.... this would have been a very sensible solution. |
|
![]() |
![]() |
![]() |
#485 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Version 1.4.10
Fix: Highlighting and moving between matches in webpage tab not working with python3. Fix: Disable automatic preview when a new file is selected, to allow users to select proper field mappings first. Fix: Stop the tag view from updating while the progress bar is on. Fix: Move previous and next buttons in the web tab out of the scrollarea to make them visible again. This version is mostly fixes or minor improvements. I do not have any new features I want to add to this plugin, and I hope that eventually this version will be good enough to be released officially. So I like everyone to test this as much as they can and report any problems. If all goes well, I will contact the moderators to see what we can do about releasing it. I tried my best when adding features not to change the original behavior of the plugin. I made an exception here by stopping the automatic preview whenever a new csv file is selected. The rationale here is that the plugin used to go into preview while the columns were mapped according to the old csv file, often putting the data in the wrong fields (It can be caught by datatype validation only if there are errors in datatypes). Now it gives the user the chance to first remap the columns either manually or using the "from headers" button, and then press preview. This is also consistent with the traditional way the plugin operates when you first open it, as it remembers the last csv file you used, but it does not preview it until the user presses the preview button. I would like to hear your feedback on whether to keep this new behavior or revert to the old one. Last edited by capink; 07-23-2020 at 01:53 PM. Reason: a new version uploaded with davidfor's fix in the next post |
![]() |
![]() |
Advert | |
|
![]() |
#486 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
@capink: The search in the webpage tab is working now in Python3. But, the page source is displayed like:
Code:
b'<html class="dark prog ads" lang="en">\n <head>\n \n <base href="https://www.fantasticfiction.com/">\n <title>\n Joe Abercrombie\n </title>\n \n \n \n \n \n \n \n \n \n \n </head>\n <body>\n <div class="main" id="mainframe">\n \n Code:
self.source_tedit.setPlainText(unicode(raw, 'utf-8')) |
![]() |
![]() |
![]() |
#487 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
@davidfor: Thanks for the heads-up.
A new version with davidfor's fix is attached here. The version in the old post removed. Last edited by capink; 08-13-2020 at 11:29 AM. Reason: removing attachment |
![]() |
![]() |
![]() |
#488 |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Dates being off
I am not sure if this is because the imported dates are always set to dd MMM yyyy (the same as the columns) but whenever I import a list containing dates (ie. read dates) the dates in the column after the list has been imported are one day later.
Imported list says that a book was read Jun 08 2015, the column ends up having June 09 2015. This is for every date in every column. Apparently this has been the way it always has been for this plugin, it is only today that I made the connection that it was caused by it. For years I have been importing lists with dates and so many times I have noticed that the dates in the list were one off from the column that I was importing them into. Only today I was checking against a list that I had just imported that It came to my attention that EVERY date in the freshly imported column was off by the list that I just used. Any way of getting around this? Also.... If I import a page column into a column formatted as intengers {0:,d}, I have to format the column in the list as being numbers and make sure that there is at least a 0 in every line or else it won't import. Am I going about it wrong? I would like to import page columns that may have books without a listing, but as it stands I have to go into each blank space and mark it with a 0. Would a Moderator please move this to the Import List Plugin page? Done Last edited by BetterRed; 08-09-2020 at 05:32 PM. Reason: moved |
![]() |
![]() |
![]() |
#489 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
I will have a look into the date problem. |
|
![]() |
![]() |
![]() |
#490 | |
Library Breeder (She/Her)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,268
Karma: 1937891
Join Date: Apr 2015
Location: Fullerton, California
Device: Paperwhite 2015 (2), PW 2024 (12 GEN), PW 2023 (11 GEN), Scribe (1st)
|
Quote:
Calibre 4.18 64 sorry for all the edits, I type then re-read and realize mistakes. Last edited by Rellwood; 08-09-2020 at 07:03 PM. |
|
![]() |
![]() |
![]() |
#491 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Regarding the date problem reported by Rellwood, from my own testing, it happens only in these situations:
(The presence of absence of time or timezone in the date string does not change this behavior) The plugin call a function in Calibre (field_from_string > parse_only_date > fix_only_date), which is responsible for the behavior described above. I don't know why Calibre does this, but I am sure there is good reason for it. This can be bypassed by calling parse_date directly, but since I don't understand the problem of dates very well, I cannot be sure whether this will lead to any unforeseen problems. So, I will leave this problem to someone who understands it better to deal with it. Edit: Rellwood reported dates where the day is neither the first nor the last day of the month, this does not happen for me. Last edited by capink; 08-10-2020 at 06:51 AM. |
![]() |
![]() |
![]() |
#492 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
|
|
![]() |
![]() |
![]() |
#493 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
So maybe someone fixed this for pubdate but did not do the same for custom date columns. |
|
![]() |
![]() |
![]() |
#494 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,211
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
|
Quote:
Skoob website only give us the year of publication, so I chose to set the pubdate to YYYY-01-01, but this made dates to be set as (YYYY-1)-12-31. As a workaround I chose to set it as YYYY-01-02. Since the real date was only the Year, this would make no difference. Now, I've just checked and setting pubdate as YYYY-01-01 works normally. It must have been fixed in this interval. |
|
![]() |
![]() |
![]() |
#495 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,196
Karma: 1995558
Join Date: Aug 2015
Device: Kindle
|
Quote:
Quote:
I asked Kovid about this issue and he said that it is done so that the month is one in all time zones, and that it is safe to bypass it using parse_date. Thanks for your input. |
||
![]() |
![]() |
![]() |
Tags |
column types |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[GUI Plugin] Reading List | kiwidude | Plugins | 1423 | 06-22-2025 01:03 PM |
[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 |