Hacker Public Radio

HPR3637: HPR feed to Sqlite


Listen Later

Mailing list discussion - Source Code for the HPR website
What are the best ways to reproduce the HPR site using a static site generator.
I would like the DB to be made public, but I understand why that may not be possible
One interesting thing I read during the discussion is Ken said Every thing needed to recreate an HPR site is in the feed
Challenge accepted
A lot of my toy projects have been around RSS and podcasts
I am working on a Episode describing a project I did looking for podcasts that have podfaded.
I starting thinking about what data is in the feed and thinking through a process for using the RSS data to recreate the HPR site
Project
Link to Project https://gitlab.com/norrist/hprfeed2db
DATA pulled directly from feed
explicit
title
author_name
author_email
link
description
summary - I think this is the same as description
pubdate
enclosures
Episode ID - extracted from title - HPR2341
feedparser and peewee
full feed to SQLite specs
40 Seconds on My Machine
20M hpr.sqlite
Notably Missing from the RSS feeds
Episode Series
Episode Tags
Next steps
markdown from db info
Main page
Corespondent pages
Episode pages
comments from comments feed
Manually build other markdown for static pages
about, contributing, ...
Static site generator
I don't think the tags are in the feed data
git clone https://gitlab.com/norrist/hprfeed2db
cd hprfeed2db/
python3 -m venv venv
source venv/bin/activate
pip install feedparser peewee
python data_models.py
python feed.py
sqlite3 hpr.sqlite "select count(*) from episode"
...more
View all episodesView all episodes
Download on the App Store

Hacker Public RadioBy Hacker Public Radio

  • 4.2
  • 4.2
  • 4.2
  • 4.2
  • 4.2

4.2

34 ratings


More shows like Hacker Public Radio

View all
The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

290 Listeners

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec by Jerry Bell and Andrew Kalat

Defensive Security Podcast - Malware, Hacking, Cyber Security & Infosec

372 Listeners

LINUX Unplugged by Jupiter Broadcasting

LINUX Unplugged

268 Listeners

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast) by Johannes B. Ullrich

SANS Internet Stormcenter Daily Cyber Security Podcast (Stormcast)

651 Listeners

Curious Cases by BBC Radio 4

Curious Cases

822 Listeners

The Strong Towns Podcast by Strong Towns

The Strong Towns Podcast

422 Listeners

Late Night Linux by The Late Night Linux Family

Late Night Linux

164 Listeners

Darknet Diaries by Jack Rhysider

Darknet Diaries

8,056 Listeners

Cybersecurity Today by Jim Love

Cybersecurity Today

181 Listeners

CISO Series Podcast by David Spark, Mike Johnson, and Andy Ellis

CISO Series Podcast

189 Listeners

TechCrunch Daily Crunch by TechCrunch

TechCrunch Daily Crunch

42 Listeners

Strict Scrutiny by Crooked Media

Strict Scrutiny

5,807 Listeners

2.5 Admins by The Late Night Linux Family

2.5 Admins

98 Listeners

Cyber Security Headlines by CISO Series

Cyber Security Headlines

140 Listeners

What the Hack? by DeleteMe

What the Hack?

228 Listeners