For All Things, a Time
Manage episode 518229620 series 3500012
Hosts


For everything there is a time, and a right time for every matter under heaven: a right time to give birth, and a right time to die; a right time to plant, and a right time to pluck up what is planted; a right time to kill, and a right time to heal; a right time to tear down, and a right time to build; a right time to weep, and a right time to laugh; a right time to mourn, and a right time to dance; a right time to throw stones, and a right time to gather stones; a right time to embrace, and a right time to be far from embracing; a right time to seek, and a right time to lose; a right time to keep, and a right time to throw away; a right time to tear, and a right time to sew; a right time to keep silence, and a right time to speak; a right time to love, and a right time to hate; a right time for war… Show Notes
See Also
Further Reading
Parental Warnings
None.
Support the Podcast
Comments?
Join the discussion on Telegram, visit the feedback form or comment below.
function waitForElement(selector, callback) { const interval = setInterval(function() { const element = document.querySelector(selector); if (element) { clearInterval(interval); callback(element); } }, 100); // check every 100 milliseconds } function updateTranscriptLink(audioSrc) { const episodeNumber = extractNumber(audioSrc); if (episodeNumber) { const transcriptLink = document.querySelector('a.transcript-link'); if (transcriptLink) { transcriptLink.setAttribute('href', `/transcripts/transcript-episode-${episodeNumber}/`); } else { console.error('Transcript link not found.'); } } else { console.error('Episode number could not be extracted. The audio source was: ' + audioSrc); } } // Function to extract the number from the audio file name function extractNumber(src) { const match = src.match(/e(\d+)\.m4a/); return match ? match[1] : null; } // Start waiting for the audio element to appear in the DOM waitForElement('audio[src*="s.stone-choir.com"]', function(audioElement) { const audioSrc = audioElement.getAttribute('src'); updateTranscriptLink(audioSrc); });
108 episodes