Generate a self-hosted full-episodes RSS feed for APM's Live From Here.
The Live from Here radio program distributes only curated highlights in their official podcast feed, but full episodes are hosted on their website. This is a simple script to periodically scrape the site (using Puppeteer) and generate a full-episodes RSS feed that you can subscribe and listen from your preferred podcast client instead of on the website.
I host a feed at http://lifford.org/LFH-feed/feed.xml, but that's subject to removal at any time.
To host your own, you'll first need an FTP server of your own, then:
- Clone or download this repo.
- Install dependencies with
npm
oryarn
. - Open the
config-sample.json
file and fill out your details. The fields starting withFTP
are for the automatic FTP connection, and the fields after that are for the published feed. TheIMG_URL
field will need to be the final published absolute path of thelfh-cover-img.jpg
file on your server after FTP transfer. - Make sure the
index.js
file is executable on your machine. - Set up a
cron
task on your machine to run theindex.js
script at regular intervals.