Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The default title given to feeds is "Drupal - Site slogan". However, if there is no site slogan, a not uncommon situation, then feeds have a title of "Drupal - ".
The attached patch adds a dash only when the site slogan is not empty.
Comment | File | Size | Author |
---|---|---|---|
#6 | node.module.d5.feedname.patch | 828 bytes | Freso |
#2 | node.module.feedname.patch | 826 bytes | Rok Žlender |
node_feed.patch | 782 bytes | tangent | |
Comments
Comment #1
tangent CreditAttribution: tangent commentedPlease review. This patch is RTBC.
Comment #2
Rok Žlender CreditAttribution: Rok Žlender commentedPatch works.
- no slogan no dash
- if there is slogan dash comes back
Rerolled now applies without offset.
Comment #3
Dries CreditAttribution: Dries commentedComment #4
(not verified) CreditAttribution: commentedComment #5
drummThe committed version actually only has the title in the feed, and does not include the optional slogan. This should be backported to Drupal 5.
If the slogan is missed, please refile against Drupal 6.
Comment #6
Freso CreditAttribution: Freso commentedPorted patch. Not tested, but is identical (except for line numbers) to the D6 one.
Comment #7
drummCommitted to 5.x.