Open nash-an opened 5 months ago
Current:
With title as \<source> (or any other custom attribute):
I am unfamiliar with Go, but I tried my hand at adding this feature:
https://github.com/nash-an/glance-rss-enhancements/commit/964c60d5fc69994a5a109f95a37627c4c9106cba
New config option added, UseSource bool
. When true, RSS feed will replace the rssItem.ChannelName
with the item's source title, rather than the specified title or feed title.
It's not exactly an elegant solution, mostly because the gofeed library does not have the source attribute as part of its default gofeed.Feed struct, but it works.
A bit similar to PR #215, except that PR uses the domain as the source mainly to address FreshRSS user queries
With certain news aggregates, it is preferred to use the source as the title for the RSS feed rather than the RSS feed's title.
For example, with https://news.google.com/news/rss, it would be better for the individual articles to use the \<source> attribute (ex. CNN) rather than the