Make the WOTD feed discoverable

Created on 30 June 2023, about 1 year ago

Problem/Motivation

While ✨ Support displaying the RSS feed icon on the WOTD block Fixed makes the feed discoverable if the WOTD block is present on the site AND the feed icon config is enabled, it does not make the feed discoverable if the feed icon is disabled or if the block is not present on a G2 page.

Steps to reproduce

Navigate to any page on the site, even those belonging to G2: observe that there is no feed icon and no meta alternate.

Proposed resolution

Add a meta alternate to the feed on relevant pages, like:

<link rel="alternate" type="application/rss+xml" 
  title="RSS Feed for the word of the day in the G2 Glossary on My Awesome site" 
  href="/rss/" />

Remaining tasks

  • Decide on which pages to add it:
    • all pages ? maybe excessive, although doesn't hurt
    • G2 pages ? (main, homonyms, initials...): there's just a few of them
    • G2 entry pages ?
    • G2 admin pages ? is it useful there ?
    • Pages carrying the WOTD block ? Makes the most sense, but less visible than the whole site
  • Do it

User interface changes

None unless the user has a RSS-compatible browser or extension.

API changes

None.

Data model changes

None.

✨ Feature request
Status

Active

Version

1.0

Component

User interface

Created by

πŸ‡«πŸ‡·France fgm Paris, France

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024