podcast-to-substack
通过可靠的 Apple 播客嵌入和图像提取,将播客剧集从 RSS + Notion 发布到 Substack,然后生成 LinkedIn 就绪的配套帖子。当被要求运行或改进播客到子堆栈的工作流程、修复 Notion 图像获取失败、防止 Substack 嵌入为文本问题或将剧集摘要交叉发布到 LinkedIn 时使用。
安装 / 下载方式
TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~danielfoch-podcast-to-substackcURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~danielfoch-podcast-to-substack/file -o danielfoch-podcast-to-substack.md## 概述(中文) 通过可靠的 Apple 播客嵌入和图像提取,将播客剧集从 RSS + Notion 发布到 Substack,然后生成 LinkedIn 就绪的配套帖子。当被要求运行或改进播客到子堆栈的工作流程、修复 Notion 图像获取失败、防止 Substack 嵌入为文本问题或将剧集摘要交叉发布到 LinkedIn 时使用。 ## 原文 # Podcast Substack + LinkedIn Run this workflow when handling Realist podcast episode publishing. ## Inputs - RSS feed URL - Notion data source/database ID with episode scripts - Notion API key (`NOTION_API_KEY` or `~/.config/notion/api_key`) - Substack publish access ## Workflow 1. Fetch recent episodes: ```bash python3 scripts/fetch_rss.py "$RSS_URL" 3 ``` 2. Fetch episode script + images from Notion (recursive block traversal, image downloads included): ```bash python3 scripts/fetch_notion_episode.py "EPISODE_NUMBER" ``` 3. Build Substack draft content from script text. 4. Publish with stable embed behavior using the playbook in `references/substack-embed-playbook.md`. 5. Generate LinkedIn post copy from the same content: ```bash python3 scripts/render_linkedin_post.py --json-file episode.json ``` 6. Post or queue the LinkedIn copy. ## Non-negotiable rules - Do not use iframe code or markdown links for podcast embeds in Substack. - Prefer duplicating the existing Substack draft template that already has a working embed block. - If creating a fresh post, use `/embed` and confirm the player card renders before publishing. - Use top-level Apple Podcasts show URL for reliable fallback. ## References - Substack embed behavior: `references/substack-embed-playbook.md` - LinkedIn formatting: `references/linkedin-playbook.md`