29 lines
947 B
Markdown
29 lines
947 B
Markdown
# EZ RSS
|
|
|
|
This is a script that takes an MP4 file and turns it into two RSS feeds and a
|
|
simple HTML file.
|
|
|
|
Title and description are added to the file metadata.
|
|
|
|
Files are in order that you ran the script. So, if you run the script on a
|
|
file more than once, it will change the publish date which may cause chaos.
|
|
This could be improved but keeping it simple for now.
|
|
|
|
## Usage
|
|
|
|
This program requires ffmpeg and exiftool to be installed. It works under Linux
|
|
and MacOS.
|
|
|
|
copy env.example to .env and modify it as needed. Navigate to directory in
|
|
shell.
|
|
|
|
Create a "public_html" directory, or change .env to point to where you want the
|
|
files dumped.
|
|
|
|
Somewhere on your filesystem you should have an .mp4 file. The filename should
|
|
be: whatever1.mp4 where whatever can be anything, and 1 is the episode number.
|
|
Your file will be copied to the new location.
|
|
|
|
```shell
|
|
./publish.sh some_mp4_file_somewhere1.mp4 "Here is a description of this episode"
|
|
``` |