Doing decent RSS easily in modern Drupal
Sadly, Drupal 8, 9, and likely 10 haven’t cleaned up the RSS support to be definitively better than, say, Drupal 1.0 twenty odd years ago.
This is the big regression that’s not fixed yet:
- drupal 8 remove title from RSS description
Seems it’ll take some digging to find where these unwanted additions get added to the description: https://api.drupal.org/api/drupal/core%21modules%21views%21src%21Plugin%21views%21style%21Rss.php/function/Rss%3A%3AgetDescription/9.3.x
I’m using https://www.drupal.org/project/manage_display to work around this.
- make links absolute URLs not relative for RSS Drupal 8
This is a big one that’s allegedly fixed but… not for Views-based RSS or something? Nah, it must be, because Views does provide the core frontpage RSS, yes? /admin/structure/views/view/frontpage/edit/feed_1 And taxonomy term RSS: https://vhfa.org-drupal-8.ddev.site/admin/structure/views/view/taxonomy_term/edit/feed_1
Relative URLs in feeds should be converted to absolute ones [#88183] | Drupal.org
Maybe the error i saw was… hmm, needs investigating.
Some other links to come back to when more motivated to work toward more systemic solutions:
- Support enclosure field in Views RssFields row plugin [#2511878] | Drupal.org
- RssFields forces links to be absolute URLs to current Request domain [#2987732] | Drupal.org
- Improve behaviour of RSS view with fields if you enabled “Use absolute link” [#3090267] | Drupal.org
And some workarounds:
https://drupal.stackexchange.com/questions/234347/override-views-rss-feed-display