10-11-2017, 07:25 AM | #1 |
Groupie
Posts: 166
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
using plugboard to customize comments
I am using plugboard to customize the title and author. Works very well for my kobo. Also changes afterwards are easy possible with kobo utility and feature update metadata.
Later I use to send specific comments i.e. some dynamic data followed by given comments. Also that works well but of course only after the books are on the reader. So far so good. Is there any chance for adding comments in the plugboard target field list like for title etc to avoid the initial extra work (unplug, plug, update comments)? I hope that any html specialities are not a showstoper for this. |
10-12-2017, 01:51 PM | #2 |
Groupie
Posts: 166
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
@kovidgoyal
David ask me to address my question in the calibre forum. Maybe you did not see this as it looks now twice as there are already some entries in the other one https://www.mobileread.com/forums/sh...08#post3591808. Perhaps someone should merge and move them. But I am more interested in a positive reply. |
Advert | |
|
10-12-2017, 02:23 PM | #3 |
Well trained by Cats
Posts: 29,663
Karma: 54369090
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
{Comments} (as downloaded metadata) can be huge. Not a great plan in the plugboard for general release.
A user column at least, has better control of what is put there. |
10-12-2017, 04:40 PM | #4 |
null operator
Posts: 20,421
Karma: 25894272
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
|
10-12-2017, 09:52 PM | #5 | |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
The only thought of two reasons that the comments field is not supported in the metadata plugboard. Firstly, not enough devices actually display the comments and hence it wasn't worth it. The other is the risk of broken HTML going into the field. But, calibre already has code that can be used to mitigate this (type incorrect HTML into the metadata editor and save it and then look at what is produced). I don't find either of these very compelling reasons for not including the comments in the metadata plugboard, so maybe I am missing some other reason. As to user columns, they are great for the calibre library. If you want to store extra information about the books, in the library, they are probably the way to go. But, they are pretty much useless anywhere else. I don't know of anything other than Calibre Companion that uses them in any way. |
|
Advert | |
|
10-12-2017, 11:15 PM | #6 | |
Well trained by Cats
Posts: 29,663
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:
|
|
10-12-2017, 11:24 PM | #7 |
Grand Sorcerer
Posts: 6,208
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
And why do you think that comments is different? I join some fields there when I send the comments to the device.
|
10-12-2017, 11:57 PM | #8 |
creator of calibre
Posts: 43,749
Karma: 22446736
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
No idea, you'd have have to ask chaley why comments are not included. He's the one who developed the metadata plugboards system.
|
10-13-2017, 12:55 AM | #9 | |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Maybe... The comments is a standard field. And I do want to "jam" other unsupported fields into it. I currently use the Kobo Utilities plugin to do this, but directly updates the database on the device. This post has a screenshot of this from a Kobo device. That has rating, page and word count and tags added at the start of the comments. To do that, I have to send the book to the device, eject the device and let it process the books. Then, connect the device and update the comments using the plugin. If I could do this via a metadata plugboard, it would happen whenever I sent a new book to the device. And for the record, I have added comments to the metadata plugboard in my dev environment. It is a very, very simple change and I have been using it for a long time with no problems. But, I haven't tested it with anything other than a Kobo device. But, lets wait and see if chaley had a reason |
|
10-13-2017, 07:35 AM | #10 |
Grand Sorcerer
Posts: 11,694
Karma: 6240117
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Because I didn't see the point, and TBH I still don't see the point. Plugboards exist to permit people to put non-standard data into standard device-specific fields that readers use to categorize books. No reader that I know of uses comments for that purpose. Adding comments means a maintenance problem, feature requests e.g., to do html processing in the plugboard, and who-knows-what such as "Why stop with comments? Why not allow plugboards to change any metadata field?"
You can use search/replace to change comments or construct another custom field however you want, especially with template mode. If needed keep the "real" comments in a custom column and modify the built-in comments field. If the changes are per-device then you can use Reading List to help manage which S/R to run. You can use Cleaning Comments to remove HTML. Bottom line: I am not convinced that it is worth my trouble. @davidfor: you are welcome to take this on, committing your existing change. |
10-13-2017, 10:20 PM | #11 | ||||
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I'm using the comments to show information that the device won't otherwise show. That information is used when choosing a book. Page and word counts are much better indication of book length than file size. And the device doesn't display tags, so having them in the comments is useful. I could create collections for the tags, but, that doesn't show all the tags associated with a book in one glance. Quote:
Quote:
Quote:
|
||||
10-14-2017, 02:33 AM | #12 |
Groupie
Posts: 166
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
I'm adding values from other meta data fields like (but not only) number of books I have from that author in front of the given comments. Some of them are static and some are dynamic. So I have to use update metadata anyhow from time to time (thanks @davidfor for kobo utilities). To get the «extended» comments during sending the book would be comfortable.
|
11-11-2018, 05:39 AM | #13 |
Groupie
Posts: 166
Karma: 158116
Join Date: Oct 2015
Device: Kobo Glo HD (landscape), Kobo Aura One
|
Thanks a lot, Kovid and all developer.
With Calibre 3.34 I get the comment manipulation within the plugboard. My tests are succesfull I like to show my entry: on {date} loaded at {#download_at}<br>{tags}{series:|, | } {series_index:|[|]} with {#pages} Pages <br>{#author_book_count} {#author_book_count:'first_matching_cmp(1,$,'Books ','Book')'} from this {#fivestarautor:'test($, '5*', '' )'} Autor<br><br> {comment} |
11-11-2018, 05:42 AM | #14 |
Grand Sorcerer
Posts: 6,208
Karma: 11766195
Join Date: Jun 2009
Location: Madrid, Spain
Device: Kobo Clara/Aura One/Forma,XiaoMI 5, iPad, Huawei MediaPad, YotaPhone 2
|
I want to thank them too, because now I can send my challenges and tags inside comments automatically when I connect the device, without having to use manually KoboUtilities (or other non-standard methods )
|
11-11-2018, 06:06 PM | #15 | |
Grand Sorcerer
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
I should for not having done this ages ago. I've been using it all this time and only checked it in, plus the metadata source change, to clean up my development environment a bit before doing what Terisa is referring to. |
|
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
using plugboard to customize comments | Katja_hbg | Kobo Reader | 6 | 11-11-2018 06:16 PM |
How do I customize this? | solid8546 | Calibre | 4 | 03-12-2017 03:14 PM |
How can you Customize Calibre's Look? | chilady1 | Calibre | 8 | 12-26-2012 10:50 PM |
Customize GUI | xfiles | Calibre | 6 | 05-27-2011 06:47 PM |
Customize the 700? | JeffElkins | Sony Reader | 5 | 12-17-2008 10:25 AM |