Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-19-2019, 01:43 PM   #1
maximus83
Registered User
maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 1294230
Join Date: Jan 2011
Device: pc, android, e-ink
Group news items from the same source

In Calibre News view, how can you customize the view to visually group multiple news items from the same source?

For example, say you download daily from the the New York Times. You end up with multiple dated New York Times items in your News view; it gets cluttered over time. It would be handy to be able to create a custom view that groups all news items from the same source.

ETA: Here's a screenshot showing the problem of multiple dated entries from the same source. Calibre builds each daily download from a given source into an Epub and treats it like a separate book.


Last edited by maximus83; 01-19-2019 at 03:02 PM.
maximus83 is offline   Reply With Quote
Old 01-19-2019, 03:41 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 23,080
Karma: 24012262
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A, Kobo Aura2
Isn't the source, the Publisher?
theducks is offline   Reply With Quote
Old 01-19-2019, 04:14 PM   #3
maximus83
Registered User
maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 1294230
Join Date: Jan 2011
Device: pc, android, e-ink
Yes? But I still want to create a view that groups multiple dated entries from same source. Also I wouldn't see it as necessarily reliable trying to group by "Publisher" field, as a lot of the news entries end up showing calibre as the Publisher.

Last edited by maximus83; 01-19-2019 at 04:17 PM.
maximus83 is offline   Reply With Quote
Old 01-20-2019, 12:08 AM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 34,339
Karma: 10323932
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Do a multisort, by title and date.
kovidgoyal is offline   Reply With Quote
Old 01-20-2019, 07:09 AM   #5
chaley
CC Android & calibre dev
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 8,930
Karma: 2737706
Join Date: Jan 2010
Location: UK
Device: Many android devices
You can get close to what you want, a grouped display to the tag browser, by creating a "Column built from other columns" (not tags) with "Show in tag browser" checked, adding that column to the list of hierarchical tags (Preferences / Look and feel / Tag browser / Categories with hierarchical items), then using an appropriate template in the column.

I don't have any sample news data so I can't provide a template that is tested, but this one should come close.
Code:
program: re_group(field('title'), '(\.)| *\[(.*)\]', ":", "{$:|.[|]}", ',')
This converts any periods in the title to colons so they don't interfere with grouping, then adds a grouping period in front of the square-bracket-enclosed date.

After you make the above work, you will see the news articles in the tag browser with the name as the outermost item and the articles by date as the subitem.
chaley is offline   Reply With Quote
Old 01-20-2019, 11:05 AM   #6
maximus83
Registered User
maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 1294230
Join Date: Jan 2011
Device: pc, android, e-ink
Thanks guys, good tips.

The custom column + regex sounds cool. Will give that a try this week and circle back here with an update.
maximus83 is offline   Reply With Quote
Old 01-22-2019, 02:45 PM   #7
maximus83
Registered User
maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.maximus83 ought to be getting tired of karma fortunes by now.
 
Posts: 432
Karma: 1294230
Join Date: Jan 2011
Device: pc, android, e-ink
Quote:
Originally Posted by chaley View Post
You can get close to what you want, a grouped display to the tag browser,
This worked, thanks!

maximus83 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Covers for news items gone... NSILMike Calibre Companion 5 11-06-2015 02:04 PM
News items stuck at zero truth1ness Calibre 2 05-26-2015 10:05 AM
News items not auto-emailing to Kindle KenAdam Calibre 7 01-05-2011 02:17 PM
News items not showing up in Kindle CarlosOnline Amazon Kindle 0 04-04-2010 07:37 AM
Delete expired news items from device fruggeri Calibre 2 10-12-2009 06:30 PM


All times are GMT -4. The time now is 02:28 AM.


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