View Single Post
Old 01-20-2019, 07:09 AM   #5
chaley
Grand Sorcerer
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: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
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