From ee3b563ecec4a6e9e7755d3ed6bc08faa3916545 Mon Sep 17 00:00:00 2001 From: Tyler Hoang Date: Tue, 26 May 2026 18:22:12 -0700 Subject: podcast: wire reel mouth rss via itunes lookup api - add fetchReelMouthFeed() to aero.js using itunes api (id 1709836497) - replace hardcoded episodes with dynamic #pod-episodes container - swap in real artwork on load, fallback placeholder until then - fix links: apple podcasts, anchor.fm rss feed - lazy-loads on first window open, cached after that Co-Authored-By: Claude Sonnet 4.6 --- index.html | 50 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 40 insertions(+), 10 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index 8e817be..064ae25 100755 --- a/index.html +++ b/index.html @@ -207,7 +207,8 @@
REEL MOUTH — film pod
-
[ pod art ]
+ +
🎙
REEL MOUTH
a film podcast · since 2022
@@ -215,18 +216,13 @@
latest episodes
- -
-
#84 — every wong kar-wai, ranked1:47
-
#83 — paul thomas anderson cinematic universe1:32
-
#82 — vietnamese cinema is real, actually1:58
-
#81 — the criterion sale haul1:12
+
+
loading…
▶ reelmouth.tv - apple - spotify - rss + apple + rss
@@ -353,6 +349,40 @@ }); }); + // podcast RSS + let podLoaded = false; + async function loadPodcast() { + if (podLoaded) return; + podLoaded = true; + try { + const { art, episodes } = await Aero.fetchReelMouthFeed(6); + if (art) { + const img = document.getElementById('pod-art'); + const ph = document.getElementById('pod-art-placeholder'); + img.src = art; + img.style.display = ''; + if (ph) ph.style.display = 'none'; + } + const container = document.getElementById('pod-episodes'); + if (episodes.length) { + container.innerHTML = episodes.map(e => + `
+ ${e.title.toLowerCase()} + ${e.duration} +
` + ).join(''); + } else { + container.innerHTML = '
no episodes found
'; + } + } catch (err) { + document.getElementById('pod-episodes').innerHTML = '
couldn\'t load feed
'; + } + } + document.querySelectorAll('.icon[data-open="podcast"]').forEach(ic => { + ic.addEventListener('click', loadPodcast); + ic.addEventListener('dblclick', loadPodcast); + }); + // music toggle + volume slider document.getElementById('mt').innerHTML = Aero.musicToggleHTML(); const mtDiv = document.getElementById('mt'); -- cgit v1.3-2-g0d8e