zotero/translators — pull request #305 by aurimasv (2012-04-14 04:10:14+00:00)
Title: EIDR search translator initial commit

Sample EIDR
10.5240/6F7E-EF59-329B-1F0A-8440-2
10.5240/C19F-7450-5481-F620-4C25-W

Not sure what's the best way to handle detectSearch. This translator should capture DOIs that begin with 10.5237, 10.5238, and 10.5240, but we only retrieve DOIs that begin with 10.5240, because the other two return some types that we can't store in Zotero, like producers. My approach was to return true for detection, but then throw an error inside doSearch.