Add Verse By Verse: Nuggets sub-show with editable hosts and RSS feed
Publish Container / docker (push) Successful in 14m16s

New /nuggets page for the companion show, linked from the Episodes nav
dropdown. Hosts (name, role, bio, photo) show in a left column with the
episode list on the right — latest episode featured, rest below.
Episodes are pulled from an admin-configurable RSS feed URL (empty by
default, shows "coming soon" until set) rather than hardcoded like the
main show's feed, since the show doesn't have one yet.

Everything is editable in /admin under a new Nuggets section: Show
Settings (title, tagline, description, podcast art, RSS/platform URLs)
and Hosts (add freely; removing a host archives them instead of
deleting — kept on record and restorable, never lost).

Extracted the RSS item-parsing logic shared with the main show's feed
(server/routes/episodes.js) into server/rss-helpers.js so both feeds
use the same parser instead of duplicating it.

Also fixes the local Vite dev server not proxying /uploads/* to the
backend — it was silently serving the SPA shell (200, text/html)
instead of the actual file, so any admin-uploaded image (podcast art,
host photos, etc.) appeared broken in local dev only.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016Yvx4rPVy2HWe7ubuk3X3J
This commit is contained in:
nmemmertandClaude Sonnet 5 committed 2026-09-07 14:27:52 -04:00
1 parent 335a9cbe31
commit 31e79ad542
11 files changed
+573 -41

No files matched your search

+34
View File
@@ -93,6 +93,28 @@ export interface FinishedBook {
season: number
}
export interface PodcastHost {
id: string
name: string
role: string
bio: string
imageUrl: string
// Removed hosts are archived, never deleted — kept out of public display but
// preserved so past-episode credits and history stay intact.
archived: boolean
}
export interface NuggetsShow {
title: string
tagline: string
description: string
podcastArtUrl: string
rssFeedUrl: string
spotifyUrl: string
appleUrl: string
hosts: PodcastHost[]
}
export interface SeoSettings {
title: string
description: string
@@ -298,6 +320,8 @@ export interface SiteContent {
finishedBooks: FinishedBook[]
// ── Testimonials ──
testimonials: Testimonial[]
// ── Nuggets (sub-show) ──
nuggets: NuggetsShow
}
export const DEFAULTS: SiteContent = {
@@ -525,6 +549,16 @@ export const DEFAULTS: SiteContent = {
podcastFeaturedLinks: [],
finishedBooks: [],
testimonials: [],
nuggets: {
title: 'Verse By Verse: Nuggets',
tagline: '',
description: '',
podcastArtUrl: '',
rssFeedUrl: '',
spotifyUrl: '',
appleUrl: '',
hosts: [],
},
episodesSeoIntro: 'Verse by Verse with Nate is an expository Bible teaching podcast where we go through Scripture one verse at a time. Each episode digs into the text carefully and practically, helping you understand what the Bible says, what it means, and how to live it out. New episodes released regularly — subscribe on Spotify or your favorite podcast platform.',
seo: {
title: 'Verse by Verse with Nate',