Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quickly navigating to a particular show by number #1668

Open
tmalaher opened this issue Apr 29, 2024 · 1 comment
Open

Quickly navigating to a particular show by number #1668

tmalaher opened this issue Apr 29, 2024 · 1 comment

Comments

@tmalaher
Copy link

I was listening to an older episode (719) in my podcast player last night. I wanted to look at the show notes at my desk this morning. Last I had glanced at my podcast player and noted the episode number.

Arriving at https://syntax.fm/shows, I noted that the shows are displayed in chronological order (reverse or forward). I thought I would just use the search to jump to the right episode.

No luck. Search results were:

#762 What to Steal. Finding Inspiration in Web Development
…/@wesbos/video/7198565156853386502. * Sentry’s Date Picker - https://x.

Hovering over search result items, I noted that URLs for shows are:
https://syntax.fm/show/:id/:slug (e.g. https://syntax.fm/show/719/fullstack-typescript-apps-with-no-build-step-with-brian-leroux)
I've found that on many sites with URLs in this format the "slug" is optional, since the id is enough to uniquely determine the desired page.
E.g. https://ctvnews.ca/1.6865914 redirects to: https://www.ctvnews.ca/london-drugs-stores-remain-closed-monday-after-cybersecurity-incident-1.6865914

So I tried https://syntax.fm/show/719
No joy. This just redirects to https://syntax.fm/shows

So. Suggestions:

  1. https://syntax.fm/show/:id should redirect to the full page URL.
  2. The search engine should be able to find shows by id
@wesbos
Copy link
Collaborator

wesbos commented Apr 29, 2024

great suggestions! We do have syntax.fm/719 - but there is no way for you to know that.

I agree on both accounts, these changes should be made:

  1. The search should index the show number and show a bang on match when inputting a number
  2. syntax.fm/show/:id/:slug - the slug can be anything, but if you omit, it is gives us an error. So we need to make the slug optional. all meta tags are already in place here for the correct canonical URLS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants