Feature Request 52 Suggestion
Move the host parsing into a function, do less globbing

Didn’t intend to refactor anything, but this makes it cleaner to read
and does less work. Probably breaks on everything but the WIP shownotes,
but want feedback on the awful.
Just a whitespace tidy‐up, to calm down my yellow vim highlight
Rewrite feed script to work with new notes files

Stripped out functions we don’t need any more, along with changes to
reduce how much we hit the disk. Still does a filesize look up for each
episode which I aim to remove in a further patch…
There’s some overlap with how we process notes with both cast.php files
I would like to merge, TODO: later.
Could do with some error handling, TODO: soon.
Will likely replace header parsing with a simple foreach explode…
Replace header parsing in feed/cast.php

TODO on the main cast.php script…
Update cast.php to use new header parsing, misc tidy‐up

Used some HEREDOC to tidy up embedded HTML. TODO: do all.
Ditched some routines no longer used.
Added a TODO, while this is working it’s not identical to previous version.
Ditch that pointless one‐liner
Convert remaining embedded HTML to HEREDOC inside cast.php
Skip output of RSS entry if the audio file is missing
Don’t be so greedy, 1K ought to be enough for anyone
A typo caused mp3 file sizes not to show
Fix the positively mental formatting for note parsing
Feed is XML, so can’t use htmlentities()
Decide how we should ignore in‐progress casts

s##e##/episode.txt and other files can exist, but the head value of
PUBLISHED needs to be set to make it visible in the Feed, show the
episode in the site list and the notes on the cast page. Otherwise site
viewers just see the file link if they ‘guess’ the URL.
Obviously FILENAME needs to be set too, but that’s obvious!
Reduce whitespace in output for feeds, site. Zero cosmetic change.
Update host avatars, adding Nemoder.

I know this is terrible, see TODO.
Don’t need to do this if the cast file is missing
Remove some characters left after a clean‐up
Skip the episode if the shownote file is missing
Get latest pub date even without a shownote file