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

Change LoC subauthority base urls? #325

Open
rotated8 opened this issue Aug 14, 2020 · 0 comments
Open

Change LoC subauthority base urls? #325

rotated8 opened this issue Aug 14, 2020 · 0 comments

Comments

@rotated8
Copy link
Contributor

Currently, LoC authorities use one of four base urls to limit a search to their subauthorities. These base urls start with "cs:", and produce query urls like https://id.loc.gov/search/?q=Emory&q=cs%3Ahttp%3A%2F%2Fid.loc.gov%2Fauthorities%2Fnames&format=json and https://id.loc.gov/search/?q=france&q=cs%3Ahttp%3A%2F%2Fid.loc.gov%2Fvocabulary%2Fcountries&format=json via the Loc::GenericAuthority#build_query_url function

However, cs appears to be a non-documented feature. In the docs, scheme seems to be the documented equivalent. Compare using cs and using scheme in a search for Emory against the LCNAF, and using cs and using scheme in a search for France against the MARC List for Countries.

My suggestion is to change from using cs to scheme.

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

No branches or pull requests

1 participant