nom icon indicating copy to clipboard operation
nom copied to clipboard

[Feature]: prefix freshrss category

Open ilovethensa opened this issue 1 year ago • 2 comments

It should prefix the category of a feed from freshrss similar to how you can

feeds:
    # name will be prefixed to all entries in the list
    name: dropbox 
  - url: https://snyk.io/blog/feed

ilovethensa avatar Jun 17 '24 07:06 ilovethensa

Thanks for the suggestion @ilovethensa. Are you looking to add prefixes for feeds managed by freshrss?

guyfedwards avatar Jun 17 '24 15:06 guyfedwards

Thanks for the suggestion @ilovethensa. Are you looking to add prefixes for feeds managed by freshrss?

Yea

ilovethensa avatar Jun 17 '24 16:06 ilovethensa

Hey @guyfedwards. I second this. However, not just for freshrss, but for all entries.

First, thanks for this great tool.

So, say I add some config with urls and its names. I'm trying to understand the purpose of the name item in the config, if one can know what all different RSSes are added just by looking at the url. If it is to give some name to the url, I think that may not matter, since, in the main view of nom, (where all the feeds are shown), it's difficult to distinguish which item/feed comes from which RSS.

Suggestion: What can be done here is, the name field in the config can be used to prefix the category over the feed names. For e.g. say I have this config:

feeds:
  - url: https://www.investing.com/rss/news.rss
    name: Investing
  - url: http://feeds.feedburner.com/ndtvnews-world-news
    name: NDTV World News

Then, if possible, the feeds can be displayed in the main view of nom as, for e.g.:

nom

>    1. NDTV World News: Bird builds nest using Fibre Optics found in Drones
     2. Investing: The Stoic Path to Wealth, with Robert Rosenkrantz
     ....

What do you think?

aniketgm avatar Jun 08 '25 18:06 aniketgm

That is what the name is designed to be doing, is it not showing as a prefix in the UI when setting a name in config?

guyfedwards avatar Jun 08 '25 18:06 guyfedwards

Ok now it's showing. I'm not sure what happened. it wasn't doing that when I checked just after the installation. I added a few more rss-feeds with 'name' and I can see the prefix now. Thank you for the quick response.

Image

aniketgm avatar Jun 09 '25 04:06 aniketgm

No worries, thanks for your input/suggestions. Glad it's working 🎉

guyfedwards avatar Jun 09 '25 10:06 guyfedwards

Added freshrss.prefixCats: bool in https://github.com/guyfedwards/nom/releases/tag/v2.10.0

guyfedwards avatar Jun 17 '25 20:06 guyfedwards