![]() |
#1 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
ePub version in template function?
Is there any way to identify the ePub version using template programming language (or a plugin) for use in a column?
|
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
To be able to see what version epub it is without opening it and to use that info to decide what other steps I take with the book.
|
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Ahh, sorry I missed the word "version". There is nothing in the template language that can do that. A plugin could open the book's OPF and check, but I don't know any plugin that does that.
|
![]() |
![]() |
![]() |
#5 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Quality check Plugin: Search EPUBS
(note: Adjust search term) |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
This is a manual process that will identify and select epub3 books. You then must use the list to set a column, probably Yes/No.
The steps:
Last edited by chaley; 06-11-2022 at 04:19 PM. Reason: Fixed numbering problem |
![]() |
![]() |
![]() |
#7 |
Connoisseur
![]() Posts: 53
Karma: 10
Join Date: Jun 2021
Device: Onyx Boox Nova3
|
Thanks, I think I can work with that!
|
![]() |
![]() |
![]() |
#8 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 6,939
Karma: 27060151
Join Date: Apr 2009
Location: USA
Device: iPhone 15PM, Kindle Scribe, iPad mini 6, PocketBook InkPad Color 3
|
Thanks for this recipe.
However, since most of my books are only in an Amazon format or PDF at this point, I created a Text column with 3 values: Yes,No,"" and set default to "". Then selected all ePub and bulk updated that list to 'No'. Finally ran the OPF search and set those to 'Yes'. |
![]() |
![]() |
![]() |
#9 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Your solution does permit adding more options, as would using a "Text, but with a fixed set of permitted values" column. |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Short title template function | TreeFrogBandit | Library Management | 2 | 06-11-2022 05:37 AM |
BuiltinAdd template language function | DyckBook | Editor | 4 | 10-19-2021 04:21 PM |
Using built-in template functions in a custom template function | ilovejedd | Library Management | 4 | 01-28-2018 12:20 PM |
Problem with contains function in save template | MicaOlaAdams | Calibre | 5 | 10-21-2016 10:25 AM |
how to use re() function in Template Program Mode? | msciwoj | Library Management | 3 | 07-07-2016 03:55 PM |