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

Extend search form to detect URIs #56

Open
nichtich opened this issue Dec 3, 2024 · 1 comment
Open

Extend search form to detect URIs #56

nichtich opened this issue Dec 3, 2024 · 1 comment
Labels
first-issue good issue to get started

Comments

@nichtich
Copy link
Member

nichtich commented Dec 3, 2024

The Search form ("Searching for vocabulary") should be extended to detect HTTP(S) URIs and redirect to ?uri=... for this queries. Examples:

If the search term is no URI, keep existing search functionality.

@nichtich nichtich added the first-issue good issue to get started label Dec 3, 2024
@stefandesu
Copy link
Member

From my point of view, searching for http://uri.gbv.de/terminology/bk should redirect to https://uri.gbv.de/terminology/bk itself, as long as http://uri.gbv.de/terminology/ is the configured namespace. Same with the concept URI. The ?uri=... syntax is supported, but I don't see a reason to use it in this case. (As soon as you then navigate to a different concept, it will switch to the normal URI = URL syntax anyway.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
first-issue good issue to get started
Projects
None yet
Development

No branches or pull requests

2 participants