Feeds take their channel's first <itunes:category> into a new feeds.category column; the migration drops ETag and Last-Modified once so every feed re-reads on its normal schedule and picks one up. /api/popular and /api/directory carry category and podcast (any audio or video enclosure). Directory becomes a grid of cover-art tiles under a chip rail: All, Podcasts, Blogs, and a podcast's categories once Podcasts is picked. Popular and Add a feed keep their rows. Closes #4, closes #5, closes #6, closes #7. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
40 lines
1.5 KiB
XML
40 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<rss version="2.0" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">
|
|
<channel>
|
|
<title>Test Cast</title>
|
|
<link>https://example.com/</link>
|
|
<description>A synthetic feed used by the parser tests.</description>
|
|
<ttl>45</ttl>
|
|
<itunes:explicit>no</itunes:explicit>
|
|
<itunes:category text="Technology"><itunes:category text="Podcasting"/></itunes:category>
|
|
<itunes:category text="News"/>
|
|
|
|
<item>
|
|
<title>Episode One</title>
|
|
<link>https://example.com/ep/1</link>
|
|
<guid isPermaLink="true">https://example.com/ep/1</guid>
|
|
<pubDate>Sun, 29 Feb 2004 01:00:00 +0000</pubDate>
|
|
<description><p>First one.</p></description>
|
|
<category>Tech</category>
|
|
<itunes:explicit>no</itunes:explicit>
|
|
<enclosure url="https://example.com/ep1.mp3" length="12345678" type="audio/mpeg"/>
|
|
</item>
|
|
|
|
<item>
|
|
<title>Episode Two</title>
|
|
<guid isPermaLink="false">ep-2-guid</guid>
|
|
<pubDate>Mon, 01 Mar 2004 01:00:00 +0000</pubDate>
|
|
<description>Salty language.</description>
|
|
<itunes:explicit>yes</itunes:explicit>
|
|
<enclosure url="https://example.com/ep2.mp3" length="222" type="audio/mpeg"/>
|
|
</item>
|
|
|
|
<item>
|
|
<title>Episode Three</title>
|
|
<guid isPermaLink="false">ep-3-guid</guid>
|
|
<description>Distributed the old way.</description>
|
|
<enclosure url="https://example.com/ep3.torrent" length="4096" type="application/x-bittorrent"/>
|
|
</item>
|
|
</channel>
|
|
</rss>
|