https://github.com/zfletch/yale-courses-rss
Podcast RSS feed generator for the audio from Open Yale Courses
https://github.com/zfletch/yale-courses-rss
Last synced: 8 months ago
JSON representation
Podcast RSS feed generator for the audio from Open Yale Courses
- Host: GitHub
- URL: https://github.com/zfletch/yale-courses-rss
- Owner: zfletch
- License: mit
- Created: 2020-12-24T05:19:03.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-28T23:43:41.000Z (over 5 years ago)
- Last Synced: 2025-05-13T16:53:43.889Z (about 1 year ago)
- Language: Ruby
- Homepage: https://zfletch.github.io/yale-courses-rss/
- Size: 442 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Open Yale Courses RSS
This repository has two functions:
1. It serves as the web page for the [Open Yale Courses RSS](https://zfletch.github.io/yale-courses-rss/) podcast feed.
2. It contains the code needed to generate `rss.xml`.
See the web page linked above for information about the podcast.
The remainder of this README is about how to use the code to (re)generate `rss.xml`.
## Requirements
* Ruby ~2.7
* FFmpeg ~4.3
* Curl ~7.64
## Setup
* `bundle install`
## Scrape the OYC pages
MP3s are downloaded to the `./audio/` directory in order to calculate
their size and runtime.
The total size of the downloaded MP3s is around 50G.
If you have a small drive, you can create a link from
an external drive to `./audio/` instead of using `mkdir`.
* `mkdir audio`
Generate a JSON file with information about the courses.
* `./bin/generate_course_json.rb > courses.json`
## Generate the RSS feed
* `./bin/generate_rss.rb > rss.xml`