-
Notifications
You must be signed in to change notification settings - Fork 1
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
Speaker URLs include custom id instead of slug #46
Comments
On Wed, Dec 27, 2023 at 09:44:57AM -0800, Christophe Beyls wrote:
The speaker URLs now look like this:
[1]https://fosdem.org/2024/schedule/speaker/**WBPJSF**/
Before, they looked like this:
[2]https://fosdem.org/2023/schedule/speaker/**richard_hartmann**/
Is it possible to revert to having a slug instead of a custom id?
Of course - these things aren't meant to be changing so you're right
to ask for it to be fixed (or to send a patch if you have time to
look at it yourself before any of us do).
|
Does the Id have to be numerical? It seems more logical to include the slug
as Id. It would also solve that you have to guess which algorithm is used
to generate the slug.
Op wo 27 dec 2023 19:11 schreef Alasdair G. Kergon ***@***.***
…:
On Wed, Dec 27, 2023 at 09:44:57AM -0800, Christophe Beyls wrote:
> The speaker URLs now look like this:
> [1]https://fosdem.org/2024/schedule/speaker/**WBPJSF**/
> Before, they looked like this:
> [2]https://fosdem.org/2023/schedule/speaker/**richard_hartmann**/
> Is it possible to revert to having a slug instead of a custom id?
Of course - these things aren't meant to be changing so you're right
to ask for it to be fixed (or to send a patch if you have time to
look at it yourself before any of us do).
—
Reply to this email directly, view it on GitHub
<#46 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAGUAUUFWKVB6SR4PGCHA6TYLRPTHAVCNFSM6AAAAABBETIOLGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZQGUZDAOBSGM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
On Wed, Dec 27, 2023 at 11:33:31AM -0800, Johan Van de Wauw wrote:
Does the Id have to be numerical? It seems more logical to include the
slug
as Id. It would also solve that you have to guess which algorithm is used
to generate the slug.
The URLs on our website that people may want to access or link to directly need
to remain human-readable and interpretable. The one for the speaker needs
to continue to use a slug based on the speaker's name.
|
To clarify:
Excerpt from the XSD:
This doesn't mean we are not allowed to add our own extra fields in addition to the standard, like the slug, the full person URL, maybe even the person's bio. But this is probably out of scope for now, so let's stick to compatibility first. By the way, I submitted another pending pull request to level up the XML schedule file's compatibility with Pretalx while preserving backwards-compatibility. |
Checked the old implementation in penta and will change the speaker slug that we export. |
I found a few duplicate speakers with the same name and different ids: Adolfo García Veytia Franck Pachot Matias Vara Larsen Nathan Skrzypczak Stephen Chin |
It appears this will not be fixed for this year's edition. |
I may still fix it for speakers, but not for talks, because too many references have been made to the long names. |
refrained from changing this at this point (because people have published links in too many places). |
No problem, let's fix it for 2025 |
The speaker URLs now look like this:
https://fosdem.org/2024/schedule/speaker/WBPJSF/
Before, they looked like this:
https://fosdem.org/2023/schedule/speaker/richard_hartmann/
Is it possible to revert to having a slug instead of a custom id?
It currently causes an issue for my app, since I'm transforming the speaker name to a slug in order to generate the speaker URL. Ideally, that URL should be part of of the schedule XML but it's not yet the case, so relying on slugs is my only alternative to be able to open the speaker details in a browser.
Alternatively, the numerical id of the speaker (present in the schedule XML file) should be able to be used to generate an URL that redirects to the proper URL, if that's possible to do. Otherwise, I'll have to remove that feature.
The text was updated successfully, but these errors were encountered: