Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 10-26-2020, 11:47 AM   #1
Logarithmic
Member
Logarithmic began at the beginning.
 
Logarithmic's Avatar
 
Posts: 14
Karma: 10
Join Date: Aug 2020
Device: IPad
Adding "Comments" as a custom column

How do I add comments as a custom column. So I can check to make sure the books have their descriptions?

(What I mean by comments in case it was not clear)
Logarithmic is offline   Reply With Quote
Old 10-26-2020, 11:53 AM   #2
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Click image for larger version

Name:	2020-10-26 12_51_56-Create a custom column.png
Views:	434
Size:	16.0 KB
ID:	182991

This'll display the HTML code though. Don't know if there's much to be done about it.

Searching comments:false will also get you books with no comments.
ownedbycats is online now   Reply With Quote
Advert
Old 10-26-2020, 11:58 AM   #3
hobnail
Running with scissors
hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.hobnail ought to be getting tired of karma fortunes by now.
 
Posts: 1,587
Karma: 14328510
Join Date: Nov 2019
Device: none
See the section, "Why doesn't calibre have a column for foo?"

https://manual.calibre-ebook.com/faq.html#id34

I recently added a column similar to what you want and made it a Yes/No column. I wish there was a way (or I knew how to set it up) to have it toggle this to Yes when I download the metadata for the comments.

Last edited by hobnail; 10-26-2020 at 12:00 PM.
hobnail is offline   Reply With Quote
Old 10-26-2020, 12:02 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by hobnail View Post
See the section, "Why doesn't calibre have a column for foo?"

https://manual.calibre-ebook.com/faq.html#id34

I recently added a column for what you want and made it a Yes/No column. I wish there was a way (or I knew how to set it up) to have it toggle this to Yes when I download the metadata for the comments.
Try this for a comp column, and set "Show checkmarks":

Code:
program: 
	test(field('comments'), 'Yes', '')
ownedbycats is online now   Reply With Quote
Old 10-26-2020, 12:25 PM   #5
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Note that there's probably a nicer template that uses the "new "if/else/then" functions. I just had that one handy.
ownedbycats is online now   Reply With Quote
Advert
Old 10-26-2020, 01:12 PM   #6
Logarithmic
Member
Logarithmic began at the beginning.
 
Logarithmic's Avatar
 
Posts: 14
Karma: 10
Join Date: Aug 2020
Device: IPad
Thanks for all the replies so quickly! You guys are amazing!

So for anyone wondering exactly what I did, I copied exactly what ownedbycats showed in the image and then put "program:test(field('comments'), 'Yes', '')" instead of just "{comments}" and it works fantastic!!!

thanks again you two!

Last edited by Logarithmic; 10-26-2020 at 02:19 PM.
Logarithmic is offline   Reply With Quote
Old 10-26-2020, 04:07 PM   #7
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,725
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
If a book has anything in Comments I put a 'page' icon on the Title column otherwise a 'blank' icon. Avoids having to create a column.

BR
BetterRed is offline   Reply With Quote
Old 10-26-2020, 04:08 PM   #8
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 10,973
Karma: 75337983
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Unfortunately you can't sort with column icons.
ownedbycats is online now   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom column for "Volume" and "Version" (Revision) BaronKrause Library Management 10 11-02-2017 09:20 PM
Adding custom column on Calibre, CC "auto updates"? crane3 Calibre Companion 1 04-21-2016 04:49 PM
Custom column: "pubdate" and "ifempty" StillReading Library Management 3 04-07-2015 01:04 AM
Custom column: "Updated date", when adding new "versions" of the same file? enriquep Library Management 16 11-03-2011 10:46 AM


All times are GMT -4. The time now is 12:40 PM.


MobileRead.com is a privately owned, operated and funded community.