Archived
4
2

Update 'Home'

Ken Fallon 2022-08-09 13:59:18 +00:00
parent 7b2d6108dc
commit 17eb16138e

46
Home.md

@ -17,33 +17,17 @@ Is this still needed ?
`hpr.eps.notes` should be templated to
Going to `ROOT/eps/hpr\d+/index.html`
Going to `ROOT/episodes/hpr\d+/index.html` with padding
### option 1 - no padding
not sure I like this
```
ROOT/eps/hpr1/index.html
ROOT/eps/hpr21/index.html
ROOT/eps/hpr321/index.html
ROOT/eps/hpr4321/index.html
ROOT/episodes/hpr0001/index.html
ROOT/episodes/hpr0021/index.html
ROOT/episodes/hpr0321/index.html
ROOT/episodes/hpr4321/index.html
```
### option 2 - with padding
is this better
```
ROOT/eps/hpr0001/index.html
ROOT/eps/hpr0021/index.html
ROOT/eps/hpr0321/index.html
ROOT/eps/hpr4321/index.html
```
What happens when we hit ?
`ROOT/eps/hpr10000/index.html`
## Existing shows
More urgent is what we do with existing "full shownotes files" already on the HPR service in the index.html space ?
@ -101,3 +85,21 @@ It might be possible to use normalised series names for this eg: April Fools Sho
* stuff_you_need_to_know.php - Info
* syndication.php - Get Shows
* theme.php - Theme
### Naming schemes
#### use title
This gets a little trickier as we have to sanitize file/directory names for saving to filesystems (similar issue for using host names). It is also possible to get duplicate titles. Duplicate titles could be avoided by adding the publishing date in the url/file system path.
**more to come ...**
## Host Pages
What is the difference between a host and a correspondent? Is this just an historical relic?
Should the routes be `ROOT/hosts/...` or `ROOT/correspondents/...`?