From d095d247d5af93cc17849c4946d29badf85b76c1 Mon Sep 17 00:00:00 2001 From: Dave Morriss Date: Sat, 20 Aug 2022 15:29:40 +0100 Subject: [PATCH] Explaining the show sub-directories --- Home.md | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/Home.md b/Home.md index ca041c8..896d4c9 100644 --- a/Home.md +++ b/Home.md @@ -48,6 +48,24 @@ I suggest this should go to full_shownotes.html So `ROOT/eps/hpr3648/index.html` would point to `ROOT/eps/hpr3648/full_shownotes.html` +| Dave | The issue is that, although we started with show "assets" as +`ROOT/eps/hpr1234_picture1.jpg` and the like, it was decided that we'd make a +sub-directory per show for such things: `ROOT/eps/hpr1234/picture1.jpg`. Then +because the web server is set to allow directory browsing (I think I have this +right) we realised we needed an `index.html` in that directory. I create these +as a list of the URLs of all the assets in the sub-directory, pictures, long +notes, etc. I do this when preparing pictures for shows I process as well. + +However, there's no guarantee that all shows with assets are set up with an +`index.html` if it might be needed. + +The placement of assets for shows is duplicated on the IA - or is in the +process of being copied over. + +Actually, I'm not clear why we allow directory browsing anyway, I thought most +web servers could turn this off (caveat: I used to be a web admin but in the +*very* early days, and my knowledge may be past its sell by date). + ### Home page Should have the complete list for the last 10 shows @@ -130,3 +148,6 @@ URL: https://www.hackerpublicradio.org/twat.php Do we still need this page? If so, it has broken image links, and broken permalinks (i.e. https://www.hackerpublicradio.org/show.php?ep=300) +