06-12-2024, 11:36 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Dec 2011
Device: Kindle
|
How to format {comments} in custom column?
Hi,
not sure where to put this question. I created a custom column to display the comments field of the book record (limited to the beginning of the comment that fits in the column width). It works but it shows the "source html" of the comment (often beginning with <div> or <p>). Is there a way to display this column in the "normal" format of the comment, or to just display the text of the comment (hiding and ignoring the html tags) ? |
06-12-2024, 12:17 PM | #2 |
Grand Sorcerer
Posts: 11,407
Karma: 230178176
Join Date: Jan 2014
Location: Estonia
Device: Kobo Sage & Libra 2
|
In the settings for the column, do you have HTML for Interpret this column as...?
|
Advert | |
|
06-12-2024, 04:53 PM | #3 |
want to learn what I want
Posts: 1,243
Karma: 6426810
Join Date: Sep 2020
Device: Calibre E-book viewer
|
My workaround is setting a Column Icon, see:
here's my setup: so, before the icon it looked like this... then after setting the column icon, it looks fine, although I need to mouse hover over the cell to see the comment in the tooltip: |
06-12-2024, 08:35 PM | #4 |
null operator (he/him)
Posts: 20,981
Karma: 27620706
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
↑ ↑ ↑ ✔
I do something similar. But I turned off Book list tooltips when I first installed calibre… version 0.8.?. So, I move imported Comments to a custom Long text column (Blurb/#blurb) and press F2 on the Blurb icon. This also means I can edit Blurb in the book list. I have metadata edit search and replace saved settings that copy Comments to Blurb, clear Comments, and copy Blurb to Comments (rarely used). BR |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding custom column data to comments | BookJunkieLI | Library Management | 5 | 01-01-2024 03:52 PM |
Custom Column made from Comments | slantybard | Library Management | 5 | 01-31-2022 01:07 AM |
using re() and shorten() for custom comments column? | rebl | Library Management | 8 | 09-07-2014 04:58 AM |
Custom Column Format | aceflor | Calibre | 5 | 12-10-2010 10:28 AM |
create custom format column | blaubach | Calibre | 12 | 09-17-2010 03:22 PM |