Skip to content

feat(podcast): enrich episodes with episode & youtube frontmatter#34

Merged
HeyItsGilbert merged 1 commit into
mainfrom
feat/podcast-enrichment
Jun 22, 2026
Merged

feat(podcast): enrich episodes with episode & youtube frontmatter#34
HeyItsGilbert merged 1 commit into
mainfrom
feat/podcast-enrichment

Conversation

@HeyItsGilbert

Copy link
Copy Markdown
Member

Workstream 2 — Frontmatter enrichment

Adds episode: and youtube: frontmatter to the 220 modern (Podbean-hosted) episodes of The PowerShell Podcast via a one-time local pass (scripts/enrich-podcast-frontmatter.ps1). PowerScripting / libsyn episodes are untouched.

What changed

Field Result Notes
episode: 217 set, 3 blank Parsed from the podcast_url filename. The 8 earliest episodes encode the number as a single leading digit glued to a random Podbean suffix (episode_363s8e is ep 3, not 363) — pinned by chronology rather than greedy parsing. 3 numberless Summit/bar specials left blank. No duplicates; range 1–220.
youtube: 159 set, 61 blank The episode's own video id, from high-confidence in-body links only: the canonical ...on YouTube: <url> line (both youtu.be and watch?v= forms), explicit "video version here" framings, YouTube: labels, and youtube.com/live links. Resource links to other videos are deliberately ignored, so a miss degrades to a blank (WS5 falls back to the icon) rather than a wrong embed.
guid: not written The feed is truncated to its 10 most recent items (currently eps 226–235) and the archive tops out at ep 220, so no existing file appears in the feed window. guid starts being recorded by the ongoing-sync Action (WS4). See ADR 0003.

Verification

  • Additions-only diff (+376 / −0 across 218 files), bodies byte-identical, no EOL churn.
  • Re-running the script is idempotent (0 changes).
  • hugo --gc --minify exits 0.

Follow-up (not in this PR)

The 61 youtube blanks need the YouTube playlist to resolve — no viable scraper in this environment (WebFetch can't render the JS playlist; no yt-dlp). Tracked as a separate "playlist-later" pass. Includes a couple of clean bare links excluded here for safety and one episode whose source youtu.be id is truncated to 10 chars.

🤖 Generated with Claude Code

Add `episode:` and `youtube:` to the 220 modern (Podbean-hosted) episodes of
The PowerShell Podcast via a one-time local pass (Workstream 2).

- episode: parsed from the podcast_url filename; 217 set, 3 Summit/bar specials
  left blank. The eight earliest episodes encode the number as a single leading
  digit glued to a random Podbean suffix (episode_363s8e is ep 3, not 363), so
  they are pinned by chronology rather than greedy parsing.
- youtube: the episode's own video id, taken only from high-confidence in-body
  links (the canonical "...on YouTube: <url>" line, explicit "video version
  here" framings, and youtube.com/live links). 159 set; resource links to other
  videos are deliberately ignored so a miss degrades to a blank, not a wrong
  embed. The remaining blanks need the YouTube playlist (separate follow-up).
- guid is intentionally not written: the feed is truncated to its 10 most recent
  items (eps 226-235) and the archive tops out at 220, so no existing file is in
  the feed window. guid starts being recorded by the ongoing-sync Action (WS4).

Additions-only, idempotent, bodies byte-identical. hugo --gc --minify passes.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Q2NJsYE8nUKKHD25jXiHV1
@netlify

netlify Bot commented Jun 22, 2026

Copy link
Copy Markdown

Deploy Preview for powershellorg ready!

Name Link
🔨 Latest commit a30b484
🔍 Latest deploy log https://app.netlify.com/projects/powershellorg/deploys/6a39ca963285c10008daa715
😎 Deploy Preview https://deploy-preview-34--powershellorg.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.

@HeyItsGilbert HeyItsGilbert merged commit 0acb849 into main Jun 22, 2026
5 checks passed
@HeyItsGilbert HeyItsGilbert deleted the feat/podcast-enrichment branch June 22, 2026 23:54
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