Format the organize the KCB example feed, add some new tables to the SQL folder.

This commit is contained in:
Dave Smith-Hayes 2024-02-19 21:30:39 -05:00
parent cddbc7fa89
commit 57b0a3635e
5 changed files with 64 additions and 5 deletions

View File

@ -17,10 +17,13 @@
<pubDate>Tue, 12 May 2020 21:30:08 -0300</pubDate> <pubDate>Tue, 12 May 2020 21:30:08 -0300</pubDate>
<generator>https://podbean.com/?v=5.5</generator> <generator>https://podbean.com/?v=5.5</generator>
<language>en</language> <language>en</language>
<spotify:countryOfOrigin>ca</spotify:countryOfOrigin> <spotify:countryOfOrigin>ca</spotify:countryOfOrigin>
<copyright>Copyright 2019 All rights reserved.</copyright> <copyright>Copyright 2019 All rights reserved.</copyright>
<category>Comedy</category> <category>Comedy</category>
<ttl>1440</ttl> <ttl>1440</ttl>
<itunes:type>episodic</itunes:type> <itunes:type>episodic</itunes:type>
<itunes:subtitle>Kevys Country Breakfast</itunes:subtitle> <itunes:subtitle>Kevys Country Breakfast</itunes:subtitle>
<itunes:summary>Beers, buds, and the great game of baseball.</itunes:summary> <itunes:summary>Beers, buds, and the great game of baseball.</itunes:summary>
@ -33,6 +36,7 @@
<itunes:block>No</itunes:block> <itunes:block>No</itunes:block>
<itunes:explicit>yes</itunes:explicit> <itunes:explicit>yes</itunes:explicit>
<itunes:image href="https://pbcdn1.podbean.com/imglogo/image-logo/4943691/kcb-banner.jpg" /> <itunes:image href="https://pbcdn1.podbean.com/imglogo/image-logo/4943691/kcb-banner.jpg" />
<image> <image>
<url>https://pbcdn1.podbean.com/imglogo/image-logo/4943691/kcb-banner.jpg</url> <url>https://pbcdn1.podbean.com/imglogo/image-logo/4943691/kcb-banner.jpg</url>
<title>Kevys Country Breakfast</title> <title>Kevys Country Breakfast</title>
@ -40,18 +44,20 @@
<width>144</width> <width>144</width>
<height>144</height> <height>144</height>
</image> </image>
<item> <item>
<title>Episode #5: Sarasota Sizzle</title> <title>Episode #5: Sarasota Sizzle</title>
<itunes:title>Episode #5: Sarasota Sizzle</itunes:title> <itunes:title>Episode #5: Sarasota Sizzle</itunes:title>
<link>https://kevyscountrybreakfast.podbean.com/e/episode-5-sarasota-sizzle/</link> <link>https://kevyscountrybreakfast.podbean.com/e/episode-5-sarasota-sizzle/</link>
<comments>https://kevyscountrybreakfast.podbean.com/e/episode-5-sarasota-sizzle/#comments</comments> <comments>https://kevyscountrybreakfast.podbean.com/e/episode-5-sarasota-sizzle/#comments</comments>
<pubDate>Tue, 12 May 2020 21:30:08 -0300</pubDate> <pubDate>Tue, 12 May 2020 21:30:08 -0300</pubDate>
<guid isPermaLink="false">kevyscountrybreakfast.podbean.com/d7b42df5-ecf9-593a-803f-40d3a054cc6f</guid> <guid isPermaLink="false">kevyscountrybreakfast.podbean.com/d7b42df5-ecf9-593a-803f-40d3a054cc6f</guid>
<description><![CDATA[<p>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Daves perverted palate.</p>]]></description> <description><![CDATA[<p>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Daves perverted palate.</p>]]></description>
<content:encoded><![CDATA[<p>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Daves perverted palate.</p>]]></content:encoded> <content:encoded><![CDATA[<p>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Daves perverted palate.</p>]]></content:encoded>
<enclosure url="https://mcdn.podbean.com/mf/web/sby3om/kcb-episode-5-demo-cut-14.mp3" length="49453453" type="audio/mpeg"/> <enclosure url="https://mcdn.podbean.com/mf/web/sby3om/kcb-episode-5-demo-cut-14.mp3" length="49453453" type="audio/mpeg"/>
<itunes:subtitle>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Dave...</itunes:subtitle> <itunes:subtitle>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Dave...</itunes:subtitle>
<itunes:summary>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Daves perverted palate.</itunes:summary> <itunes:summary>Ah, the sounds of spring. Birds chirping, dogs grilling, and the triumphant return of Kevys Country Breakfast. Join us for an all access guided tour as the Princes of Pod prepare to reclaim their crown of audio royalty. Plus, Taiwanese Baseball and Daves perverted palate.</itunes:summary>
<itunes:author>Kevys Country Breakfast</itunes:author> <itunes:author>Kevys Country Breakfast</itunes:author>
@ -60,7 +66,8 @@
<itunes:duration>41:12</itunes:duration> <itunes:duration>41:12</itunes:duration>
<itunes:episode>5</itunes:episode> <itunes:episode>5</itunes:episode>
<itunes:episodeType>full</itunes:episodeType> <itunes:episodeType>full</itunes:episodeType>
<itunes:image href="https://pbcdn1.podbean.com/imglogo/image-logo/4943691/kcb-banner.jpg" /> </item> <itunes:image href="https://pbcdn1.podbean.com/imglogo/image-logo/4943691/kcb-banner.jpg" />
</item>
<item> <item>
<title>Episode #4: Oh Barry, Where Art Thou?</title> <title>Episode #4: Oh Barry, Where Art Thou?</title>
<itunes:title>Episode #4: Oh Barry, Where Art Thou?</itunes:title> <itunes:title>Episode #4: Oh Barry, Where Art Thou?</itunes:title>

21
server/sql/channels.sql Normal file
View File

@ -0,0 +1,21 @@
CREATE TABLE channels (
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
name VARCHAR(255) NOT NULL,
description TEXT NOT NULL,
link VARCHAR(255) NULL,
language VARCHAR(2) NOT NULL,
copyright VARCHAR(255) NULL,
explicit BOOLEAN DEFAULT false,
category VARCHAR(255),
owner_id INT(11) UNSIGNED NOT NULL,
image_id INT(11) UNSIGNED NOT NULL,
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY(`id`),
FOREIGN KEY(`owner_id`) REFERENCES users(`id`),
FOREIGN KEY(`image_id`) REFERENCES images(`id`),
UNIQUE KEY(`name`)
) Engine=InnoDb;

19
server/sql/episodes.sql Normal file
View File

@ -0,0 +1,19 @@
CREATE TABLE episodes (
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
title VARCHAR(255) NOT NULL,
link VARCHAR(255) NOT NULL,
duration VARCHAR(127) NOT NULL,
description TEXT NOT NULL,
explicit BOOLEAN NOT NULL DEFAULT true,
channel_id INT(11) UNSIGNED NOT NULL,
image_id INT(11) UNSIGNED NOT NULL,
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY(`id`),
FOREIGN KEY(`channel_id`) REFERENCES channels(`id`),
FOREIGN KEY(`image_id`) REFERENCES images(`id`)
) Engine=InnoDb;

10
server/sql/images.sql Normal file
View File

@ -0,0 +1,10 @@
CREATE TABLE images (
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
url TEXT NOT NULL,
title TEXT NULL,
width INT(11) UNSIGNED NULL,
height INT(11) UNSIGNED NULL,
PRIMARY KEY(`id`),
UNIQUE KEY(`url`)
) Engine=InnoDb;

View File

@ -1,10 +1,12 @@
CREATE TABLE users ( CREATE TABLE users (
id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT, id INT(11) UNSIGNED NOT NULL AUTO_INCREMENT,
username VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL,
password VARCHAR(255) NOT NULL, password VARCHAR(255) NOT NULL,
name VARCHAR(255) NOT NULL,
created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP, created_at DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, updated_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY(`id`) PRIMARY KEY(`id`),
); UNIQUE KEY(`email`)
) Engine=InnoDb;