迁移 Clippers/snipd 至官方支持
因为过去 Snipd 更新缓慢,并且 Obsidian 导出仅仅支持全量导出到单个文件,所以我做了一个分割脚本 snipd-podcast-format-for-obsidian ,用于把单个文件拆分成多个具备完整 FrontMatter 的文件,知道最近我发现 Snipd 推出了官方的嵌入方案:
问题 1: FrontMatter
目前观察插件没有提供 FrontMatter 的编辑选项,并且观察 BASE 文件是这样写的:
properties:
note.episode_title:
displayName: Episode Title
note.episode_duration_minutes:
displayName: Episode Duration Minutes
note.image_url:
displayName: Image URL
note.episode_publish_date:
displayName: Episode Publish Date
note.episode_export_date:
displayName: Episode Export Date
note.show_title:
displayName: Show Title
note.show_author:
displayName: Show Author
note.show_id:
displayName: Show ID
note.guests:
displayName: Guests
note.mentioned_books:
displayName: Mentioned Books
note.snips_count:
displayName: Snips Count
note.last_snip_date:
displayName: Last Snip Date
note.upload_type:
displayName: Upload Type
note.from_snipd:
displayName: Is from the Snipd app
note.draft:
displayName: draft
note.tags:
displayName: tags
formula.open_show_url:
displayName: Show URL
formula.open_episode_url:
displayName: Episode URL
formulas:
open_show_url: link(note.show_url, 'Open in Snipd')
open_episode_url: link(note.episode_url, 'Open in Snipd')
filters:
and:
- from_snipd == true
views:
- type: cards
name: Podcasts Cards
sort:
- property: last_snip_date
direction: DESC
image: note.image_url
- type: table
name: Podcasts
order:
- file.name
- show_title
- show_author
- guests
- snips_count
- episode_publish_date
- mentioned_books
- episode_duration_minutes
- formula.open_episode_url
- formula.open_show_url
- upload_type
- last_snip_date
- episode_export_date
columns:
- file.name
- show_title
- show_author
- guests
- snips_count
- episode_publish_date
- mentioned_books
- episode_duration_minutes
- formula.open_episode_url
- formula.open_show_url
- upload_type
- last_snip_date
- episode_export_date
summaries:
snips_count: Sum
sort:
- property: last_snip_date
direction: DESC
columnSize:
file.name: 338所以目标属性只能是:
episode_title: 自来水冲出的奴性:虚荣过剩,自尊缺席
show_title: 徒步的骑手
show_author: @LiuTalks
episode_publish_date: 2025-07-23
last_snip_date: 2025-09-02
episode_duration_minutes: 31
episode_url: "https://share.snipd.com/episode/32771f02-665b-4fa7-9055-0ab800969e63"
image_url: "https://wsrv.nl/?url=https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fstaging%2Fpodcast_uploaded_nologo%2F43209888%2F43209888-1741407007859-4970a7bc5c41f.jpg&w=500&h=500"
show_url: "https://share.snipd.com/show/97971034-7f39-4664-a189-39d9d079a0f9"
show_image_url: "https://wsrv.nl/?url=https%3A%2F%2Fd3t3ozftmdmh3i.cloudfront.net%2Fstaging%2Fpodcast_uploaded_nologo%2F43209888%2F43209888-1741407007859-4970a7bc5c41f.jpg&w=500&h=500"
episode_export_date: "2026-03-07T03:53:33"
snips_count: 10
from_snipd: true而我原本的属性是:
author: 栋哥的赛博空间
cover: https://wsrv.nl/?url=https%3A%2F%2Fliuyandong.com%2Fwp-content%2Fuploads%2F2021%2F10%2Fnew_logo-3.png&w=200&h=200
created: '2024-10-17T09:36:39'
modified: '2024-10-17T09:36:39'
published: '2024-10-17T09:36:39'
show: 忽软忽硬
snipd: https://share.snipd.com/episode/28357d1a-c420-4155-a8d2-1076fdd478d9
source: https://liuyandong.com/archives/podcast/oct16
title: 10月16日直播:穷人更要规划好人生
type: podcast-episode所以映射应该是
author -> show_author
cover -> image_url/show_image_url
created
modified
published
show
snipd
source
title -> episode_title
type
+ from_snipd: true
show_title
episode_publish_date
last_snip_date
episode_duration_minutes
episode_url
show_url
episode_export_date
snips_count问题 2: 原链接被隐藏
### [07:38] Untitled
[🎧 Play snip - 1min️ (06:38 - 07:38)](https://share.snipd.com/snip/2b4aa827-55f7-4d69-9b65-67a09eb06d57)
<audio controls> <source src="https://dts-api.xiaoyuzhoufm.com/track/5e285326418a84a04627343f/6734ce97f373fe5d4d13e8e3/media.xyzcdn.net/lkM7AyUAHfg4RmSLImjKbMUJ-Anj.m4a#t=06:38,07:38"> </audio>问题 3:原网站被隐藏
- Show notes link:: [open website](https://www.ximalaya.com/sound/833785853)最终结果
提 ISSUE,然后放弃;
我觉得这个功能不会很快,所以只能暂时降级 Snipd,使用旧的版本进行导出 wait