Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 07-23-2022, 02:44 PM   #1
jmgant108
Member
jmgant108 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2022
Device: Kobo Libra
assigning news articles to custom column [kobo]

a long time ago, I came across a post on how to make a custom column into which all news was sorted. I believe it was based on articles' author being listed as "news." the author was mapped to a tag Kobo can recognize as a shelf.

the end result I'm looking for is a way to group all articles on the Kobo into one category when they are sent.

I looked here for that article but can't find it. can anyone assist?
jmgant108 is offline   Reply With Quote
Old 07-23-2022, 09:08 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,508
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Does this help?

Quote:
Originally Posted by PeterT View Post
What I've done is the following:
  1. Add a new column of type Column built from other columns" with lookup name newsshelf and column heading News Shelf
  2. Set it's template to {:'strcmp(list_intersection(field('tags'), 'News', ','),'News','','News','')'}
  3. Add #newsshelf to the list of collection columns
PeterT is offline   Reply With Quote
Advert
Old 07-31-2022, 03:32 PM   #3
jmgant108
Member
jmgant108 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2022
Device: Kobo Libra
I have a kobo collection setting, #genre.

When adding this new one, do I separate them with a comma or space?
jmgant108 is offline   Reply With Quote
Old 07-31-2022, 08:19 PM   #4
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jmgant108 View Post
I have a kobo collection setting, #genre.

When adding this new one, do I separate them with a comma or space?
In the driver configuration, the names of the collection columns are separated by commas.
davidfor is offline   Reply With Quote
Old 08-01-2022, 05:14 PM   #5
jmgant108
Member
jmgant108 began at the beginning.
 
Posts: 11
Karma: 10
Join Date: Jul 2022
Device: Kobo Libra
do I need to add the tag 'News' to articles? I've copied your procedure exactly, but nothing appears under a news shelf on the kobo.
jmgant108 is offline   Reply With Quote
Advert
Old 08-01-2022, 05:55 PM   #6
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,508
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by jmgant108 View Post
do I need to add the tag 'News' to articles? I've copied your procedure exactly, but nothing appears under a news shelf on the kobo.
Sorry it's so long since I tried this I don't know. It was just an experiment at the time.

Sent from my Pixel 4a using Tapatalk
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom Column: Alphabetical sorting in tag browser includes articles ownedbycats Library Management 2 06-30-2020 12:52 PM
Assigning custom style sheets to a particular book birkmaggs Devices 8 02-01-2018 06:48 PM
Assigning shortcut to custom tag? khahoon Library Management 3 05-20-2013 06:11 PM
Automatically set custom column when fetching news bork Library Management 1 04-14-2012 03:20 AM
Reversing articles order in a custom news recipe? retired_anon_25 Calibre 5 12-12-2009 05:24 PM


All times are GMT -4. The time now is 10:59 AM.


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