After spending some time cleaning up some cruft in our database, I was thinking it might be helpful to implement some more standardization, error checking and restriction to allowed values for some of the biblio fields. In particular, ISBNs and ISSNs are standardized formats; DOIs might be another candidate but it doesn't look like they follow a maxlength standard.
This would need to happen in a few places:
- The node add/edit form, both in the maxlength of the form fields and in validating the form submission
- In the database, when installing the schema and as a schema update
- In the importing process
So it's not a trivial change, but I'd be willing to work on some patches to get it going if people think it's a worthwhile improvement.
Comments
Comment #1
rjerome commentedBy all means, patch away!
I believe you are right regarding the DOIs in that AFAIK only the "10." part is standard, the rest is variable including the length. The following is from the DOI Handbook (http://doi.org/handbook_2000/appendix_1.html)
Comment #2
john bickar commentedOK, I'll take a crack at this once I get some other stuff cleared off my plate.
Do you see any benefit in doing error checking on DOI for the "10." prefix?
Comment #3
rjerome commentedThat's already being done, at least if you enter it by hand in the DOI lookup field.
Comment #4
liam morlandThis version is no longer maintained. If this issue is still relevant to the Drupal 7 version, please re-open and provide details.