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

Déduire l'URI de la ressource par son slug #636

Closed
srosset81 opened this issue Mar 8, 2021 · 3 comments
Closed

Déduire l'URI de la ressource par son slug #636

srosset81 opened this issue Mar 8, 2021 · 3 comments
Labels

Comments

@srosset81
Copy link
Contributor

Plutôt qu'avoir des URLs de type:

https://archipel.assemblee-virtuelle.org/Organization/https%3A%2F%2Fdata.virtual-assembly.org%2Forganizations%2Fassemblee_virtuelle/show

déduire l'URI du slug en fonction du container défini dans les options.

https://archipel.assemblee-virtuelle.org/Organization/assemblee_virtuelle/show

Il faut un système assez flexible pour quand même pouvoir passer un URI complète, au cas où la ressource vient d'un autre serveur.

@srosset81
Copy link
Contributor Author

We did that for Destination Oasis (https://github.com/nouvel-air/oasis)
It is mostly a frontend feature, which can be implemented by websites which need a better SEO.

@mguihal
Copy link
Contributor

mguihal commented Nov 10, 2023

Oh, I hadn't see this issue before, but that's a great news that something like this was already made for another project 😍 I've been thinking about doing this for Archipelago for a few weeks now.

How did you managed to do that for Oasis? I didn't find where is the rewrite mechanism in the linked repository

@srosset81
Copy link
Contributor Author

How did you managed to do that for Oasis? I didn't find where is the rewrite mechanism in the linked repository

https://github.com/nouvel-air/oasis/blob/master/frontoffice/src/pages/DetailsPage/DetailsPage.jsx#L31-L35

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

No branches or pull requests

3 participants