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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

tangent’s picture

Please review. This patch is RTBC.

Rok Žlender’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
826 bytes

Patch works.
- no slogan no dash
- if there is slogan dash comes back

Rerolled now applies without offset.

Dries’s picture

Status: Reviewed & tested by the community » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)
drumm’s picture

Version: 6.x-dev » 5.x-dev
Status: Closed (fixed) » Patch (to be ported)

The 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.

Freso’s picture

Status: Patch (to be ported) » Needs review
FileSize
828 bytes

Ported patch. Not tested, but is identical (except for line numbers) to the D6 one.

drumm’s picture

Status: Needs review » Fixed

Committed to 5.x.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.