|
|
#1 |
|
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2023
Device: iphone
|
Adding a summary column
Hi, I wanted to add a column that contains the book summary.
It's "Comments" under "Edit metadata," so I tried that, but it doesn't seem to be a standard lookup name as far as I know. I'd appreciate any help.
|
|
|
|
|
|
#2 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,271
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
{comments}
(to see lookup names of any column)Preferences: add your own columns: (look at the column 'lookup name' ) |
|
|
|
| Advert | |
|
|
|
|
#3 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,032
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Because it can't be shown in the book list, the comments/Comments column is not shown in the Preferences->Add your own columns list.
You'll find it in the Preferences->Look & feel->Book details->Select displayed metadata list. BR |
|
|
|
|
|
#4 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2023
Device: Kindle 11
|
When I use the {comments} it shows me the html source. Is there any command to shows it in Normal view?
Thanks! |
|
|
|
|
|
#5 | |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,032
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
The comments edit box has two tabs Normal (rendered text) and HTML. The Normal tab is a WYSIWYG Rich Text editor which creates HTML, elsewhere it should show the rendered text, e.g Book details, Epub jackets, catalogues etc? BR |
|
|
|
|
| Advert | |
|
|
|
|
#6 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2023
Device: Kindle 11
|
I attached the screenshoots...
|
|
|
|
|
|
#7 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 31,271
Karma: 61916422
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
I believe {comments} is the raw data (HTML) and what you see in the MDE or Details are a processed view. So what you are doing bypasses the process
(Not the NOTE in the Add your own columns that says Comments (type) are always last in the order shown) |
|
|
|
|
|
#8 |
|
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 22,032
Karma: 30277294
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
You've discovered why the built-in (real) comments/Comments column is not offered as a column that can be displayed in the Book list. Virtualising it as a derived custom column with a template won't overcome that.
Bottom line - long text columns cannot be shown in the booklist directly. What I do is to cloak them with a column icon if they're not empty. In one of my libraries I want to know if a book has comments; so, I attach a 'page' icon to the Title column if comments is set, viz: IMO creating custom columns with the same lookup names as built in columns is best avoided - even of they have to be prefixed with '#' when used elsewhere. |
|
|
|
|
|
#9 |
|
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jun 2023
Device: Kindle 11
|
It is strange you can't change how the column interpret when you use template language.
I ended up create a custom column (column type: long text) where there is a field "Interpret this column as:" and I can select HTML. There is a same comment field in metadata (in the custom metadata tab, not in the basic metadata tab). |
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Show book summary column | kamille3 | Library Management | 9 | 08-03-2021 08:08 PM |
| Adding a % to an integer column. | ownedbycats | Library Management | 2 | 11-01-2020 01:55 PM |
| Adding Comment Column | bfree380 | Calibre | 5 | 05-26-2020 05:43 PM |
| Adding custom column with any lookup-name gives me empty column as a result? | Ahu Lee | Library Management | 16 | 06-09-2019 01:14 PM |
| Adding 'Series Number' column. | polkij | Library Management | 2 | 10-08-2011 07:40 AM |