![]() |
#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) ? ![]() |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,993
Karma: 227000000
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 | |
|
![]() |
#3 |
want to learn what I want
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,092
Karma: 6425162
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: |
![]() |
![]() |
![]() |
#4 |
null operator (he/him)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 20,831
Karma: 27620684
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 |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |