feat(podcast): enrich episodes with episode & youtube frontmatter#34
Merged
Conversation
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
✅ Deploy Preview for powershellorg ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Workstream 2 — Frontmatter enrichment
Adds
episode:andyoutube: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
episode:podcast_urlfilename. The 8 earliest episodes encode the number as a single leading digit glued to a random Podbean suffix (episode_363s8eis ep 3, not 363) — pinned by chronology rather than greedy parsing. 3 numberless Summit/bar specials left blank. No duplicates; range 1–220.youtube:...on YouTube: <url>line (bothyoutu.beandwatch?v=forms), explicit "video version here" framings,YouTube:labels, andyoutube.com/livelinks. 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:guidstarts being recorded by the ongoing-sync Action (WS4). See ADR 0003.Verification
hugo --gc --minifyexits 0.Follow-up (not in this PR)
The 61
youtubeblanks need the YouTube playlist to resolve — no viable scraper in this environment (WebFetch can't render the JS playlist; noyt-dlp). Tracked as a separate "playlist-later" pass. Includes a couple of clean bare links excluded here for safety and one episode whose sourceyoutu.beid is truncated to 10 chars.🤖 Generated with Claude Code