The site should support friendly names for hosts #34

Open
opened 2024-05-12 13:43:15 +00:00 by ken_fallon · 2 comments
Owner
When someone enters https://hackerpublicradio.org/hosts/ken_fallon the site should redirect to https://hackerpublicradio.org/correspondents/0030.html
Owner

Interesting!

I happened to be looking for a host yesterday and wondered how we could improve on what I was doing:

  • finding the Hosts link on the main menu (AboutHosts)
  • finding the person's name (using Ctrl-F)
  • clicking on the host id number link

This will require a database query I'm assuming, and it would be great if there was a means of searching with a partial name or a regular expression. That implies that if the query was too vague you'd need to say so, and ask for a more specific search.

Interesting! I happened to be looking for a host yesterday and wondered how we could improve on what I was doing: - finding the `Hosts` link on the main menu (`About` → `Hosts`) - finding the person's name (using Ctrl-F) - clicking on the host id number link This will require a database query I'm assuming, and it would be great if there was a means of searching with a partial name or a regular expression. That implies that if the query was too vague you'd need to say so, and ask for a more specific search.
Author
Owner

We could have it done via the static site that ./hosts/ken_fallon/index.html is a copy of ./correspondents/0030.html

Or via the static site where ./hosts/ken_fallon/index.html redirects to ./correspondents/0030.html using a <meta http-equiv="refresh" as described https://www.w3docs.com/snippets/html/how-to-redirect-a-web-page-in-html.html

Or to start off at least, to redirect via ModRewrite anything that goes to .hosts/ to a php page on the hub server, that would then do a redirect dynamically.

We could have it done via the static site that `./hosts/ken_fallon/index.html` is a copy of `./correspondents/0030.html` Or via the static site where `./hosts/ken_fallon/index.html` redirects to `./correspondents/0030.html` using a `<meta http-equiv="refresh" ` as described https://www.w3docs.com/snippets/html/how-to-redirect-a-web-page-in-html.html Or to start off at least, to redirect via `ModRewrite` anything that goes to `.hosts/` to a php page on the hub server, that would then do a redirect dynamically.
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: HPR/hpr_hub#34
No description provided.