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

Script that checks for dead BQG links and redirect them to the Syriaca Gazetteer #52

Open
davidamichelson opened this issue Dec 17, 2019 · 6 comments

Comments

@davidamichelson
Copy link

Related to #25

@wsalesky Could you please write a script that checks URIs?

Specifically, we would like the script to look for any values which are URLS and then check them against a list.

Let's discuss.

@wsalesky
Copy link
Collaborator

@wsalesky Note to self:
Valid URIs would be existing tei:idno, then check all refs.

@davidamichelson
Copy link
Author

davidamichelson commented Dec 17, 2019 via email

@davidamichelson davidamichelson added this to the Dec 18 milestone Dec 17, 2019
@wsalesky
Copy link
Collaborator

@davidamichelson
Remind me how the master list should be composed? Should it include only indo's from BQG (in which case all the ptrs to bibl records will be invalid) or should it include BQG and Syriaca.org. Or BQG and Syriaca.org bibl records only?

Thanks!

@davidamichelson
Copy link
Author

Ah, okay for now, let's just have it run this way. Please have it check all references to BQG URIs against the existing file number URIs for BQG. Does that make sense?

@davidamichelson davidamichelson modified the milestones: Dec 18, Later Dec 18, 2019
@wsalesky
Copy link
Collaborator

wsalesky commented Jan 9, 2020

This has been written, I found no bad links when I ran it.
Script here: https://github.com/srophe/util/blob/master/check-uris.xql

@wsalesky
Copy link
Collaborator

Just checking in on this script. Does it work as expected?

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

No branches or pull requests

2 participants