lib/relaton_nist/data_fetcher.rb in relaton-nist-1.9.8 vs lib/relaton_nist/data_fetcher.rb in relaton-nist-1.9.9
- old
+ new
@@ -139,10 +139,9 @@
forename << RelatonBib::LocalizedString.new(fn, doc["language"], "Latn")
end
end
sname = p.at("surname").text
surname = RelatonBib::LocalizedString.new sname, doc["language"], "Latn"
- initial = []
ident = p.xpath("ORCID").map do |id|
RelatonBib::PersonIdentifier.new "orcid", id.text
end
fullname = RelatonBib::FullName.new(
surname: surname, forename: forename, initial: initial, identifier: ident,