diff --git a/README.ja.md b/README.ja.md index 07b9a47..ca0a6ce 100644 --- a/README.ja.md +++ b/README.ja.md @@ -508,6 +508,37 @@ feed.addItem({ `podcast` は RSS 2.0 以外 (ほかのすべての RSS バージョン、Atom、JSON Feed)では無視されます。対応づけられる項目がないためです。`xmlns:itunes` / `xmlns:podcast` を `customNamespaces` に明示した場合は、自動の宣言より常にそちらが優先されます。 +### Podcasting 2.0 のその他のタグ + +`guid` / `locked` / `funding` / `transcript` / `chapters` のほかに、次の [Podcasting 2.0](https://github.com/Podcastindex-org/podcast-namespace) の要素を扱えます。 + +| 要素 | フィード (`options.podcast`) | エピソード (`item.podcast`) | +| --- | --- | --- | +| `podcast:person` | `person: [{ name, role?, group?, img?, href? }]` | 同じ | +| `podcast:license` | `license: { identifier, url? }` | 同じ | +| `podcast:location` | `location: { name, geo?, osm? }` | 同じ | +| `podcast:images` | `images: { srcset }` | 同じ | +| `podcast:socialInteract` | `socialInteract: [{ protocol, uri?, accountId?, accountUrl?, priority? }]` | 同じ | +| `podcast:medium` | `medium: 'podcast' \| 'music' \| 'video' \| …` | なし | +| `podcast:trailer` | `trailer: [{ title, url, pubDate, length?, type?, season? }]` | なし | +| `podcast:season` | なし | `podcastSeason: { number, name? }` | +| `podcast:episode` | なし | `podcastEpisode: { number, display? }` | + +```ts +feed.addItem({ + title: 'Episode 12.5', + link: 'https://example.com/12-5', + podcast: { + person: [{ name: 'Ann Host', role: 'host', img: '/ann.jpg' }], + license: { identifier: 'CC-BY-4.0' }, + podcastSeason: { number: 2, name: 'Race to Mars' }, + podcastEpisode: { number: 12.5, display: 'Ch.12.5' }, + }, +}) +``` + +URL (`img`、`href`、ライセンスの `url`、`uri`、`accountUrl`、トレーラーの `url`)は `baseUrl` を基準に絶対 URL になります。`podcastSeason` / `podcastEpisode` を iTunes の `season` / `episode` と分けているのは、Podcasting 2.0 版には名前や表示用ラベルと、小数の番号を持たせられるためです。`podcast:value` (Value4Value)と `podcast:liveItem` は扱いません。必要なら `customXml` を使ってください。 + ## フィードの発見 フィードを配信するだけでは半分です。*見つけてもらえる*ようにする必要もあります。`hono-feed/discovery` は、ブラウザーやフィードリーダーが探す `` タグと、それに相当する HTTP の `Link` ヘッダーを生成します。`serveFeed` 自身が使うのと同じ MIME タイプの表から作るので、両者がずれることはありません。 diff --git a/README.md b/README.md index ce5d298..1b1bfab 100644 --- a/README.md +++ b/README.md @@ -508,6 +508,37 @@ feed.addItem({ `podcast` is ignored outside RSS 2.0 (every other RSS version, Atom, and JSON Feed) — there's no equivalent to map it to. An explicit `customNamespaces` entry for `xmlns:itunes` / `xmlns:podcast` always wins over the automatic declaration. +### More Podcasting 2.0 tags + +Beyond `guid` / `locked` / `funding` / `transcript` / `chapters`, these [Podcasting 2.0](https://github.com/Podcastindex-org/podcast-namespace) elements are modeled: + +| Element | Feed (`options.podcast`) | Episode (`item.podcast`) | +| --- | --- | --- | +| `podcast:person` | `person: [{ name, role?, group?, img?, href? }]` | same | +| `podcast:license` | `license: { identifier, url? }` | same | +| `podcast:location` | `location: { name, geo?, osm? }` | same | +| `podcast:images` | `images: { srcset }` | same | +| `podcast:socialInteract` | `socialInteract: [{ protocol, uri?, accountId?, accountUrl?, priority? }]` | same | +| `podcast:medium` | `medium: 'podcast' \| 'music' \| 'video' \| …` | — | +| `podcast:trailer` | `trailer: [{ title, url, pubDate, length?, type?, season? }]` | — | +| `podcast:season` | — | `podcastSeason: { number, name? }` | +| `podcast:episode` | — | `podcastEpisode: { number, display? }` | + +```ts +feed.addItem({ + title: 'Episode 12.5', + link: 'https://example.com/12-5', + podcast: { + person: [{ name: 'Ann Host', role: 'host', img: '/ann.jpg' }], + license: { identifier: 'CC-BY-4.0' }, + podcastSeason: { number: 2, name: 'Race to Mars' }, + podcastEpisode: { number: 12.5, display: 'Ch.12.5' }, + }, +}) +``` + +URLs (`img`, `href`, the license `url`, `uri`, `accountUrl`, the trailer `url`) are absolutized against `baseUrl`. `podcastSeason` / `podcastEpisode` are separate from the iTunes `season` / `episode` because the Podcasting 2.0 versions can carry a name or label and a fractional number. `podcast:value` (Value4Value) and `podcast:liveItem` are not modeled; reach for `customXml` if you need them. + ## Feed discovery Serving a feed is half the story — it also has to be *findable*. `hono-feed/discovery` generates the `` tags browsers and feed readers look for, and an HTTP `Link` header equivalent, from the same MIME-type table `serveFeed` itself uses (so they can never drift apart). diff --git a/base/README.base.md b/base/README.base.md index 2b2d2d1..35ce617 100644 --- a/base/README.base.md +++ b/base/README.base.md @@ -738,6 +738,37 @@ feed.addItem({ `podcast` is ignored outside RSS 2.0 (every other RSS version, Atom, and JSON Feed) — there's no equivalent to map it to. An explicit `customNamespaces` entry for `xmlns:itunes` / `xmlns:podcast` always wins over the automatic declaration. +### More Podcasting 2.0 tags + +Beyond `guid` / `locked` / `funding` / `transcript` / `chapters`, these [Podcasting 2.0](https://github.com/Podcastindex-org/podcast-namespace) elements are modeled: + +| Element | Feed (`options.podcast`) | Episode (`item.podcast`) | +| --- | --- | --- | +| `podcast:person` | `person: [{ name, role?, group?, img?, href? }]` | same | +| `podcast:license` | `license: { identifier, url? }` | same | +| `podcast:location` | `location: { name, geo?, osm? }` | same | +| `podcast:images` | `images: { srcset }` | same | +| `podcast:socialInteract` | `socialInteract: [{ protocol, uri?, accountId?, accountUrl?, priority? }]` | same | +| `podcast:medium` | `medium: 'podcast' \| 'music' \| 'video' \| …` | — | +| `podcast:trailer` | `trailer: [{ title, url, pubDate, length?, type?, season? }]` | — | +| `podcast:season` | — | `podcastSeason: { number, name? }` | +| `podcast:episode` | — | `podcastEpisode: { number, display? }` | + +```ts +feed.addItem({ + title: 'Episode 12.5', + link: 'https://example.com/12-5', + podcast: { + person: [{ name: 'Ann Host', role: 'host', img: '/ann.jpg' }], + license: { identifier: 'CC-BY-4.0' }, + podcastSeason: { number: 2, name: 'Race to Mars' }, + podcastEpisode: { number: 12.5, display: 'Ch.12.5' }, + }, +}) +``` + +URLs (`img`, `href`, the license `url`, `uri`, `accountUrl`, the trailer `url`) are absolutized against `baseUrl`. `podcastSeason` / `podcastEpisode` are separate from the iTunes `season` / `episode` because the Podcasting 2.0 versions can carry a name or label and a fractional number. `podcast:value` (Value4Value) and `podcast:liveItem` are not modeled; reach for `customXml` if you need them. + ## Feed discovery Serving a feed is half the story — it also has to be *findable*. `hono-feed/discovery` generates the `` tags browsers and feed readers look for, and an HTTP `Link` header equivalent, from the same MIME-type table `serveFeed` itself uses (so they can never drift apart). @@ -749,6 +780,37 @@ For an HTML ``: `podcast` は RSS 2.0 以外 (ほかのすべての RSS バージョン、Atom、JSON Feed)では無視されます。対応づけられる項目がないためです。`xmlns:itunes` / `xmlns:podcast` を `customNamespaces` に明示した場合は、自動の宣言より常にそちらが優先されます。 +### Podcasting 2.0 のその他のタグ + +`guid` / `locked` / `funding` / `transcript` / `chapters` のほかに、次の [Podcasting 2.0](https://github.com/Podcastindex-org/podcast-namespace) の要素を扱えます。 + +| 要素 | フィード (`options.podcast`) | エピソード (`item.podcast`) | +| --- | --- | --- | +| `podcast:person` | `person: [{ name, role?, group?, img?, href? }]` | 同じ | +| `podcast:license` | `license: { identifier, url? }` | 同じ | +| `podcast:location` | `location: { name, geo?, osm? }` | 同じ | +| `podcast:images` | `images: { srcset }` | 同じ | +| `podcast:socialInteract` | `socialInteract: [{ protocol, uri?, accountId?, accountUrl?, priority? }]` | 同じ | +| `podcast:medium` | `medium: 'podcast' \| 'music' \| 'video' \| …` | なし | +| `podcast:trailer` | `trailer: [{ title, url, pubDate, length?, type?, season? }]` | なし | +| `podcast:season` | なし | `podcastSeason: { number, name? }` | +| `podcast:episode` | なし | `podcastEpisode: { number, display? }` | + +```ts +feed.addItem({ + title: 'Episode 12.5', + link: 'https://example.com/12-5', + podcast: { + person: [{ name: 'Ann Host', role: 'host', img: '/ann.jpg' }], + license: { identifier: 'CC-BY-4.0' }, + podcastSeason: { number: 2, name: 'Race to Mars' }, + podcastEpisode: { number: 12.5, display: 'Ch.12.5' }, + }, +}) +``` + +URL (`img`、`href`、ライセンスの `url`、`uri`、`accountUrl`、トレーラーの `url`)は `baseUrl` を基準に絶対 URL になります。`podcastSeason` / `podcastEpisode` を iTunes の `season` / `episode` と分けているのは、Podcasting 2.0 版には名前や表示用ラベルと、小数の番号を持たせられるためです。`podcast:value` (Value4Value)と `podcast:liveItem` は扱いません。必要なら `customXml` を使ってください。 + ## フィードの発見 フィードを配信するだけでは半分です。*見つけてもらえる*ようにする必要もあります。`hono-feed/discovery` は、ブラウザーやフィードリーダーが探す `` タグと、それに相当する HTTP の `Link` ヘッダーを生成します。`serveFeed` 自身が使うのと同じ MIME タイプの表から作るので、両者がずれることはありません。 diff --git a/src/formats/rss/podcast.ts b/src/formats/rss/podcast.ts index a42ef5e..edc2660 100644 --- a/src/formats/rss/podcast.ts +++ b/src/formats/rss/podcast.ts @@ -1,4 +1,15 @@ -import type { Enclosure, FeedItem, FeedOptions, ItemPodcast } from '../../types' +import type { + Enclosure, + FeedItem, + FeedOptions, + ItemPodcast, + PodcastImages, + PodcastLicense, + PodcastLocation, + PodcastPerson, + PodcastSocialInteract, +} from '../../types' +import { rfc822 } from '../../utils/date' import { firstEnclosure } from '../../utils/enclosure' import { absolutize } from '../../utils/url' import { el, type Node, tag } from '../../utils/xml' @@ -24,7 +35,18 @@ function hasItunesFeedFields(p: NonNullable): boolean { } function hasPodcastNsFeedFields(p: NonNullable): boolean { - return p.guid !== undefined || p.locked !== undefined || (p.funding?.length ?? 0) > 0 + return ( + p.guid !== undefined || + p.locked !== undefined || + (p.funding?.length ?? 0) > 0 || + (p.person?.length ?? 0) > 0 || + p.license !== undefined || + p.medium !== undefined || + p.location !== undefined || + p.images !== undefined || + (p.trailer?.length ?? 0) > 0 || + (p.socialInteract?.length ?? 0) > 0 + ) } function hasItunesItemFields(p: ItemPodcast): boolean { @@ -42,7 +64,68 @@ function hasItunesItemFields(p: ItemPodcast): boolean { } function hasPodcastNsItemFields(p: ItemPodcast): boolean { - return (p.transcript?.length ?? 0) > 0 || p.chapters !== undefined + return ( + (p.transcript?.length ?? 0) > 0 || + p.chapters !== undefined || + (p.person?.length ?? 0) > 0 || + p.license !== undefined || + p.location !== undefined || + p.images !== undefined || + (p.socialInteract?.length ?? 0) > 0 || + p.podcastSeason !== undefined || + p.podcastEpisode !== undefined + ) +} + +// Podcasting 2.0 elements that look the same at feed and item level. +function sharedPodcastNodes( + p: { + person?: PodcastPerson[] + license?: PodcastLicense + location?: PodcastLocation + images?: PodcastImages + socialInteract?: PodcastSocialInteract[] + }, + base: string | undefined, +): Node[] { + const nodes: Node[] = [] + for (const person of p.person ?? []) { + nodes.push( + el( + 'podcast:person', + { + role: person.role, + group: person.group, + img: absolutize(person.img, base), + href: absolutize(person.href, base), + }, + person.name, + ), + ) + } + if (p.license) { + nodes.push( + el('podcast:license', { url: absolutize(p.license.url, base) }, p.license.identifier), + ) + } + if (p.location) { + nodes.push( + el('podcast:location', { geo: p.location.geo, osm: p.location.osm }, p.location.name), + ) + } + if (p.images) nodes.push(el('podcast:images', { srcset: p.images.srcset })) + for (const social of p.socialInteract ?? []) { + nodes.push( + el('podcast:socialInteract', { + protocol: social.protocol, + uri: absolutize(social.uri, base), + accountId: social.accountId, + accountUrl: absolutize(social.accountUrl, base), + priority: social.priority, + }), + ) + } + return nodes } /** @@ -121,6 +204,23 @@ export function podcastChannelNodes(p: FeedOptions['podcast'], base: string | un nodes.push(el('podcast:funding', { url: absolutize(funding.url, base) }, funding.text)) } } + if (p.medium) nodes.push(tag('podcast:medium', p.medium)) + for (const trailer of p.trailer ?? []) { + nodes.push( + el( + 'podcast:trailer', + { + url: absolutize(trailer.url, base), + pubdate: rfc822(trailer.pubDate), + length: trailer.length, + type: trailer.type, + season: trailer.season, + }, + trailer.title, + ), + ) + } + nodes.push(...sharedPodcastNodes(p, base)) return nodes } @@ -165,5 +265,24 @@ export function podcastItemNodes( }), ) } + if (podcast.podcastSeason) { + nodes.push( + el( + 'podcast:season', + { name: podcast.podcastSeason.name }, + String(podcast.podcastSeason.number), + ), + ) + } + if (podcast.podcastEpisode) { + nodes.push( + el( + 'podcast:episode', + { display: podcast.podcastEpisode.display }, + String(podcast.podcastEpisode.number), + ), + ) + } + nodes.push(...sharedPodcastNodes(podcast, base)) return nodes } diff --git a/src/formats/rss/podcast20.test.ts b/src/formats/rss/podcast20.test.ts new file mode 100644 index 0000000..b1d551c --- /dev/null +++ b/src/formats/rss/podcast20.test.ts @@ -0,0 +1,124 @@ +import { describe, expect, it } from 'vitest' +import type { FeedInput, ItemPodcast } from '../../types' +import { toRSS } from './index' + +const NS = 'xmlns:podcast="https://podcastindex.org/namespace/1.0"' + +const withFeed = (podcast: NonNullable): FeedInput => ({ + options: { title: 't', link: 'https://example.com/', podcast }, + items: [{ title: 'a', link: 'https://example.com/1' }], +}) +const withItem = (podcast: ItemPodcast): FeedInput => ({ + options: { title: 't', link: 'https://example.com/' }, + items: [{ title: 'a', link: 'https://example.com/1', podcast }], +}) + +describe('Podcasting 2.0 shared elements (feed and item level)', () => { + const shared = { + person: [ + { + name: 'Ann Host', + role: 'host', + group: 'cast', + img: '/ann.jpg', + href: 'https://example.com/ann', + }, + { name: 'Bob & Guest' }, + ], + license: { identifier: 'CC-BY-4.0', url: '/license' }, + location: { name: 'Austin, TX', geo: 'geo:30.2672,-97.7431', osm: 'R113314' }, + images: { srcset: 'https://x.test/a-320.jpg 320w, https://x.test/a-640.jpg 640w' }, + socialInteract: [ + { + protocol: 'activitypub', + uri: 'https://mastodon.example/@show/1', + accountId: '@show@mastodon.example', + accountUrl: 'https://mastodon.example/@show', + priority: 1, + }, + { protocol: 'disabled' }, + ], + } + const expected = [ + 'Ann Host', + 'Bob & Guest', + 'CC-BY-4.0', + 'Austin, TX', + '', + '', + '', + ] + const opts = { baseUrl: 'https://example.com' } + + it('emits them at feed level, absolutized, and declares xmlns:podcast', () => { + const out = toRSS(withFeed(shared), opts) + expect(out).toContain(NS) + for (const fragment of expected) expect(out).toContain(fragment) + }) + + it('emits them at item level, absolutized, and declares xmlns:podcast', () => { + const out = toRSS(withItem(shared), opts) + expect(out).toContain(NS) + for (const fragment of expected) expect(out).toContain(fragment) + }) +}) + +describe('Podcasting 2.0 feed-level only elements', () => { + it('emits podcast:medium', () => { + const out = toRSS(withFeed({ medium: 'music' })) + expect(out).toContain(NS) + expect(out).toContain('music') + }) + + it('emits podcast:trailer with an RFC 822 pubdate', () => { + const out = toRSS( + withFeed({ + trailer: [ + { + title: 'Season 2 trailer', + url: 'https://example.com/trailer.mp3', + pubDate: new Date('2026-03-01T08:00:00Z'), + length: 12345, + type: 'audio/mpeg', + season: 2, + }, + ], + }), + ) + expect(out).toContain( + 'Season 2 trailer', + ) + }) +}) + +describe('Podcasting 2.0 item-level season and episode', () => { + it('emits podcast:season with a name and podcast:episode with a display label', () => { + const out = toRSS( + withItem({ + podcastSeason: { number: 2, name: 'Race to Mars' }, + podcastEpisode: { number: 12.5, display: 'Ch.12.5' }, + }), + ) + expect(out).toContain(NS) + expect(out).toContain('2') + expect(out).toContain('12.5') + }) + + it('is independent of the itunes:season / itunes:episode fields', () => { + const out = toRSS(withItem({ season: 1, episode: 3, podcastSeason: { number: 1 } })) + expect(out).toContain('1') + expect(out).toContain('3') + expect(out).toContain('1') + }) +}) + +describe('Podcasting 2.0 namespace gating', () => { + it('does not declare xmlns:podcast when none of the new fields is set', () => { + expect(toRSS(withFeed({ author: 'a' }))).not.toContain('xmlns:podcast') + expect(toRSS(withItem({ duration: 5 }))).not.toContain('xmlns:podcast') + }) + + it('leaves older RSS versions untouched', () => { + expect(toRSS(withFeed({ medium: 'music' }), { rssVersion: '0.92' })).not.toContain('podcast:') + }) +}) diff --git a/src/index.ts b/src/index.ts index 9d90d37..619d55f 100644 --- a/src/index.ts +++ b/src/index.ts @@ -25,8 +25,16 @@ export type { MediaContent, MediaThumbnail, PodcastChapters, + PodcastEpisode, PodcastFunding, + PodcastImages, + PodcastLicense, + PodcastLocation, PodcastOwner, + PodcastPerson, + PodcastSeason, + PodcastSocialInteract, + PodcastTrailer, PodcastTranscript, RssVersion, SerializeOptions, diff --git a/src/types.ts b/src/types.ts index fcead0e..9e66476 100644 --- a/src/types.ts +++ b/src/types.ts @@ -79,6 +79,87 @@ export interface PodcastChapters { type?: string } +/** `podcast:person` (Podcasting 2.0) — a host, guest or other contributor. */ +export interface PodcastPerson { + /** Display name (the element's text). */ + name: string + /** Role such as `'host'`, `'guest'`, `'producer'`; defaults to `host` for readers when omitted. */ + role?: string + /** Group such as `'cast'` or `'writing'`. */ + group?: string + /** Avatar image URL. */ + img?: string + /** Homepage or profile URL. */ + href?: string +} + +/** `podcast:license` (Podcasting 2.0). */ +export interface PodcastLicense { + /** SPDX identifier (e.g. `'CC-BY-4.0'`) or a free-form name (the element's text). */ + identifier: string + /** URL of the full license text, recommended when `identifier` isn't an SPDX one. */ + url?: string +} + +/** `podcast:location` (Podcasting 2.0) — the subject or origin of the show or episode. */ +export interface PodcastLocation { + /** Human-readable place name (the element's text). */ + name: string + /** A `geo:` URI, e.g. `'geo:30.2672,-97.7431'`. */ + geo?: string + /** OpenStreetMap identifier, e.g. `'R113314'`. */ + osm?: string +} + +/** `podcast:images` (Podcasting 2.0) — responsive artwork as an HTML `srcset`-style string. */ +export interface PodcastImages { + /** e.g. `'https://x.test/a-320.jpg 320w, https://x.test/a-640.jpg 640w'`. */ + srcset: string +} + +/** `podcast:socialInteract` (Podcasting 2.0) — where listeners can discuss the show or an episode. */ +export interface PodcastSocialInteract { + /** `'activitypub'`, `'twitter'`, `'disabled'`, … */ + protocol: string + /** URL of the root post or comment thread. */ + uri?: string + /** The publisher's account handle on that protocol. */ + accountId?: string + /** Link to the publisher's account. */ + accountUrl?: string + /** Preference order when several are given; lower is preferred. */ + priority?: number +} + +/** `podcast:trailer` (Podcasting 2.0) — a trailer for the show, at feed level. */ +export interface PodcastTrailer { + /** Trailer title (the element's text). */ + title: string + url: string + /** Publication date, emitted as `pubdate` in RFC 822 form. */ + pubDate: Date + /** Size in bytes. */ + length?: number + /** MIME type. */ + type?: string + /** Season the trailer belongs to. */ + season?: number +} + +/** `podcast:season` (Podcasting 2.0) — a season number with an optional name. */ +export interface PodcastSeason { + number: number + /** Season name, e.g. `'Race to Mars'`. */ + name?: string +} + +/** `podcast:episode` (Podcasting 2.0) — an episode number, which may be fractional. */ +export interface PodcastEpisode { + number: number + /** Display label, e.g. `'Ch.3'`. */ + display?: string +} + /** * Podcast metadata for the feed as a whole (RSS 2.0 only — ignored by Atom, JSON Feed, and every other RSS version). Covers the iTunes namespace and the Podcasting 2.0 namespace; `xmlns:itunes` / `xmlns:podcast` are declared automatically, only when a field from that namespace is actually set somewhere in the feed. An explicit `customNamespaces` entry for either prefix always wins over the automatic one. */ @@ -113,6 +194,20 @@ export interface FeedPodcast { complete?: boolean /** `itunes:new-feed-url` — feed moved; directories should re-point to this URL. */ newFeedUrl?: string + /** `podcast:person` — one element per entry. */ + person?: PodcastPerson[] + /** `podcast:license`. */ + license?: PodcastLicense + /** `podcast:medium` — what kind of content the feed carries. */ + medium?: 'podcast' | 'music' | 'video' | 'film' | 'audiobook' | 'newsletter' | 'blog' + /** `podcast:location`. */ + location?: PodcastLocation + /** `podcast:images`. */ + images?: PodcastImages + /** `podcast:trailer` — one element per entry. */ + trailer?: PodcastTrailer[] + /** `podcast:socialInteract` — one element per entry. */ + socialInteract?: PodcastSocialInteract[] } /** Podcast metadata for a single episode (RSS 2.0 only — see `FeedPodcast`). */ @@ -137,6 +232,20 @@ export interface ItemPodcast { title?: string /** `itunes:block` — `true` hides this episode from Apple Podcasts. */ block?: boolean + /** `podcast:person` — one element per entry. */ + person?: PodcastPerson[] + /** `podcast:license`. */ + license?: PodcastLicense + /** `podcast:location`. */ + location?: PodcastLocation + /** `podcast:images`. */ + images?: PodcastImages + /** `podcast:socialInteract` — one element per entry. */ + socialInteract?: PodcastSocialInteract[] + /** `podcast:season` — unlike `season` (`itunes:season`), it can carry a name. */ + podcastSeason?: PodcastSeason + /** `podcast:episode` — unlike `episode` (`itunes:episode`), it can be fractional and carry a display label. */ + podcastEpisode?: PodcastEpisode } /**