![]() |
#1 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Bulk MDE S&R questions
A custom column date can be cleared via the purpose built button that is automatically created in the Bulk MDE Custom Columns tab. But it would suit my purposes better if I could do it via saved Bulk MDE S&R definition. I have two related Bulk S&R definitions - a_move_date, b_counter++ - this would be a third - d_clear date
So I am looking for a Bulk MDE S&R definition to clear a custom date =============== Has anyone any thoughts on how I could get calibre to support lists of dates? I assume it can't be done without major effort. So, my idea is to convert a date value into a YYYY-MM-DD formatted string and store that in a tag-like value. Should I ever want use any arithmetic or date template functions I would have to reconvert the strings back to dates. So the question is - can someone furnish a Bulk MDE definition that will convert a custom date value into to a 'YYYY-MM-DD' string and append it to a custom tag-like value. I would name the definition c_save_date ================ So now I would have the following definitions -- a_move_date, b_counter++, c_save_date, d_clear date -- that I would execute consecutively in that order. Failure to execute the definitions in the right order, or inadvertently skipping a step, could result in data loss. So, it would be useful if I could put those four definitions into a group and execute the group in a single operation, anyone have any thoughts on that? BR Last edited by BetterRed; 09-14-2016 at 06:33 AM. |
![]() |
![]() |
![]() |
#2 | |||
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,343
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Quote:
Quote:
|
|||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
![]() ![]() Someone we know will now have the stats they wanted ![]() BR |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,597
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
My idea, as I've done it for other things: A plugin wich includes the operations. I don't know anything else.
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Thanks to both Chaley and BetterRed for helping me solve a problem.
If someone should take the time to write a plugin, let me know and gladly test it out. |
![]() |
![]() |
Advert | |
|
![]() |
#6 | ||
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
As compared to a generic version with selection from a list, ordering of operations etc, saving of configuration in json... - as in View Manager, Reading List etc. Quote:
BR |
||
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,327
Karma: 5306
Join Date: Jan 2014
Device: none
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,597
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#9 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
BR |
|
![]() |
![]() |
![]() |
#10 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,343
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
![]() |
#11 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
It wouldn't be 'emulating' as I understand the word - the PI coder (hopefully Tanjamuse) would use the S&R definitions as the specification for a developing the PI. The S&R definitions would be the prototype - do IT people still do that.
I suggest Tanjamuse use the S&R definitions she now has as he basis for developing the workflow for her stats and once she has that working satisfactorily she can consider developing a PI to further automate the workflow. There's a facet to the process Tanja hasn't raised here, which is dealing with the Evernote notes she raises against the books on her Tab. These relate to errors and omissions in the book metadata and changes to the book contents. BR A long time ago I wrote an emulator for the EE KDF 9 on IBM 360 - seemed a good idea at the time. Last edited by BetterRed; 09-15-2016 at 07:38 AM. |
![]() |
![]() |
![]() |
#12 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,597
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
1.- Recoger custom column (date) from db and format it as string => S&R could be useful here for format 2.- Recover custom column (tag) from db 3.- Append string to tag 4.- Save tags 5.- Save empty date |
|
![]() |
![]() |
![]() |
#13 | |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
But we're jumping the gun, lets get the S&R based solution working, which is awaiting 2.68 for a change chaley made yesterday and testing time. It may well be that Tanja and I can reduce the number of step from 4 to 2 and eliminate the danger of data loss if there's a missed or out of order step - in which case the need for a PI would be moot. BR Last edited by BetterRed; 09-15-2016 at 09:27 AM. |
|
![]() |
![]() |
![]() |
#14 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,597
Karma: 12595249
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
Quote:
![]() |
|
![]() |
![]() |
![]() |
#15 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 21,640
Karma: 29710510
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
bulk operations - a couple of questions | ms233 | Library Management | 13 | 08-30-2014 02:55 AM |
Bulk search & replace question | Capricorn | Calibre | 0 | 08-23-2013 05:12 AM |
2 Questions about Bulk Edit Search & Replace | BookJunkieLI | Library Management | 6 | 02-19-2012 01:39 PM |
Can only import books from one of two MDE accounts | kikibobo | Library Management | 2 | 01-13-2012 09:40 AM |