Opened 9 years ago
Closed 9 years ago
#753 closed enhancement (fixed)
Change language link prefix into a URL template in vlo configuration
Reported by: | Twan Goosen | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | VLO-3.2 |
Component: | VLO web app | Version: | |
Keywords: | configuration | Cc: | Sander Maijers, teckart@informatik.uni-leipzig.de |
Description
I retrieved the following request from Sander:
...can you change the VLO, where it produces URLs of the form http://infra.clarin.eu/service/language/info.php?code={language_code} to make it produce those of the form https://infra.clarin.eu/content/language_info/data/{language_code}.html? The old URLs still work, but I'm keen to take them down.
At the moment (VLO 3.1) this can NOT be done because this URL is defined as follows:
<languageLinkPrefix>http://infra.clarin.eu/service/language/info.php?code</languageLinkPrefix>
The web app just appends the language code, so it has to be the last part of the URL.
To make the desired reconfiguration possible, replace this with a new configuration parameter that defines a URL template, i.e. has a placeholder for the language code. This could look like this:
<languageLinkTemplate>https://infra.clarin.eu/content/language_info/data/{}.html</languageLinkTemplate>
(or whatever placeholder syntax makes sense)
Change History (2)
comment:1 Changed 9 years ago by
Cc: | teckart@informatik.uni-leipzig.de added |
---|
comment:2 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Fixed in r6193