Skip to content

Add podcast section with in-page player (RSS-fed) - #13

Merged
cpt9m0 merged 2 commits into
mainfrom
add-podcast-section
Oct 21, 2026
Merged

cpt9m0 merged 2 commits into
mainfrom
add-podcast-section

Conversation

@cpt9m0

@cpt9m0 cpt9m0 commented Oct 21, 2026

Copy link
Copy Markdown
Contributor

What this does

Adds a Podcast section to the homepage for Selection Lab — Human Context in the Age of AI, so visitors can browse and listen to episodes without leaving the website — per Tatiana's request.

The only earlier podcast work on the site was the /podcast redirect to Apple Podcasts (PR #12). This is the same podcast; Apple Podcasts is one place listeners find it, while the RSS feed (https://anchor.fm/s/1181d71f8/podcast/rss) is what lets the site display and play episodes itself. Both now coexist: Apple/Spotify/RSS links sit under the episode list as chips.

How it works

  • New #podcast section between Method and Team, added to the desktop pill nav, mobile menu, and footer (scrollspy picks it up automatically).
  • Episode cards with artwork, date, duration, description, and a custom player: play/pause, seek bar (click + arrow keys), elapsed/total time. One shared <audio> element — starting an episode stops the previous one.
  • Self-updating: the cards in index.html are a static snapshot of the feed (currently 2 episodes), so the section renders instantly and works with no JS. main.js then fetches the live RSS — Anchor sends Access-Control-Allow-Origin: *, so the browser can read it directly — and re-renders the list. New episodes appear automatically, no code change or redeploy needed. If the fetch fails, the snapshot stays.
  • Design: built entirely on the existing Noora tokens/cards/chips — no new visual language. New podcast icon added in the same stroke style as the existing set.
  • /podcast redirect changed: it previously bounced straight to Apple Podcasts. It now lands on theselectionlab.ai/#podcast (the Apple link is preserved in the section and in the redirect page's fallback text). Easy to revert if you'd rather keep /podcast pointing at Apple.
  • RSS autodiscovery <link rel="alternate"> added to the homepage head; README documents how the section works and how to refresh the static snapshot by hand.

Verified

  • Feed parsed live: 2 episodes ("Mishel AI — The Invisible Architecture of Human Potential", 19 Oct 2026, 1:09; "We Preserve the Data — But Lose the Human Context", 5 Oct 2026, 1:03); enclosure audio and artwork URLs return 200.
  • Headless DOM test against the real feed XML: section/nav present, list re-renders to 2 cards with correct titles/meta/durations, play switches episodes correctly, pause toggles, no JS errors.
  • Not verified: pixel-level layout in a real browser (couldn't reach the local test server from the browser environment); styles reuse the existing section/card/token patterns, but a quick visual pass after merge — or on a preview — is worth it.

Merging deploys via GitHub Pages, per CLAUDE.md. Leaving open for human review.

@netlify

netlify Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for theselectionlab ready!

Name Link
🔨 Latest commit 24bc2e6
🔍 Latest deploy log https://app.netlify.com/projects/theselectionlab/deploys/6ad922b313526f620690aa94
😎 Deploy Preview https://deploy-preview-13--theselectionlab.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T20:33:51.694286Z 1b7c8f5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 1b7c8f50ba

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread main.js Outdated
@cpt9m0
cpt9m0 merged commit 062246b into main Oct 21, 2026
5 checks passed
@cpt9m0
cpt9m0 deleted the add-podcast-section branch October 21, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant