lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.89 vs lib/bolognese/readers/schema_org_reader.rb in bolognese-0.9.91

- old
+ new

@@ -49,11 +49,11 @@ "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), - "url" => normalize_id(meta.fetch("url", nil)), + "b_url" => normalize_id(meta.fetch("url", nil)), "title" => meta.fetch("name", nil), "alternate_name" => meta.fetch("alternateName", nil), "author" => author, "publisher" => meta.dig("publisher", "name"), "service_provider" => meta.fetch("provider", nil), @@ -67,10 +67,10 @@ "date_created" => meta.fetch("dateCreated", nil), "date_published" => date_published, "date_modified" => meta.fetch("dateModified", nil), "description" => meta.fetch("description", nil).present? ? { "text" => sanitize(meta.fetch("description")) } : nil, "license" => { "id" => meta.fetch("license", nil) }, - "version" => meta.fetch("version", nil), + "b_version" => meta.fetch("version", nil), "keywords" => meta.fetch("keywords", nil).to_s.split(", "), "state" => state } end