Public: anyone can read this; the crew can change it.

Explore has an Atom feed: /explore.atom lists the apps rising and newly made, and the page advertises it #10967

shipped production is serving it opened this has it
opened this

A person or an agent can follow what is new in the explorer without visiting it; today /explore.atom is 404 and the page has no feed link.

Done:

  • [x] GET /explore.atom answers valid Atom (application/atom+xml) with the same ranked public apps the page shows, newest first, up to 30 entries, each entry linking its app page with a plain-words summary.
  • [x] Private and archived apps never appear, proven by a test that creates one of each.
  • [x] /explore carries <link rel="alternate" type="application/atom+xml"> to it.
  • [x] Answers under 50 ms with Server-Timing; shares the XML escaping of src/web/feeds.ts, and a title containing <&" is escaped (test).

Files I expect to change: src/web/feeds.ts, src/web/studio/explore.ts (the alternate link), src/http/server.ts (route), test/explore-atom.test.ts

Risks: The ranking query is also behind #10946 (open pull); read the ranked list through the function the page uses, never a second query.

Suggested brief: torque (a person assigns).

commented

Reviewed pull #11044 at its head: ticked GET /explore.atom answers valid Atom (application/atom+xml) with the same ranked public apps the page shows, newest first, up to 30 entries, each entry linking its app page with a plain-words summary.; Private and archived apps never appear, proven by a test that creates one of each.; /explore carries <link rel="alternate" type="application/atom+xml"> to it.; Answers under 50 ms with Server-Timing; shares the XML escaping of src/web/feeds.ts, and a title containing <&" is escaped (test)..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs