lib/bolognese/readers/schema_org_reader.rb in bolognese-0.11.7 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-0.12

- old
+ new

@@ -65,13 +65,12 @@ "citeproc_type" => Bolognese::Utils::SO_TO_CP_TRANSLATIONS[type] || "article-journal", "bibtex_type" => Bolognese::Utils::SO_TO_BIB_TRANSLATIONS[type] || "misc", "ris_type" => Bolognese::Utils::SO_TO_RIS_TRANSLATIONS[resource_type_general.to_s.dasherize] || "GEN", "resource_type_general" => resource_type_general, "doi" => validate_doi(id), - "identifier" => id, + "identifier" => meta.fetch("identifier", nil), "b_url" => normalize_id(meta.fetch("url", nil)), "title" => meta.fetch("name", nil), - "alternate_name" => meta.fetch("alternateName", nil), "author" => author, "editor" => editor, "publisher" => publisher, "service_provider" => meta.fetch("provider", nil), "is_identical_to" => schema_org_is_identical_to(meta),