-
Notifications
You must be signed in to change notification settings - Fork 40
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
When retrieving a remote index for replay, validate the cdxj syntax #86
Comments
I'm guessing one does not exist given the query for "cdxj" in pypi directs the user to ipwb. |
Or rather, the functionality of pywb could be reused since, y'know, we are already using that very module. |
On a second look, it does not appear that pywb has any sort of CDXJ validation. There is a |
Started on this and wrote tests in branch issue-86 but broke something where even sample cdxj won't validate. Will fix here before merging. |
No, we don't have any (E)BNF for CDXJ yet, but we will. |
Use https://github.com/oduwsdl/ORS/wiki/CDXJ as a basis, except there is a newer version that has a different symbol (# ?) at the start of the metadata line. Does a library or explicit BNF exist for this @ibnesayeed ? This might work better as its own Py library to be utilized elsewhere, too.
The text was updated successfully, but these errors were encountered: