Skip to content

Publish an Activity RSS feed at /activity/feed.xml #280

Description

@mmcky

Follows the Activity RSS feed decision in #266. Related to #271, but not one of its work items.

Why. Decided in #266: a second feed for Activity. It gives one subscription covering every library release and lecture update, which GitHub's per-repository release feeds don't. /feed.xml stays News-only.

Work.

  • The feed page. Add pages/activity-feed.xml (layout: null, permalink: /activity/feed.xml, sitemap: false), built from Compute the Activity rows at build time, with tests #276's rows:
    • the latest 50 items, in RSS 2.0 to match /feed.xml;
    • each item's guid built from date, type and project, since lecture URLs repeat;
    • each item links to its day on /activity/.
  • Discovery. Add <link rel="alternate" type="application/rss+xml"> for both feeds in _layouts/default.html.
  • Links. If the rail has shipped, turn on its "Activity feed" link. Otherwise the rail adds it when it ships.

Acceptance criteria

  • /activity/feed.xml validates with the W3C feed validator.
  • Its newest item matches the top of /activity/.
  • /feed.xml is unchanged.
  • Both feeds are advertised in <head>.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions